Commit Graph

462 Commits (a3cc0adb844104dd5775ec111691b4092cca881f)

Author SHA1 Message Date
Nirenjan Krishnan ce53d65021 Add blink LED support to driver
This commit also takes care of removing the device files when the
joystick is disconnected. Also, the line API files are renamed to
mfd_line[123].
2012-10-06 00:08:49 -07:00
Nirenjan Krishnan f1fdbe9c6a Move USB control messages to their own file
With this change, the X52 USB control API is moved to it's own
file in order to better separate the code and make it cleaner.

This change also renames the kernel module to saitek_x52.
2012-10-05 23:21:56 -07:00
Nirenjan Krishnan 60ff5826dd Add LED support to x52 joystick driver
This commit adds sysfs files to enable or disable the LEDs on the
X52 Pro joystick. This also fixes a minor bug with the brightness
API which was always complaining not-supported.
2012-10-05 10:38:34 -07:00
Nirenjan Krishnan d1dec19b95 Fix report format 2012-10-04 23:51:26 -07:00
Nirenjan Krishnan e57e8ced7f Update with HID raw output format
Tools folder now contains a program to read and dump the raw HID output
2012-10-03 01:02:21 -07:00
Nirenjan Krishnan 9006404f90 Move readjoy to its own folder under tools 2012-10-02 11:55:12 -07:00
Nirenjan Krishnan a32cc47097 Add readjoy to read joystick events from userspace
Also fix a bit of formatting in the joystick driver file.
2012-09-30 19:17:46 -07:00
Nirenjan Krishnan 9ac96dae97 Add README and GPL license file 2012-09-30 15:38:46 -07:00
Nirenjan Krishnan 5add6a544d Add sysfs files to control LED and MFD brightness
This also fixes the issue with the text display on the MFD.
2012-09-30 15:23:35 -07:00
Nirenjan Krishnan 02a7c326c7 Update x52 driver with write to MFD code.
This still has a bug in that the text is not written correctly. It
shows up as garbage. For now, I'm committing it so that I can work
on it later after the brightness configuration is set up.

Also add the commands header file.
2012-09-30 14:28:51 -07:00
Nirenjan Krishnan 42642d5905 Add initial version of X52pro joystick driver
This is pretty much bare bones code to get a basic sysfs filesystem
in place. It has only code to create sysfs files for the 3 MFD lines.

Right now, this needs to be enabled by unplugging the joystick,
insmod'ing the x52joy.ko module, rmmod'ing the usbhid module and
replugging the joystick. We don't yet have a /dev/input/ interface
and there's no interrupt message handling yet.
2012-09-30 12:38:29 -07:00
Nirenjan e9bfeb0f02 Add controller information 2012-09-30 11:54:34 -07:00