This is a cleaned up and updated driver for the G940. I followed most of the checkpatch notes except for some of the 80 column stuff, the sections of where most of that code is hid-core.c also doesn't seem to care about it. I stripped out my custom X,Y interface using FF_RAMP, so this should be just a drop in replacement for userland code that does force feedback. However, also in this code is the (int) cast fix that I send before to linux-kernel in ff-memless. Without this, my driver or the normal logitech driver for other sticks seems to work for me. It is sent as an attachment, if it truely needs to be inline, I'll set up thunderbird for gmail IMAP. gary
Attachment:
logitech-g940.patch
Description: Binary data