Define the virtual numpad key replacements in asm code

pull/16/head
Hamish Coleman 7 years ago
parent aa6c8e6434
commit 17c74f2be6

@ -302,12 +302,10 @@ table.000216b4:
ib 0x00021818 - 0x000216b4
table_numpad1:
; FIXME - add in the definitions
ib 0x00021858 - 0x00021818
%include "ec_key_numpad1.mac"
table_numpad2:
; FIXME - add in the definitions
ib 0x00021898 - 0x00021858
%include "ec_key_numpad2.mac"
table_fn_combo1:
%include "ec_key_combo1_x220.mac"

@ -0,0 +1,14 @@
;
; The virtual numberpad.
;
times 8 db 0
db KEY_KP7, KEY_KP8, KEY_KP9, KEY_KPSLASH
times 11 db 0
db KEY_KP4, KEY_KP5, KEY_KP6, KEY_KPASTERISK, KEY_KPENTER
times 9 db 0
db KEY_KP1, KEY_KP2, KEY_KP3, KEY_KPMINUS
times 11 db 0
db KEY_KP0, 0, KEY_KPDOT, KEY_KPPLUS
times 8 db 0

@ -0,0 +1,16 @@
;
; The virtual numberpad.
;
times 8 db 0
db KEY_KP7, KEY_KP8, KEY_KP9, KEY_KPSLASH
times 11 db 0
db KEY_KP4, KEY_KP5, KEY_KP6, KEY_KPASTERISK
times 10 db 0
db KEY_KP1, KEY_KP2, KEY_KP3, KEY_KPMINUS
times 2 db 0
db KEY_KPENTER
times 8 db 0
db KEY_KP0, 0, KEY_KPDOT, KEY_KPPLUS
times 8 db 0
Loading…
Cancel
Save