andrew@andrew-desktop:~$ ls /dev/input/
by-path event0 event1 event2 event3 event4 event5 event6 mice mouse0 mouse1
(沒有js)
andrew@andrew-desktop:~$ cat /proc/bus/usb/devices
…
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0079 ProdID=0006 Rev= 1.07
S: Manufacturer=DragonRise Inc.
S: Product=Generic USB Joystick
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
E: Ad=01(O) Atr=03(Int.) MxPS= 8 Ivl=10ms
…
andrew@andrew-desktop:~$ lsusb
Bus 002 Device 008: ID 0079:0006
Bus 002 Device 003: ID 1131:1004 Integrated System Solution Corp. Bluetooth Device
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
註:我在ubuntu跟windows下面都可以用搖桿玩zsnes…