Re: [PATCH] uinput: Allow for 0/0 min/max on absolute axes.

From: Dmitry Torokhov
Date: Thu Mar 31 2011 - 01:25:45 EST


On Thu, Mar 31, 2011 at 03:05:03PM +1000, Peter Hutterer wrote:
> Some devices provide absolute axes with min/max of 0/0 (e.g. wacom's
> ABS_MISC axis). Current uinput restrictions do not allow duplication of
> these devices and require hacks in userspace to work around this.
>
> If the kernel accepts physical devices with a min/max of 0/0, uinput
> shouldn't disallow the same range.
>

Right, we should treat 0/0 as unlimited, or not specified, not
applicable.

Applied, thank you Peter.

--
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/