Re: [RFC] Apple Motion Sensor driver

From: Dmitry Torokhov
Date: Mon Jul 03 2006 - 09:43:44 EST


On Sunday 02 July 2006 18:26, Michael Hanselmann wrote:
> +       set_bit(EV_ABS, ams.idev->evbit);
> +       set_bit(EV_KEY, ams.idev->evbit);
> +       set_bit(BTN_TOUCH, ams.idev->keybit);

BTW, what is BTN_TOUCH doing here? I don't see it being reported anywhere...

Just drop it off and have ams be a "joystick" instead of a "mouse" ;)
Joystick interface is probably better suited anyway.

--
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/