Commit Graph

2 Commits (7db56ee069b4b06b5b28dec06767fe338db596ca)

Author SHA1 Message Date
Nirenjan Krishnan a217fa486e Make driver more flexible for other devices
This adds a list of supported devices with flags for each device.
The flags control whether the MFD and/or LED are supported for
each supported device.

This also changes the deadzone structure to be more compliant with
the fuzz and flat parameters for absolute input.
2012-10-07 22:25:39 -07:00
Nirenjan Krishnan ebb4cc9042 Move common definitions to their own file
This change moves the common definitions to their own file so
that we can later rewrite the driver to accept the structure
as input.

A caveat with this approach is that it does prevent shell scripts
from updating the joystick, however, it eases the burden of
verification in the kernel, and it's not too hard to write
wrapper programs to write kernel structures to the files.
2012-10-07 00:08:40 -07:00