From: simon@mungewell.org
To: linux-input@vger.kernel.org
Subject: Rewriting wheels HID descriptor for complete functionality
Date: Wed, 1 Dec 2010 13:23:15 -0500 [thread overview]
Message-ID: <e0bdb04c6bf793ed464934fd4f8b663e.squirrel@host171.canaca.com> (raw)
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)
next reply other threads:[~2010-12-01 18:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-01 18:23 simon [this message]
2010-12-01 19:32 ` Rewriting wheels HID descriptor for complete functionality Nikolai Kondrashov
2010-12-01 21:20 ` Antonio Ospite
2010-12-01 22:18 ` simon
2011-02-27 22:45 ` Marcin Tolysz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e0bdb04c6bf793ed464934fd4f8b663e.squirrel@host171.canaca.com \
--to=simon@mungewell.org \
--cc=linux-input@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox