[Vm-dev] [Windows cog vm] [Keyboard events related] about keycode mapping

Guillermo Polito guillermopolito at gmail.com
Thu Jan 26 21:47:10 UTC 2012


On Thu, Jan 26, 2012 at 6:43 PM, Andreas Raab <andreas.raab at gmx.de> wrote:

>
>  On 1/26/2012 22:30, Guillermo Polito wrote:
>
>
>
>
> On Thu, Jan 26, 2012 at 4:45 PM, Andreas Raab <andreas.raab at gmx.de> wrote:
>
>>
>> On 1/26/2012 17:00, Igor Stasenko wrote:
>>
>>>
>>> Guillermo,
>>> please make the functional keys working on windows. thanks :)
>>>
>>
>>  The function keys work perfectly fine on Windows. You need to handle the
>> keyDown events with the proper VK_FXX values, ranging from 0x70 (F1)
>> through 0x87 (F24).
>>
>
> True.  But it would be good if the codes reaching the image for the same
> function keys are the same :).  But for that there should be a discussion
> about how to arrange the keycodes to suite the three platforms.
>
>
> We had this discussion already. There was general agreement that probably
> the best way to do this would be based on the X11/keysym.h because it seems
> to be the most complete source for key codes. It's just that that nobody
> sat down and wrote the mapping from VK_XXX to XK_YYY.
>

Hmm, that would be good, I'll have a look tomorrow :).  Thanks!


>
> Cheers,
>   - Andreas
>
>
Guille
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20120126/c23c9d3a/attachment.htm


More information about the Vm-dev mailing list