Actually define the contents of one of the tables

pull/16/head
Hamish Coleman 7 years ago
parent 9e8da993ed
commit b8897ace9a

@ -1,6 +1,8 @@
%define orig_bin "x230.G2HT35WW.img"
%include "ec_keysym.mac"
; include orig_bin from $ for size $1
%macro ib 1
incbin orig_bin,$,%1
@ -298,8 +300,8 @@ table_numpad2:
; FIXME - add in the definitions
ib 0x00021898 - 0x00021858
table_keysym_replacements:
; FIXME - add in the definitions
ib 0x000218bc - 0x00021898
%include "ec_key_combo1_x220.mac"
table_ptr_numpad_stuff:
dd 0xb2 ; size of next table
dd table.000216b4

@ -0,0 +1,19 @@
;
; This is the "simple" Fn+key replacement table
;
; Values are for the original x220 keyboard
; Fn+THIS replaced with shift state?
db KEY_PRINT, KEY_SYSRQ, 1
db KEY_SCROLLLOCK, KEY_NUMLOCK, 0
db KEY_PAUSE, KEY_BREAK, 2
db KEY_LEFT, KEY_PREVIOUSSONG, 0
db KEY_UP, KEY_STOPCD, 0
db KEY_DOWN, KEY_PLAYPAUSE, 0
db KEY_RIGHT, KEY_NEXTSONG, 0
db 0,0,0
db 0x9e,0x9e,0 ; FIXME
db 0x9f,0x9f,0 ; FIXME
db 0x4a,0x4a,0 ; FIXME
db 0,0,0

@ -0,0 +1,20 @@
;
; This is the "simple" Fn+key replacement table
;
; Values are for the original x230 keyboard
; Fn+THIS replaced with shift state?
db KEY_F10, KEY_PREVIOUSSONG, 0
db KEY_F11, KEY_PLAYPAUSE, 0
db KEY_F12, KEY_NEXTSONG, 0
db KEY_B, KEY_BREAK, 2
db KEY_S, KEY_SYSRQ, 1
db KEY_K, KEY_SCROLLLOCK, 0
db KEY_P, KEY_PAUSE, 0
db 0,0,0
db 0x9e,0x9e,0 ; FIXME
db 0x9f,0x9f,0 ; FIXME
db 0x4a,0x4a,0 ; FIXME
db 0,0,0
Loading…
Cancel
Save