Re: [AD] Keyboard: "delete/dot" key on keypad return unknown scancode under Windows

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]



you sure about that?

i have 0x6D listed as  MINUS.. also known as  VK_SUBTRACT

VK_DECIMAL  (the dot/delete key)   is  0x6E






On 29/06/2011 7:17 AM, Omar Cornut wrote:
I tested this on three computers, pressing the "del/dot" key on a keypad
return keycode 123 to the user which is undefined+16 in Allegro's keycodes.h

The patch for wkeyboard.c is:

-   /* 0x6C */    ALLEGRO_KEY_UNKNOWN+15,  ALLEGRO_KEY_PAD_MINUS,
ALLEGRO_KEY_UNKNOWN+16,     ALLEGRO_KEY_PAD_SLASH,

+   /* 0x6C */    ALLEGRO_KEY_UNKNOWN+15,  ALLEGRO_KEY_PAD_MINUS,
ALLEGRO_KEY_PAD_DELETE,     ALLEGRO_KEY_PAD_SLASH,

Regards.
Omar

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/