Re: [PATCH libinput] tablet: drop LIBINPUT_TABLET_AXIS_NONE from the API

2015-02-12 Thread Benjamin Tissoires
On Mon, Feb 9, 2015 at 8:29 PM, Peter Hutterer wrote: > This constant isn't used in the public API, let's drop it. To make it easier > to use it internally and avoid accidental boolean comparisions with axes, bump > all real axes up to start at 1. > > Internally that means we drop the AXIS_CNT sin

[PATCH libinput] tablet: drop LIBINPUT_TABLET_AXIS_NONE from the API

2015-02-09 Thread Peter Hutterer
This constant isn't used in the public API, let's drop it. To make it easier to use it internally and avoid accidental boolean comparisions with axes, bump all real axes up to start at 1. Internally that means we drop the AXIS_CNT since it'd be misleading and instead use MAX or MAX + 1 everywhere.