[RFC] libinputmapper: Input device configuration for graphic-servers

David Herrmann dh.herrmann at gmail.com
Thu May 16 14:57:56 PDT 2013


Hi Bill

On Thu, May 16, 2013 at 7:48 PM, Bill Spitzak <spitzak at gmail.com> wrote:
> David Herrmann wrote:
>
>> /**
>> * @INMAP_CAP_ACCELEROMETER
>> * Accelerometer interface
>> *
>> * Accelerometer devices report linear acceleration data as ABS_X/Y/Z
>> * and rotational acceleration as ABS_RX/Y/Z.
>> *
>> * @TODO this collides with ABS_X/Y of absolute pointing devices
>> *       introduce ABS_ACCELX/Y/Z
>> */
>
>
> If actual position is called "ABS_X" and the first derivative is called
> "REL_X", then it does not make sense for the second derivative to be called
> "ABS" again. The events should be called ACCEL_X or REL_REL_X or REL2_X.

This is the kernel API, we cannot change it, it's fixed. We just
document it here.

Regards
David


More information about the wayland-devel mailing list