mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-10 10:00:32 +01:00
Drop LIBINPUT_TABLET_AXIS_CNT from the public API
Avoid mismatches in what the caller expects vs what libinput actually provides when building against newer/older versions of libinput. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
a5d80f02f6
commit
9c9524d9e8
2 changed files with 2 additions and 1 deletions
|
|
@ -30,6 +30,8 @@
|
|||
#include "libinput.h"
|
||||
#include "libinput-util.h"
|
||||
|
||||
#define LIBINPUT_TABLET_AXIS_CNT LIBINPUT_TABLET_AXIS_TILT_Y + 1
|
||||
|
||||
struct libinput_source;
|
||||
|
||||
struct libinput_interface_backend {
|
||||
|
|
|
|||
|
|
@ -277,7 +277,6 @@ enum libinput_tablet_axis {
|
|||
LIBINPUT_TABLET_AXIS_PRESSURE = 3,
|
||||
LIBINPUT_TABLET_AXIS_TILT_X = 4,
|
||||
LIBINPUT_TABLET_AXIS_TILT_Y = 5,
|
||||
LIBINPUT_TABLET_AXIS_CNT = LIBINPUT_TABLET_AXIS_TILT_Y + 1
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue