summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev
diff options
context:
space:
mode:
authorChris Pritchard <chris@gaia.home>2016-10-30 10:36:53 +0000
committerChris Pritchard <chris@gaia.home>2016-10-30 10:36:53 +0000
commit9da9ba616b7d9fc843a62120bb11e66b0374c6bd (patch)
treecf5c586265aef1c8065dbb797c5c5489a4c49d70 /Source/Core/InputCommon/ControllerInterface/evdev
parent146ee6de91ecb52af86f0056a63b4949b0dbd1b5 (diff)
Use the IOHIDElement cookie as a part of the axis name for unknown axis. Previously the 'usage' value was used to identify the axis by name, but this is not unique. For example on a PS3 controller *all* axis other than the well known ones return a usage of '1' so there are 30 or more axis all named "1". This stops things such as analog triggers being usable.
Using the element cookie uniquely identifies each axis and allows them to be assigned successfully as controls
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev')
0 files changed, 0 insertions, 0 deletions