[PATCH libinput 2/2] tablet: Add TABLET_FRAME event

2014-07-13 Thread Stephen Chandler Paul
This event is used to signify the end of a sequence of events from the tablet. This is required since the wayland protocol for tablets also has a frame event, and it's impossible to tell where an event frame ends if libinput doesn't tell us. Signed-off-by: Stephen Chandler Paul --- src/evdev-tab

[PATCH libinput 1/2] tablet: Don't swap X and Y in evcode_to_axis()

2014-07-13 Thread Stephen Chandler Paul
Signed-off-by: Stephen Chandler Paul --- src/evdev-tablet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/evdev-tablet.h b/src/evdev-tablet.h index 74447bd..1b53d20 100644 --- a/src/evdev-tablet.h +++ b/src/evdev-tablet.h @@ -75,10 +75,10 @@ evcode_to_axis(const uint

wl_tablet draft v2

2014-07-13 Thread Lyude
wl_tablet specifications Version 2 General notes: - Many of the axis values in this are normalized to either 0-65535 or (-65535)-65535. I would leave the axis values as-is since libinput reports them as doubles, but since we only hav