AlynxZhou / showmethekey

Show keys you typed on screen.
https://showmethekey.alynx.one/
Apache License 2.0
329 stars 26 forks source link

Fails to display non-standard buttons #38

Open Martmists-GH opened 9 months ago

Martmists-GH commented 9 months ago

These include:

AlynxZhou commented 9 months ago

Actually the problem is I don't have those keys on my computer, do you mean they are ignored totally? Please provide some screenshots.

Martmists-GH commented 9 months ago

As in, I can press the buttons on my keyboard/mouse/etc, I can use them in (some, not all) games, but showmethekey does not display them like it does with other keys.

AlynxZhou commented 6 months ago

Please run sudo showmethekey-cli in terminal, and then press all keys you mentioned one by one, and copy the output and paste it here.

Martmists-GH commented 6 months ago
{"event_name": "KEYBOARD_KEY", "event_type": 300, "time_stamp": 15700123, "key_name": "KEY_PLAYPAUSE", "key_code": 164, "state_name": "PRESSED", "state_code": 1}
{"event_name": "KEYBOARD_KEY", "event_type": 300, "time_stamp": 15700240, "key_name": "KEY_PLAYPAUSE", "key_code": 164, "state_name": "RELEASED", "state_code": 0}
{"event_name": "KEYBOARD_KEY", "event_type": 300, "time_stamp": 15702866, "key_name": "KEY_PREVIOUSSONG", "key_code": 165, "state_name": "PRESSED", "state_code": 1}
{"event_name": "KEYBOARD_KEY", "event_type": 300, "time_stamp": 15702927, "key_name": "KEY_PREVIOUSSONG", "key_code": 165, "state_name": "RELEASED", "state_code": 0}
{"event_name": "KEYBOARD_KEY", "event_type": 300, "time_stamp": 15703714, "key_name": "KEY_NEXTSONG", "key_code": 163, "state_name": "PRESSED", "state_code": 1}
{"event_name": "KEYBOARD_KEY", "event_type": 300, "time_stamp": 15703769, "key_name": "KEY_NEXTSONG", "key_code": 163, "state_name": "RELEASED", "state_code": 0}
{"event_name": "KEYBOARD_KEY", "event_type": 300, "time_stamp": 15704367, "key_name": "KEY_VOLUMEUP", "key_code": 115, "state_name": "PRESSED", "state_code": 1}
{"event_name": "KEYBOARD_KEY", "event_type": 300, "time_stamp": 15704420, "key_name": "KEY_VOLUMEUP", "key_code": 115, "state_name": "RELEASED", "state_code": 0}
{"event_name": "KEYBOARD_KEY", "event_type": 300, "time_stamp": 15704864, "key_name": "KEY_VOLUMEDOWN", "key_code": 114, "state_name": "PRESSED", "state_code": 1}
{"event_name": "KEYBOARD_KEY", "event_type": 300, "time_stamp": 15704935, "key_name": "KEY_VOLUMEDOWN", "key_code": 114, "state_name": "RELEASED", "state_code": 0}
{"event_name": "KEYBOARD_KEY", "event_type": 300, "time_stamp": 15706160, "key_name": "KEY_MUTE", "key_code": 113, "state_name": "PRESSED", "state_code": 1}
{"event_name": "KEYBOARD_KEY", "event_type": 300, "time_stamp": 15706227, "key_name": "KEY_MUTE", "key_code": 113, "state_name": "RELEASED", "state_code": 0}
{"event_name": "POINTER_BUTTON", "event_type": 402, "time_stamp": 15714643, "key_name": "BTN_TASK", "key_code": 279, "state_name": "PRESSED", "state_code": 1}
{"event_name": "POINTER_BUTTON", "event_type": 402, "time_stamp": 15714767, "key_name": "BTN_TASK", "key_code": 279, "state_name": "RELEASED", "state_code": 0}
{"event_name": "POINTER_BUTTON", "event_type": 402, "time_stamp": 15715898, "key_name": "(null)", "key_code": 280, "state_name": "PRESSED", "state_code": 1}
{"event_name": "POINTER_BUTTON", "event_type": 402, "time_stamp": 15716024, "key_name": "(null)", "key_code": 280, "state_name": "RELEASED", "state_code": 0}
{"event_name": "POINTER_BUTTON", "event_type": 402, "time_stamp": 15722622, "key_name": "(null)", "key_code": 281, "state_name": "PRESSED", "state_code": 1}
{"event_name": "POINTER_BUTTON", "event_type": 402, "time_stamp": 15722747, "key_name": "(null)", "key_code": 281, "state_name": "RELEASED", "state_code": 0}
{"event_name": "POINTER_BUTTON", "event_type": 402, "time_stamp": 15723465, "key_name": "(null)", "key_code": 282, "state_name": "PRESSED", "state_code": 1}
{"event_name": "POINTER_BUTTON", "event_type": 402, "time_stamp": 15723577, "key_name": "(null)", "key_code": 282, "state_name": "RELEASED", "state_code": 0}
{"event_name": "POINTER_BUTTON", "event_type": 402, "time_stamp": 15726070, "key_name": "BTN_FORWARD", "key_code": 277, "state_name": "PRESSED", "state_code": 1}
{"event_name": "POINTER_BUTTON", "event_type": 402, "time_stamp": 15726219, "key_name": "BTN_FORWARD", "key_code": 277, "state_name": "RELEASED", "state_code": 0}
{"event_name": "POINTER_BUTTON", "event_type": 402, "time_stamp": 15727086, "key_name": "BTN_BACK", "key_code": 278, "state_name": "PRESSED", "state_code": 1}
{"event_name": "POINTER_BUTTON", "event_type": 402, "time_stamp": 15727171, "key_name": "BTN_BACK", "key_code": 278, "state_name": "RELEASED", "state_code": 0}