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

- From: Dmitry Torokhov \<dmitry.torokhov@gmail.com\>
- Date: 2011-03-31 05:25:34 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2011/03/3697327
- Thread: https://ratatoskr.run/linux-input/2011/03/3697324/t.md

```text
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
```
