[AD] Keyboard: "delete/dot" key on keypad return unknown scancode under Windows |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Allegro Development <alleg-developers@xxxxxxxxxx>
- Subject: [AD] Keyboard: "delete/dot" key on keypad return unknown scancode under Windows
- From: Omar Cornut <omar@xxxxxxxxxx>
- Date: Tue, 28 Jun 2011 22:17:41 +0100
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