<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Nacho,<br>
<br>
On 2/22/2023 9:28 AM, Ignacio Sniechowski via Cuis-dev wrote:
<blockquote
cite="mid:CAMCzT-Y5P6dEXyUOF-id26hnDp_HnzP0okQ3xbHFYG1p99Y2fg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family: monospace;
font-size: large;">Hi Hernán!</div>
<div class="gmail_default" style="font-family: monospace;
font-size: large;">How are you?</div>
<div class="gmail_default" style="font-family: monospace;
font-size: large;">Thanks for clarifying that! Now it makes
sense.</div>
<div class="gmail_default" style="font-family: monospace;
font-size: large;">Yes, and the other shortcut that does not
work in Spanish keyboard is Cmd-< and I think it is,
probably for the same reason that Cmd-" does not work.</div>
<div class="gmail_default" style="font-family: monospace;
font-size: large;">Thanks for your prompt response</div>
<div class="gmail_default" style="font-family: monospace;
font-size: large;">Nacho</div>
<div class="gmail_default" style="font-family: monospace;
font-size: large;"><br>
</div>
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><b><font size="2">Ignacio
Sniechowski</font></b><b><br>
</b></div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
The problem here is, unfortunately, in the Mac VM. Evaluate `Sensor
kbdTest`<br>
<br>
Try pressing [2]. It works as expected.<br>
Now do [Shift][2]. You get (I guess) $" . On my US keyboard, I get
$@. OK.<br>
Now do [Command][2]. Still OK. You get $2, with 'macCommand/winAlt'
modifier.<br>
Now do [Command][Shift][2]. Now this is a problem. You get $2 with
the correct modifiers, but not $" or $@. The VM doesn't give us the
real meaning of the keystroke. Without knowing the keyboard layout
there's no way to know.<br>
(now press [x] to exit).<br>
<br>
For these incorrectly reported events, the best I could do from the
image side, is to assume a US keyboard.<br>
Perhaps we could add some configuration file, where we can say
'[Shift][2] means $", not $@' or such. We'd need to do a survey of
various keyboard layouts, etc.<br>
<br>
If you want to see this mess in all its "glory", take a look at
#generateKeyboardEvent:<br>
<br>
Thanks,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich</pre>
</body>
</html>