Nintendo Wii Remote D-pad has keycodes of keyboard arrow keys
Hello! When I connect my Wii Remote Plus with bluetooth to my Fedora 31 system, it works fine. Problem is, in Gnome Games, when choosing the device to button remap, the app ignores my inputs for all the buttons in the dpad. Attached is a evemu-recording for me pressing up, down, left, right, and then the 1 and 2 buttons (the 1 and 2 buttons are detected in Gnome Games)
/dev/input/event16: Nintendo Wii Remote Accelerometer
/dev/input/event17: Nintendo Wii Remote IR
/dev/input/event18: Nintendo Wii Remote
/dev/input/event19: Nintendo Wii Remote Motion Plus
Select the device event number [0-19]: 18
# EVEMU 1.3
# Kernel: 5.3.0-0.rc6.git0.1.fc31.x86_64
# DMI: dmi:bvnInsydeCorp.:bvrV1.08:bd12/30/2016:svnAcer:pnSwiftSF314-51:pvrV1.08:rvnAcer:rnM3_SK:rvrV1.08:cvnAcer:ct10:cvrChassisVersion:
# Input device name: "Nintendo Wii Remote"
# Input device ID: bus 0x05 vendor 0x57e product 0x306 version 0x8600
# Supported events:
# Event type 0 (EV_SYN)
# Event code 0 (SYN_REPORT)
# Event code 1 (SYN_CONFIG)
# Event code 2 (SYN_MT_REPORT)
# Event code 3 (SYN_DROPPED)
# Event code 4 ((null))
# Event code 5 ((null))
# Event code 6 ((null))
# Event code 7 ((null))
# Event code 8 ((null))
# Event code 9 ((null))
# Event code 10 ((null))
# Event code 11 ((null))
# Event code 12 ((null))
# Event code 13 ((null))
# Event code 14 ((null))
# Event code 15 (SYN_MAX)
# Event type 1 (EV_KEY)
# Event code 103 (KEY_UP)
# Event code 105 (KEY_LEFT)
# Event code 106 (KEY_RIGHT)
# Event code 108 (KEY_DOWN)
# Event code 257 (BTN_1)
# Event code 258 (BTN_2)
# Event code 304 (BTN_SOUTH)
# Event code 305 (BTN_EAST)
# Event code 316 (BTN_MODE)
# Event code 407 (KEY_NEXT)
# Event code 412 (KEY_PREVIOUS)
# Event type 21 (EV_FF)
# Event code 80 (FF_RUMBLE)
# Event code 81 (FF_PERIODIC)
# Event code 88 (FF_SQUARE)
# Event code 89 (FF_TRIANGLE)
# Event code 90 (FF_SINE)
# Event code 96 (FF_GAIN)
# Properties:
N: Nintendo Wii Remote
I: 0005 057e 0306 8600
P: 00 00 00 00 00 00 00 00
B: 00 0b 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 80 16 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 06 00 00 00 00 00 03 10
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 80 10 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 02 00 00 00 00 00 00 00 00
B: 03 00 00 00 00 00 00 00 00
B: 04 00 00 00 00 00 00 00 00
B: 05 00 00 00 00 00 00 00 00
B: 11 00 00 00 00 00 00 00 00
B: 12 00 00 00 00 00 00 00 00
B: 14 00 00 00 00 00 00 00 00
B: 15 00 00 00 00 00 00 00 00
B: 15 00 00 03 07 01 00 00 00
################################
# Waiting for events #
################################
E: 0.000001 0001 0067 0001 # EV_KEY / KEY_UP 1
E: 0.000001 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- +0ms
^[[AE: 0.094922 0001 0067 0000 # EV_KEY / KEY_UP 0
E: 0.094922 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- +94ms
E: 3.836323 0001 006c 0001 # EV_KEY / KEY_DOWN 1
E: 3.836323 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- +3742ms
^[[BE: 3.957562 0001 006c 0000 # EV_KEY / KEY_DOWN 0
E: 3.957562 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- +121ms
E: 4.797595 0001 0069 0001 # EV_KEY / KEY_LEFT 1
E: 4.797595 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- +840ms
^[[DE: 4.895085 0001 0069 0000 # EV_KEY / KEY_LEFT 0
E: 4.895085 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- +98ms
E: 5.395100 0001 006a 0001 # EV_KEY / KEY_RIGHT 1
E: 5.395100 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- +500ms
^[[CE: 5.495107 0001 006a 0000 # EV_KEY / KEY_RIGHT 0
E: 5.495107 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- +100ms
E: 15.332966 0001 0101 0001 # EV_KEY / BTN_1 1
E: 15.332966 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- +9837ms
E: 15.495312 0001 0101 0000 # EV_KEY / BTN_1 0
E: 15.495312 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- +163ms
E: 15.995206 0001 0102 0001 # EV_KEY / BTN_2 1
E: 15.995206 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- +500ms
E: 16.101538 0001 0102 0000 # EV_KEY / BTN_2 0
E: 16.101538 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- +106ms