On Wed, Aug 24, 2022 at 05:58:28PM -0400, Jack wrote

> Ah - I expect the game is interpreting keycodes fairly directly.  You  
> can use xev (or similar) to find what the various keys are currently  
> producing, and there must be some (Xorg related) program to translate  
> them to whatever the program is expecting - perhaps determined by using  
> xev with a "proper" keyboard.

  1..9 on a real keyboard numeric keypad.  The "XLookupString" line
tells you which key is pressed.  I think the "keycode" entry is what is
being acted on by the game.  Google seems to indicate that setxkbmap is
what I need,  Once I emerge it, then what?

KeyPress event, serial 38, synthetic NO, window 0x1000001,
    root 0x76b, subw 0x0, time 2031605618, (-448,387), root:(368,623),
    state 0x10, keycode 87 (keysym 0xffb1, KP_1), same_screen YES,
    XLookupString gives 1 bytes: (31) "1"
    XmbLookupString gives 1 bytes: (31) "1"
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x1000001,
    root 0x76b, subw 0x0, time 2031605778, (-448,387), root:(368,623),
    state 0x10, keycode 87 (keysym 0xffb1, KP_1), same_screen YES,
    XLookupString gives 1 bytes: (31) "1"
    XFilterEvent returns: False

KeyPress event, serial 38, synthetic NO, window 0x1000001,
    root 0x76b, subw 0x0, time 2031650802, (105,320), root:(921,556),
    state 0x10, keycode 88 (keysym 0xffb2, KP_2), same_screen YES,
    XLookupString gives 1 bytes: (32) "2"
    XmbLookupString gives 1 bytes: (32) "2"
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x1000001,
    root 0x76b, subw 0x0, time 2031650962, (105,320), root:(921,556),
    state 0x10, keycode 88 (keysym 0xffb2, KP_2), same_screen YES,
    XLookupString gives 1 bytes: (32) "2"
    XFilterEvent returns: False

KeyPress event, serial 38, synthetic NO, window 0x1000001,
    root 0x76b, subw 0x0, time 2031840786, (76,301), root:(892,537),
    state 0x10, keycode 89 (keysym 0xffb3, KP_3), same_screen YES,
    XLookupString gives 1 bytes: (33) "3"
    XmbLookupString gives 1 bytes: (33) "3"
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x1000001,
    root 0x76b, subw 0x0, time 2031840946, (76,301), root:(892,537),
    state 0x10, keycode 89 (keysym 0xffb3, KP_3), same_screen YES,
    XLookupString gives 1 bytes: (33) "3"
    XFilterEvent returns: False

KeyPress event, serial 38, synthetic NO, window 0x1000001,
    root 0x76b, subw 0x0, time 2031846434, (76,301), root:(892,537),
    state 0x10, keycode 83 (keysym 0xffb4, KP_4), same_screen YES,
    XLookupString gives 1 bytes: (34) "4"
    XmbLookupString gives 1 bytes: (34) "4"
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x1000001,
    root 0x76b, subw 0x0, time 2031846594, (76,301), root:(892,537),
    state 0x10, keycode 83 (keysym 0xffb4, KP_4), same_screen YES,
    XLookupString gives 1 bytes: (34) "4"
    XFilterEvent returns: False

KeyPress event, serial 38, synthetic NO, window 0x1000001,
    root 0x76b, subw 0x0, time 2031849730, (76,301), root:(892,537),
    state 0x10, keycode 84 (keysym 0xffb5, KP_5), same_screen YES,
    XLookupString gives 1 bytes: (35) "5"
    XmbLookupString gives 1 bytes: (35) "5"
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x1000001,
    root 0x76b, subw 0x0, time 2031849874, (76,301), root:(892,537),
    state 0x10, keycode 84 (keysym 0xffb5, KP_5), same_screen YES,
    XLookupString gives 1 bytes: (35) "5"
    XFilterEvent returns: False

KeyPress event, serial 38, synthetic NO, window 0x1000001,
    root 0x76b, subw 0x0, time 2031852754, (76,301), root:(892,537),
    state 0x10, keycode 85 (keysym 0xffb6, KP_6), same_screen YES,
    XLookupString gives 1 bytes: (36) "6"
    XmbLookupString gives 1 bytes: (36) "6"
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x1000001,
    root 0x76b, subw 0x0, time 2031852914, (76,301), root:(892,537),
    state 0x10, keycode 85 (keysym 0xffb6, KP_6), same_screen YES,
    XLookupString gives 1 bytes: (36) "6"
    XFilterEvent returns: False

KeyPress event, serial 38, synthetic NO, window 0x1000001,
    root 0x76b, subw 0x0, time 2031960290, (74,286), root:(890,522),
    state 0x10, keycode 79 (keysym 0xffb7, KP_7), same_screen YES,
    XLookupString gives 1 bytes: (37) "7"
    XmbLookupString gives 1 bytes: (37) "7"
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x1000001,
    root 0x76b, subw 0x0, time 2031960418, (74,286), root:(890,522),
    state 0x10, keycode 79 (keysym 0xffb7, KP_7), same_screen YES,
    XLookupString gives 1 bytes: (37) "7"
    XFilterEvent returns: False

KeyPress event, serial 38, synthetic NO, window 0x1000001,
    root 0x76b, subw 0x0, time 2031963218, (74,286), root:(890,522),
    state 0x10, keycode 80 (keysym 0xffb8, KP_8), same_screen YES,
    XLookupString gives 1 bytes: (38) "8"
    XmbLookupString gives 1 bytes: (38) "8"
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x1000001,
    root 0x76b, subw 0x0, time 2031963378, (74,286), root:(890,522),
    state 0x10, keycode 80 (keysym 0xffb8, KP_8), same_screen YES,
    XLookupString gives 1 bytes: (38) "8"
    XFilterEvent returns: False

KeyPress event, serial 38, synthetic NO, window 0x1000001,
    root 0x76b, subw 0x0, time 2031966946, (74,286), root:(890,522),
    state 0x10, keycode 81 (keysym 0xffb9, KP_9), same_screen YES,
    XLookupString gives 1 bytes: (39) "9"
    XmbLookupString gives 1 bytes: (39) "9"
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x1000001,
    root 0x76b, subw 0x0, time 2031967074, (74,286), root:(890,522),
    state 0x10, keycode 81 (keysym 0xffb9, KP_9), same_screen YES,
    XLookupString gives 1 bytes: (39) "9"
    XFilterEvent returns: False


-- 
Walter Dnes <waltd...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Reply via email to