On 03/29/2012 06:12 PM, Daniel Kurtz wrote:
> Events from button-only devices still need coordinates, and they get them
> from scale_to_desktop().  Therefore, a dev without valuators is not a bug.
> However, a dev with valuators, but less than two of them still is a bug.
> 
> This was noticed when unplugging a "Creative Technology SB Arena Headset",
> which has some BTNs and some KEYs, but no REL or ABS valuators.
> It emits [BTN_3] = 0 on unplug, which would trigger the BUG_WARN.
> 
> Signed-off-by: Daniel Kurtz <[email protected]>

Looks good now :).

Reviewed-by: Chase Douglas <[email protected]>
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to