Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to display non-standard buttons #38

Open
Martmists-GH opened this issue Jan 23, 2024 · 4 comments
Open

Fails to display non-standard buttons #38

Martmists-GH opened this issue Jan 23, 2024 · 4 comments

Comments

@Martmists-GH
Copy link

These include:

  • Mouse 7-11
  • Scroll up/down
  • Mousewheel left/right
  • Keyboard extensions (L1-6)
  • Peripheral buttons (e.g. Tablet hardware buttons)
@AlynxZhou
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

{"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}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants