17 Commits (master)
 

Author SHA1 Message Date
Daniel Perelman e155a6cfcc Merge remote-tracking branch 'origin/master' 2 years ago
Daniel Perelman 8965efd557
Merge pull request #4 from wasertech/patch-1
Update identify_evdev.py
2 years ago
Danny Waser 746fc0d499
Update identify_evdev.py
I stumbled upon https://aweirdimagination.net/2015/04/06/emulating-xbox-controllers-on-linux/ which led me to https://aweirdimagination.net/2015/04/04/identifying-joystick-devices/ and then here.

On python 3.10 you'll get a depreciation warning.
```zsh
identify_evdev.py:31: DeprecationWarning: Please use InputDevice.path instead of InputDevice.fn
  output.append(devices[fd].fn)
/dev/input/event259.
``` 
 It will still work but the output is borked.

With `path` instead:
```zsh
/dev/input/event259
```
2 years ago
Daniel Perelman cd5fdba714
Merge pull request #2 from VoodaGod/master
fix wrongful dpad y-axis inversion
4 years ago
VoodaGod b23943510e fix wrongful dpad y-axis inversion 4 years ago
Daniel Perelman ba3f9078e3
Merge pull request #1 from VoodaGod/master
add support for mapping dpad that acts as axis
4 years ago
VoodaGod 1e1caf3469 add support for mapping dpad that acts as axis 4 years ago
Daniel Perelman cf4e856a2b Add notes on which button is which on various controller setups. 5 years ago
Daniel Perelman de7315aff7 Include script generated using create_xboxdrv_evdev_map.py for GameCube controller connected via wii-u-gc-adapter. 5 years ago
Daniel Perelman 11186d3e79 Handle exceptions inside eat_events(). 5 years ago
Daniel Perelman 9b85670fc2 Only count axis as moving if it's almost at the max/min. 5 years ago
Daniel Perelman b607466efc Make identify_evdev.py count button presses, not axis moves. 5 years ago
Daniel Perelman 73aadeb9da
Update README.md 6 years ago
Daniel Perelman a93e67c044 Added script for generating xboxdrv mappings. 9 years ago
Daniel Perelman f068967e99 Added documentation comments. 9 years ago
Daniel Perelman e87a4da69a Added script for discovering which input device is being used. 9 years ago
Daniel Perelman e1bfce5b16 Initial commit 9 years ago