OnePlus7Pro:/ $ getevent -il
add device 1: /dev/input/event16
bus: 0003
vendor 2563
product 0526
version 0101
name: "SHANWAN Android Gamepad"
location: "usb-xhci-hcd.0.auto-1/input1"
id: ""
version: 1.0.1
events:
KEY (0001): KEY_VOLUMEDOWN KEY_VOLUMEUP KEY_POWER KEY_STOP
KEY_MENU KEY_CALC KEY_SLEEP KEY_WAKEUP
KEY_FILE KEY_WWW KEY_COFFEE KEY_MAIL
KEY_BOOKMARKS KEY_BACK KEY_FORWARD KEY_EJECTCD
KEY_NEXTSONG KEY_PLAYPAUSE KEY_PREVIOUSSONG KEY_STOPCD
KEY_RECORD KEY_REWIND KEY_CONFIG KEY_HOMEPAGE
KEY_REFRESH KEY_SEARCH KEY_UNKNOWN
MSC (0004): MSC_SCAN
input props:
<none>
add device 2: /dev/input/event15
bus: 0003
vendor 2563
product 0526
version 0110
name: "SHANWAN Android Gamepad"
location: "usb-xhci-hcd.0.auto-1/input0"
id: ""
version: 1.0.1
events:
KEY (0001): BTN_GAMEPAD BTN_EAST BTN_C BTN_NORTH
BTN_WEST BTN_Z BTN_TL BTN_TR
BTN_TL2 BTN_TR2 BTN_SELECT BTN_START
BTN_MODE BTN_THUMBL BTN_THUMBR 013f
ABS (0003): ABS_X : value 127, min 0, max 255, fuzz 0, flat 15, resolution 0
ABS_Y : value 127, min 0, max 255, fuzz 0, flat 15, resolution 0
ABS_Z : value 127, min 0, max 255, fuzz 0, flat 15, resolution 0
ABS_RZ : value 127, min 0, max 255, fuzz 0, flat 15, resolution 0
ABS_GAS : value 0, min 0, max 255, fuzz 0, flat 15, resolution 0
ABS_BRAKE : value 0, min 0, max 255, fuzz 0, flat 15, resolution 0
ABS_HAT0X : value 0, min -1, max 1, fuzz 0, flat 0, resolution 0
ABS_HAT0Y : value 0, min -1, max 1, fuzz 0, flat 0, resolution 0
MSC (0004): MSC_SCAN
input props:
<none>
网友评论