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:
Peter Hutterer 2014-12-08 13:43:33 +10:00
parent a5d80f02f6
commit 9c9524d9e8
2 changed files with 2 additions and 1 deletions

View file

@ -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 {

View file

@ -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
};
/**