afrantzis / bless

Bless - Gtk# Hex Editor
GNU General Public License v2.0
210 stars 38 forks source link

Alternative keys from numeric keypad are not recognized #54

Open superbonaci opened 1 year ago

superbonaci commented 1 year ago

Some computers have a keypad (number keypad) with alternative keys which can be enabled/disabled with Fn key or Num Lock key.

bless version is 0.6.3. All values are reported by xev.

Recognized keys:

KeyPress event, serial 40, synthetic NO, window 0x6e00001,
    root 0x1c7, subw 0x0, time 7816780, (91,20), root:(962,473),
    state 0x0, keycode 117 (keysym 0xff56, Next), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 41, synthetic NO, window 0x6e00001,
    root 0x1c7, subw 0x0, time 7816858, (91,20), root:(962,473),
    state 0x0, keycode 117 (keysym 0xff56, Next), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 42, synthetic NO, window 0x6e00001,
    root 0x1c7, subw 0x0, time 7832510, (91,20), root:(962,473),
    state 0x0, keycode 112 (keysym 0xff55, Prior), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 43, synthetic NO, window 0x6e00001,
    root 0x1c7, subw 0x0, time 7832616, (91,20), root:(962,473),
    state 0x0, keycode 112 (keysym 0xff55, Prior), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x6000001,
    root 0x1c7, subw 0x0, time 20764777, (-186,377), root:(685,830),
    state 0x0, keycode 110 (keysym 0xff50, Home), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 41, synthetic NO, window 0x6000001,
    root 0x1c7, subw 0x0, time 20764867, (-186,377), root:(685,830),
    state 0x0, keycode 110 (keysym 0xff50, Home), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 42, synthetic NO, window 0x6000001,
    root 0x1c7, subw 0x0, time 20772655, (-186,377), root:(685,830),
    state 0x0, keycode 115 (keysym 0xff57, End), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 43, synthetic NO, window 0x6000001,
    root 0x1c7, subw 0x0, time 20772769, (-186,377), root:(685,830),
    state 0x0, keycode 115 (keysym 0xff57, End), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 44, synthetic NO, window 0x6000001,
    root 0x1c7, subw 0x0, time 20777145, (-186,377), root:(685,830),
    state 0x0, keycode 118 (keysym 0xff63, Insert), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 45, synthetic NO, window 0x6000001,
    root 0x1c7, subw 0x0, time 20777251, (-186,377), root:(685,830),
    state 0x0, keycode 118 (keysym 0xff63, Insert), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 46, synthetic NO, window 0x6000001,
    root 0x1c7, subw 0x0, time 20790461, (-186,377), root:(685,830),
    state 0x0, keycode 119 (keysym 0xffff, Delete), same_screen YES,
    XLookupString gives 1 bytes: (7f) ""
    XmbLookupString gives 1 bytes: (7f) ""
    XFilterEvent returns: False

KeyRelease event, serial 47, synthetic NO, window 0x6000001,
    root 0x1c7, subw 0x0, time 20790570, (-186,377), root:(685,830),
    state 0x0, keycode 119 (keysym 0xffff, Delete), same_screen YES,
    XLookupString gives 1 bytes: (7f) ""
    XFilterEvent returns: False

Not recognized keys:

KeyPress event, serial 41, synthetic NO, window 0x6e00001,
    root 0x1c7, subw 0x0, time 7821832, (91,20), root:(962,473),
    state 0x0, keycode 89 (keysym 0xff9b, KP_Next), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 42, synthetic NO, window 0x6e00001,
    root 0x1c7, subw 0x0, time 7821920, (91,20), root:(962,473),
    state 0x0, keycode 89 (keysym 0xff9b, KP_Next), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 43, synthetic NO, window 0x6e00001,
    root 0x1c7, subw 0x0, time 7833313, (91,20), root:(962,473),
    state 0x0, keycode 81 (keysym 0xff9a, KP_Prior), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 44, synthetic NO, window 0x6e00001,
    root 0x1c7, subw 0x0, time 7833403, (91,20), root:(962,473),
    state 0x0, keycode 81 (keysym 0xff9a, KP_Prior), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 41, synthetic NO, window 0x6000001,
    root 0x1c7, subw 0x0, time 20767064, (-186,377), root:(685,830),
    state 0x0, keycode 79 (keysym 0xff95, KP_Home), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 42, synthetic NO, window 0x6000001,
    root 0x1c7, subw 0x0, time 20767172, (-186,377), root:(685,830),
    state 0x0, keycode 79 (keysym 0xff95, KP_Home), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 43, synthetic NO, window 0x6000001,
    root 0x1c7, subw 0x0, time 20773716, (-186,377), root:(685,830),
    state 0x0, keycode 87 (keysym 0xff9c, KP_End), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 44, synthetic NO, window 0x6000001,
    root 0x1c7, subw 0x0, time 20773803, (-186,377), root:(685,830),
    state 0x0, keycode 87 (keysym 0xff9c, KP_End), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 45, synthetic NO, window 0x6000001,
    root 0x1c7, subw 0x0, time 20779793, (-186,377), root:(685,830),
    state 0x0, keycode 90 (keysym 0xff9e, KP_Insert), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 46, synthetic NO, window 0x6000001,
    root 0x1c7, subw 0x0, time 20779903, (-186,377), root:(685,830),
    state 0x0, keycode 90 (keysym 0xff9e, KP_Insert), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 47, synthetic NO, window 0x6000001,
    root 0x1c7, subw 0x0, time 20791625, (-186,377), root:(685,830),
    state 0x0, keycode 91 (keysym 0xff9f, KP_Delete), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 48, synthetic NO, window 0x6000001,
    root 0x1c7, subw 0x0, time 20791711, (-186,377), root:(685,830),
    state 0x0, keycode 91 (keysym 0xff9f, KP_Delete), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False