mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-21 23:50:45 +01:00
tablet: drop LIBINPUT_TOOL_NONE from the public API
This is only used internally. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com> Reviewed-by: Stephen Chandler Paul <thatslyude@gmail.com>
This commit is contained in:
parent
d0805e41d2
commit
585c30e01e
3 changed files with 1 additions and 4 deletions
|
|
@ -27,6 +27,7 @@
|
|||
#include "evdev.h"
|
||||
|
||||
#define LIBINPUT_TABLET_AXIS_NONE 0
|
||||
#define LIBINPUT_TOOL_NONE 0
|
||||
|
||||
enum tablet_status {
|
||||
TABLET_NONE = 0,
|
||||
|
|
|
|||
|
|
@ -159,7 +159,6 @@ struct libinput_tool;
|
|||
* LIBINPUT_DEVICE_CAP_TABLET capability.
|
||||
*/
|
||||
enum libinput_tool_type {
|
||||
LIBINPUT_TOOL_NONE = -1,
|
||||
LIBINPUT_TOOL_PEN = 0x140, /* Matches BTN_TOOL_PEN */
|
||||
LIBINPUT_TOOL_ERASER,
|
||||
LIBINPUT_TOOL_BRUSH,
|
||||
|
|
|
|||
|
|
@ -340,9 +340,6 @@ print_proximity_event(struct libinput_event *ev)
|
|||
double dist, pressure;
|
||||
|
||||
switch (libinput_tool_get_type(tool)) {
|
||||
case LIBINPUT_TOOL_NONE:
|
||||
tool_str = "none";
|
||||
break;
|
||||
case LIBINPUT_TOOL_PEN:
|
||||
tool_str = "pen";
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue