RE: [PATCH] Input: rotary_encoder cleanup

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

 



On Wednesday, July 08, 2009 9:18 PM, Dmitry Torokhov wrote:
>>> 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
--
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