Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) =======================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) xpad - Linux USB driver for Xbox compatible controllers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3) =======================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5) This driver exposes all first-party and third-party Xbox compatible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6) controllers. It has a long history and has enjoyed considerable usage
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) as Window's xinput library caused most PC games to focus on Xbox
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) controller compatibility.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) Due to backwards compatibility all buttons are reported as digital.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) This only effects Original Xbox controllers. All later controller models
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) have only digital face buttons.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) Rumble is supported on some models of Xbox 360 controllers but not of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) Original Xbox controllers nor on Xbox One controllers. As of writing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) the Xbox One's rumble protocol has not been reverse engineered but in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) the future could be supported.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) Notes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) =====
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) The number of buttons/axes reported varies based on 3 things:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) - if you are using a known controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) - if you are using a known dance pad
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) - if using an unknown device (one not listed below), what you set in the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28)   module configuration for "Map D-PAD to buttons rather than axes for unknown
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29)   pads" (module option dpad_to_buttons)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) If you set dpad_to_buttons to N and you are using an unknown device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) the driver will map the directional pad to axes (X/Y).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) If you said Y it will map the d-pad to buttons, which is needed for dance
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) style games to function correctly. The default is Y.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) dpad_to_buttons has no effect for known pads. A erroneous commit message
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) claimed dpad_to_buttons could be used to force behavior on known devices.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) This is not true. Both dpad_to_buttons and triggers_to_buttons only affect
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) unknown controllers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) Normal Controllers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) ------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) With a normal controller, the directional pad is mapped to its own X/Y axes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) The jstest-program from joystick-1.2.15 (jstest-version 2.1.0) will report 8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) axes and 10 buttons.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) All 8 axes work, though they all have the same range (-32768..32767)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) and the zero-setting is not correct for the triggers (I don't know if that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) is some limitation of jstest, since the input device setup should be fine. I
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) didn't have a look at jstest itself yet).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) All of the 10 buttons work (in digital mode). The six buttons on the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) right side (A, B, X, Y, black, white) are said to be "analog" and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) report their values as 8 bit unsigned, not sure what this is good for.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) I tested the controller with quake3, and configuration and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) in game functionality were OK. However, I find it rather difficult to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) play first person shooters with a pad. Your mileage may vary.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) Xbox Dance Pads
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) ---------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) When using a known dance pad, jstest will report 6 axes and 14 buttons.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) For dance style pads (like the redoctane pad) several changes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) have been made.  The old driver would map the d-pad to axes, resulting
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) in the driver being unable to report when the user was pressing both
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) left+right or up+down, making DDR style games unplayable.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) Known dance pads automatically map the d-pad to buttons and will work
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) correctly out of the box.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) If your dance pad is recognized by the driver but is using axes instead
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) of buttons, see section 0.3 - Unknown Controllers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) I've tested this with Stepmania, and it works quite well.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) Unknown Controllers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) -------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) If you have an unknown xbox controller, it should work just fine with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) the default settings.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) HOWEVER if you have an unknown dance pad not listed below, it will not
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) work UNLESS you set "dpad_to_buttons" to 1 in the module configuration.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) USB adapters
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) ============
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) All generations of Xbox controllers speak USB over the wire.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) - Original Xbox controllers use a proprietary connector and require adapters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) - Wireless Xbox 360 controllers require a 'Xbox 360 Wireless Gaming Receiver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99)   for Windows'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) - Wired Xbox 360 controllers use standard USB connectors.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) - Xbox One controllers can be wireless but speak Wi-Fi Direct and are not
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102)   yet supported.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) - Xbox One controllers can be wired and use standard Micro-USB connectors.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) Original Xbox USB adapters
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) --------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) Using this driver with an Original Xbox controller requires an
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) adapter cable to break out the proprietary connector's pins to USB.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) You can buy these online fairly cheap, or build your own.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) Such a cable is pretty easy to build. The Controller itself is a USB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) compound device (a hub with three ports for two expansion slots and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) the controller device) with the only difference in a nonstandard connector
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) (5 pins vs. 4 on standard USB 1.0 connectors).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) You just need to solder a USB connector onto the cable and keep the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) yellow wire unconnected. The other pins have the same order on both
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) connectors so there is no magic to it. Detailed info on these matters
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) can be found on the net ([1]_, [2]_, [3]_).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) Thanks to the trip splitter found on the cable you don't even need to cut the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) original one. You can buy an extension cable and cut that instead. That way,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) you can still use the controller with your X-Box, if you have one ;)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) Driver Installation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) ===================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) Once you have the adapter cable, if needed, and the controller connected
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) the xpad module should be auto loaded. To confirm you can cat
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) /sys/kernel/debug/usb/devices. There should be an entry like those:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) .. code-block:: none
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138)    :caption: dump from InterAct PowerPad Pro (Germany)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140)     T:  Bus=01 Lev=03 Prnt=04 Port=00 Cnt=01 Dev#=  5 Spd=12  MxCh= 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141)     D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=32 #Cfgs=  1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142)     P:  Vendor=05fd ProdID=107a Rev= 1.00
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143)     C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144)     I:  If#= 0 Alt= 0 #EPs= 2 Cls=58(unk. ) Sub=42 Prot=00 Driver=(none)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145)     E:  Ad=81(I) Atr=03(Int.) MxPS=  32 Ivl= 10ms
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146)     E:  Ad=02(O) Atr=03(Int.) MxPS=  32 Ivl= 10ms
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) .. code-block:: none
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149)    :caption: dump from Redoctane Xbox Dance Pad (US)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151)     T:  Bus=01 Lev=02 Prnt=09 Port=00 Cnt=01 Dev#= 10 Spd=12  MxCh= 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152)     D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153)     P:  Vendor=0c12 ProdID=8809 Rev= 0.01
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154)     S:  Product=XBOX DDR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155)     C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156)     I:  If#= 0 Alt= 0 #EPs= 2 Cls=58(unk. ) Sub=42 Prot=00 Driver=xpad
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157)     E:  Ad=82(I) Atr=03(Int.) MxPS=  32 Ivl=4ms
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158)     E:  Ad=02(O) Atr=03(Int.) MxPS=  32 Ivl=4ms
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) Supported Controllers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) =====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) For a full list of supported controllers and associated vendor and product
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) IDs see the xpad_device[] array\ [4]_.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) As of the historic version 0.0.6 (2006-10-10) the following devices
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) were supported::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170)  original Microsoft XBOX controller (US),    vendor=0x045e, product=0x0202
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171)  smaller  Microsoft XBOX controller (US),    vendor=0x045e, product=0x0289
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172)  original Microsoft XBOX controller (Japan), vendor=0x045e, product=0x0285
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173)  InterAct PowerPad Pro (Germany),            vendor=0x05fd, product=0x107a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174)  RedOctane Xbox Dance Pad (US),              vendor=0x0c12, product=0x8809
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) Unrecognized models of Xbox controllers should function as Generic
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) Xbox controllers. Unrecognized Dance Pad controllers require setting
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) the module option 'dpad_to_buttons'.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) If you have an unrecognized controller please see 0.3 - Unknown Controllers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) Manual Testing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) ==============
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) To test this driver's functionality you may use 'jstest'.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) For example::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190)     > modprobe xpad
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191)     > modprobe joydev
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192)     > jstest /dev/js0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) If you're using a normal controller, there should be a single line showing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) 18 inputs (8 axes, 10 buttons), and its values should change if you move
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) the sticks and push the buttons.  If you're using a dance pad, it should
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) show 20 inputs (6 axes, 14 buttons).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) It works? Voila, you're done ;)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) Thanks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) ======
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) I have to thank ITO Takayuki for the detailed info on his site
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207)     http://euc.jp/periphs/xbox-controller.ja.html.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) His useful info and both the usb-skeleton as well as the iforce input driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) (Greg Kroah-Hartmann; Vojtech Pavlik) helped a lot in rapid prototyping
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) the basic functionality.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) References
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) .. [1] http://euc.jp/periphs/xbox-controller.ja.html (ITO Takayuki)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) .. [2] http://xpad.xbox-scene.com/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) .. [3] http://www.markosweb.com/www/xboxhackz.com/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) .. [4] https://elixir.bootlin.com/linux/latest/ident/xpad_device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) Historic Edits
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) ==============
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) 2002-07-16 - Marko Friedemann <mfr@bmx-chemnitz.de>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228)  - original doc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) 2005-03-19 - Dominic Cerquetti <binary1230@yahoo.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231)  - added stuff for dance pads, new d-pad->axes mappings
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) Later changes may be viewed with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) 'git log --follow Documentation/input/devices/xpad.rst'