Linux Input/HID development
 help / color / mirror / Atom feed
* Rewriting wheels HID descriptor for complete functionality
@ 2010-12-01 18:23 simon
  2010-12-01 19:32 ` Nikolai Kondrashov
  2010-12-01 21:20 ` Antonio Ospite
  0 siblings, 2 replies; 5+ messages in thread
From: simon @ 2010-12-01 18:23 UTC (permalink / raw)
  To: linux-input

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)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-27 22:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-01 18:23 Rewriting wheels HID descriptor for complete functionality simon
2010-12-01 19:32 ` Nikolai Kondrashov
2010-12-01 21:20 ` Antonio Ospite
2010-12-01 22:18   ` simon
2011-02-27 22:45   ` Marcin Tolysz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox