Last active
November 27, 2024 01:18
-
-
Save Elektordi/62df09e19ed5044edfe856d6d7617f0b to your computer and use it in GitHub Desktop.
Bluetooth WX02 keyboard on linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.aliexpress.com/item/1005007861441274.html | |
(with connector on right, like on manual) | |
Short video mode | |
UP press: BTN_TOUCH/BTN_TOOL_PEN/ABS_Y | |
UP hold: KEY_VOLUMEDOWN | |
UP double: BTN_TOUCH/BTN_TOOL_PEN/ABS_X | |
MID press: BTN_TOUCH/BTN_TOOL_PEN/ABS_Y/ABS_Y | |
MID hold: KEY_POWER | |
MID double: BTN_TOUCH/BTN_TOOL_PEN | |
DOWN press: BTN_TOUCH/BTN_TOOL_PEN/ABS_Y | |
DOWN hold: KEY_VOLUMEUP | |
DOWN double: BTN_TOUCH/BTN_TOOL_PEN/ABS_X | |
Music mode | |
(with scancodes) | |
UP press: KEY_PREVIOUSSONG (c00b6) | |
UP hold: KEY_VOLUMEDOWN (c00ea) | |
UP double: KEY_POWER (c0030) | |
MID press: KEY_PLAYPAUSE (c00cd) | |
MID hold: None | |
MID double: None | |
DOWN press: KEY_NEXTSONG (c00b5) | |
DOWN hold: KEY_VOLUMEUP (c00e9) | |
DOWN double: KEY_HOMEPAGE (c0223) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keycode 191 = F13 F13 F13 | |
keycode 192 = F14 F14 F14 | |
keycode 193 = F15 F15 F15 | |
keycode 194 = F16 F16 F16 | |
keycode 195 = F17 F17 F17 | |
keycode 196 = F18 F18 F18 | |
keycode 197 = F19 F19 F19 | |
keycode 198 = F20 F20 F20 | |
keycode 199 = F21 F21 F21 | |
keycode 200 = F22 F22 F22 | |
keycode 201 = F23 F23 F23 | |
keycode 202 = F24 F24 F24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
evdev:input:b0005v05ACp022Ce011B* | |
KEYBOARD_KEY_c00b6=f13 | |
KEYBOARD_KEY_c00cd=f14 | |
KEYBOARD_KEY_c00b5=f15 | |
KEYBOARD_KEY_c00ea=f16 | |
KEYBOARD_KEY_c00e9=f17 | |
KEYBOARD_KEY_c0030=f18 | |
KEYBOARD_KEY_c0223=f19 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACTION=="add|change", SUBSYSTEM=="input", ENV{ID_BUS}=="bluetooth", ENV{ID_INPUT_TABLET}=="1", ENV{ID_INPUT_TABLET}="", ENV{ID_INPUT_TOUCHSCREEN}="", ENV{ID_INPUT_KEY}="1", ENV{ID_INPUT_KEYBOARD}="1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment