Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@RECALBOX ~]# cat /proc/bus/input/devices
- I: Bus=0000 Vendor=0000 Product=0000 Version=0000
- N: Name="Xbox Gamepad (userspace driver)"
- P: Phys=
- S: Sysfs=/devices/virtual/input/input0
- U: Uniq=
- H: Handlers=js0 event0
- B: PROP=0
- B: EV=b
- B: KEY=7fdb0000 0 0 0 0 0 0 0 0 0
- B: ABS=3001b
- I: Bus=0000 Vendor=0000 Product=0000 Version=0000
- N: Name="Xbox Gamepad (userspace driver) #2"
- P: Phys=
- S: Sysfs=/devices/virtual/input/input1
- U: Uniq=
- H: Handlers=js1 event1
- B: PROP=0
- B: EV=b
- B: KEY=7fdb0000 0 0 0 0 0 0 0 0 0
- B: ABS=3001b
- I: Bus=0003 Vendor=0738 Product=8838 Version=0110
- N: Name="MadCatz PC USB Wired Stick 8838"
- P: Phys=usb-bcm2708_usb-1.2/input0
- S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input2
- U: Uniq=
- H: Handlers=js2 event2
- B: PROP=0
- B: EV=1b
- B: KEY=1fff0000 0 0 0 0 0 0 0 0 0
- B: ABS=30027
- B: MSC=10
- I: Bus=0003 Vendor=0738 Product=8838 Version=0110
- N: Name="MadCatz PC USB Wired Stick 8838"
- P: Phys=usb-bcm2708_usb-1.2/input0
- S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input3
- U: Uniq=
- H: Handlers=event3
- B: PROP=0
- B: EV=1
- [root@RECALBOX ~]# ls /dev/input/js*
- /dev/input/js0 /dev/input/js1 /dev/input/js2
- [root@RECALBOX ~]# jstest /dev/input/js0
- Driver version is 2.1.0.
- Joystick (Xbox Gamepad (userspace driver)) has 6 axes (X, Y, Rx, Ry, Hat0X, Hat0Y)
- and 13 buttons (BtnX, BtnY, BtnTL, BtnTR, BtnTR2, BtnSelect, BtnStart, BtnMode, BtnThumbL, BtnThumbR, ?, ?, ?).
- Testing ... (interrupt to exit)
- Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement