Skip to content

Instantly share code, notes, and snippets.

@tinostp
Created February 28, 2023 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tinostp/27c5eec8cf9876a8ee61a528b9627b90 to your computer and use it in GitHub Desktop.
Save tinostp/27c5eec8cf9876a8ee61a528b9627b90 to your computer and use it in GitHub Desktop.
emuelec xbox gamepad
##############################################
# EmuELEC #
# Retro emulation for Amlogic Devices #
# Based on CoreELEC #
##############################################
EmuELEC (Official - EmuELEC is FREE! NOT FOR SALE!): 4.6 (Amlogic-ng.aarch64)
Machine model: Beelink
CoreELEC dt-id: g12b_s922x_beelink_gt_king_ rev_a
Amlogic dt-id: g12b_w400_a
EMUELEC:~ # cat /proc/bus/input/devices
I: Bus=0010 Vendor=0001 Product=0001 Version=0100
N: Name="gpio_keypad"
P: Phys=gpio_keypad/input0
S: Sysfs=/devices/platform/ff800000.gpio_keypad/input/input0
U: Uniq=
H: Handlers=kbd event0
B: PROP=0
B: EV=3
B: KEY=10000000000000 0
I: Bus=0010 Vendor=1b8e Product=0cec Version=0001
N: Name="cec_input"
P: Phys=
S: Sysfs=/devices/virtual/input/input1
U: Uniq=
H: Handlers=kbd event1
B: PROP=0
B: EV=3
B: KEY=1 0 0 10000000000000 0
I: Bus=0010 Vendor=0001 Product=0001 Version=0100
N: Name="input_btrcu"
P: Phys=input_btrcu/input0
S: Sysfs=/devices/platform/bt-dev/input/input2
U: Uniq=
H: Handlers=kbd event2
B: PROP=0
B: EV=3
B: KEY=20 10000000000000 0
I: Bus=0010 Vendor=0001 Product=0001 Version=0100
N: Name="adc_keypad"
P: Phys=adc_keypad/input0
S: Sysfs=/devices/platform/adc_keypad/input/input3
U: Uniq=
H: Handlers=kbd event3
B: PROP=0
B: EV=3
B: KEY=c000000000000 10000000
I: Bus=0003 Vendor=2319 Product=00b2 Version=0200
N: Name="InnSpire Intelligent Hotels USB Dongle"
P: Phys=usb-xhci-hcd.0.auto-2/input2
S: Sysfs=/devices/platform/ff500000.dwc3/xhci-hcd.0.auto/usb1/1-2/1-2:1.2/0003:2 319:00B2.0001/input/input4
U: Uniq=
H: Handlers=kbd mouse0 event4
B: PROP=0
B: EV=1f
B: KEY=3007f 0 0 483ffff17aff32d bf54444600000000 70001 130ff38b17c000 677bfad94 1dfed 9ed68000004400 10000002
B: REL=ff43
B: ABS=100000000
B: MSC=10
I: Bus=0003 Vendor=2319 Product=00b2 Version=0200
N: Name="InnSpire Intelligent Hotels USB Dongle"
P: Phys=usb-xhci-hcd.0.auto-2/input3
S: Sysfs=/devices/platform/ff500000.dwc3/xhci-hcd.0.auto/usb1/1-2/1-2:1.3/0003:2 319:00B2.0002/input/input5
U: Uniq=
H: Handlers=sysrq kbd leds event5
B: PROP=0
B: EV=120013
B: KEY=1000000000007 ff9f207ac14057ff febeffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7
I: Bus=0003 Vendor=045e Product=028e Version=0114
N: Name="Microsoft X-Box 360 pad"
P: Phys=usb-xhci-hcd.0.auto-1.1/input0
S: Sysfs=/devices/platform/ff500000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1.1/1-1.1:1. 0/input/input6
U: Uniq=
H: Handlers=event6 js0
B: PROP=0
B: EV=20000b
B: KEY=7cdb000000000000 0 0 0 0
B: ABS=3003f
B: FF=107030000 0
I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="meson-ir"
P: Phys=meson-ir/input0
S: Sysfs=/devices/platform/ff808040.meson-ir/rc/rc0/input7
U: Uniq=
H: Handlers=kbd event7
B: PROP=0
B: EV=100013
B: KEY=fff 0 4200108fc32e 237605100000000 0 700158000 419240004801 9e96c00000000 0 10000ffc
B: MSC=10
I: Bus=0005 Vendor=045e Product=0b13 Version=0509
N: Name="Xbox Wireless Controller"
P: Phys=c0:84:7d:5a:22:4d
S: Sysfs=/devices/virtual/misc/uhid/0005:045E:0B13.0007/input/input13
U: Uniq=68:6c:e6:9c:b5:30
H: Handlers=kbd event8 js1
B: PROP=0
B: EV=1b
B: KEY=7fff000000000000 0 8000000000 0 0
B: ABS=30627
B: MSC=10
EMUELEC:~ #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment