fixed missing names for extended keys in win/input configuration dialogs
This commit is contained in:
parent
d26ed7f39f
commit
4a9b0d734e
|
@ -44,7 +44,7 @@
|
|||
|
||||
|
||||
// main
|
||||
#define KEY_MASK_SCANCODE 0xFF0000
|
||||
#define KEY_MASK_SCANCODE 0x7F0000
|
||||
#define KEY_MASK_EXTBIT 0x1000000
|
||||
#define BTNNUM_TO_WINCODE(num) (((num << 16) & KEY_MASK_SCANCODE) | ((num << 17) & KEY_MASK_EXTBIT))
|
||||
#define WINCODE_TO_BTNNUM(cod) (((cod & KEY_MASK_SCANCODE) >> 16) | ((cod & KEY_MASK_EXTBIT) >> 17))
|
||||
|
|
Loading…
Reference in New Issue