diff options
| author | Chris Pritchard <chris@gaia.home> | 2016-10-30 10:36:53 +0000 |
|---|---|---|
| committer | Chris Pritchard <chris@gaia.home> | 2016-10-30 10:36:53 +0000 |
| commit | 9da9ba616b7d9fc843a62120bb11e66b0374c6bd (patch) | |
| tree | cf5c586265aef1c8065dbb797c5c5489a4c49d70 /Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp | |
| parent | 146ee6de91ecb52af86f0056a63b4949b0dbd1b5 (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/evdev.cpp')
0 files changed, 0 insertions, 0 deletions
