Thread (12 messages) 12 messages, 3 authors, 2009-07-09

RE: [PATCH] Input: rotary_encoder cleanup

From: H Hartley Sweeten <hidden>
Date: 2009-07-09 16:31:40

On Wednesday, July 08, 2009 9:18 PM, Dmitry Torokhov wrote:
quoted
quoted
Hmm, what axis will they be reporting though? Seems like very
specialized [ab]use if they all share the same input device...
Each encoder reports as a unique axis.  They just all share one
input device.
Well, if they truly represent X and Y axes then sharing the same
input device is proper. However if you are using single input
just to simplify userspace application and events reported do
not really represent movement for the axis specified - that would
be bad.
I agree.  Trying to report two of the same axis over a single input
would be a major abuse of the api.

Reporting multiple axis' over a single input should be doable.  I
just need to work out how to modify the rotary_encoder driver to
support it...

Thanks,
Hartley
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help