-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
I'm trying to remap a wiimote, but InputPlumber is missing the key codes BTN_1 and BTN_2, this is not a mistake, the corresponding buttons are actually labelled 1 and 2.
I've seen people usually open issues to request the addition of missing codes, but I think it would be a nice addition if users could optionally specify the numeric value of the event code, to account for all future missing key codes. Is there a reason why this is not possible already?
In any case, I have used a short script to find all the 91 key codes that are currently missing from the codebase and listed them here.
Some of them might not be in the evdev rust crate yet, I have opened an issue about them.
Full missing key codes
ABS_CNT, ABS_MAX, ABS_SND_PROFILE, BTN_0, BTN_1, BTN_2,
BTN_3, BTN_4, BTN_5, BTN_6, BTN_7, BTN_8,
BTN_9, BTN_A, BTN_GRIPL, BTN_GRIPL2, BTN_GRIPR, BTN_GRIPR2,
BTN_X, BTN_Y, EV_ABS, EV_CNT, EV_FF, EV_FF_STATUS,
EV_KEY, EV_LED, EV_MAX, EV_MSC, EV_PWR, EV_REL,
EV_REP, EV_SND, EV_SW, EV_SYN, INPUT_PROP_ACCELEROMETER, INPUT_PROP_BUTTONPAD,
INPUT_PROP_CNT, INPUT_PROP_DIRECT, INPUT_PROP_MAX, INPUT_PROP_POINTER, INPUT_PROP_POINTING_STICK, INPUT_PROP_PRESSUREPAD,
INPUT_PROP_SEMI_MT, INPUT_PROP_TOPBUTTONPAD, KEY_10CHANNELSDOWN, KEY_10CHANNELSUP, KEY_3D_MODE, KEY_BRIGHTNESS_TOGGLE,
KEY_BRIGHTNESS_ZERO, KEY_CNT, KEY_DIRECTION, KEY_EPRIVACY_SCREEN_OFF, KEY_EPRIVACY_SCREEN_ON, KEY_FN_1,
KEY_FN_2, KEY_HANGUEL, KEY_MAX, KEY_MIN_INTERESTING, KEY_NUMERIC_0, KEY_NUMERIC_1,
KEY_NUMERIC_11, KEY_NUMERIC_12, KEY_NUMERIC_2, KEY_NUMERIC_3, KEY_NUMERIC_4, KEY_NUMERIC_5,
KEY_NUMERIC_6, KEY_NUMERIC_7, KEY_NUMERIC_8, KEY_NUMERIC_9, KEY_PERFORMANCE, KEY_WIMAX,
LED_CNT, LED_MAX, MSC_CNT, MSC_MAX, REL_CNT, REL_MAX,
REP_CNT, REP_MAX, SND_CNT, SND_MAX, SND_PROFILE_RING, SND_PROFILE_SILENT,
SND_PROFILE_VIBRATE, SW_CNT, SW_MAX, SW_RADIO, SW_USB_INSERT, SYN_CNT,
SYN_MAX
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels