Rewriting wheels HID descriptor for complete functionality

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am working on a driver for a Logitech gaming wheel where the HID
descriptor presents a 'joystick' with X and Y axis, the Y is a combined
acc/brake value even though the wheel has separate paddles for each.

There are 'vendor defined' variables for both the acc/brake within the HID
descriptor, but these are not (by Linux) tied to their function.

On the Windows, the specialised Logitech driver gives the option to use
either combined or separate acc/brake.

I am considering re-writing the HID descriptor to expose these separate
values as 'proper' axis, as they would provide both better resolution and
better functionality (ie. left foot braking).

Q1. Is this an acceptable thing to do?

Q2. In the case where there is significant change to the HID descriptor,
is it OK to just re-write the whole block (rather than patch/swap a couple
of bytes)?

Q3. In re-writing descriptor for the combined acc/brake. Is there a
particular 'variable' I should change it to (X, Y and Z would already be
used), or should I just make it 'vendor defined'?

Thanks in advance,
Simon
(aka Mungewell)

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux