Parent: b6ae7313641976c372c0b735b996a0849be703aa
Author: Bastien Nocera <hadess@hadess.net>
Committer: Szymon Janc <szymon.janc@codecoup.pl>
Date: 2017-10-27 10:58:06
Tree: f5b390d813d59fb89f71c6236c6c279f9829e24a
plugins/sixaxis: Move device discovery to shared header Move the struct containing the Sixaxis-compatible devices to a header shared with the input profiles code, so as to reduce device declaration. Adding support for new devices should be as easy as adding the device's declaration in profiles/input/sixaxis.h
Diffstat
| M | plugins/sixaxis.c | | | 82 | +++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| A | profiles/input/sixaxis.h | | | 85 | ++++++++++++++++++++++++++++++++++++++++ |
2 files changed, 122 insertions(+), 45 deletions(-)