Constants and Enumerations¶
-
class
libinput.constant.
EventType
¶ An enumeration.
-
DEVICE_ADDED
= 1¶
-
DEVICE_REMOVED
= 2¶
-
KEYBOARD_KEY
= 300¶
-
POINTER_MOTION
= 400¶
-
POINTER_MOTION_ABSOLUTE
= 401¶
-
POINTER_BUTTON
= 402¶
-
POINTER_AXIS
= 403¶
-
POINTER_SCROLL_WHEEL
= 404¶
-
POINTER_SCROLL_FINGER
= 405¶
-
POINTER_SCROLL_CONTINUOUS
= 406¶
-
TOUCH_DOWN
= 500¶
-
TOUCH_UP
= 501¶
-
TOUCH_MOTION
= 502¶
-
TOUCH_CANCEL
= 503¶
-
TOUCH_FRAME
= 504¶
-
TABLET_TOOL_AXIS
= 600¶
-
TABLET_TOOL_PROXIMITY
= 601¶
-
TABLET_TOOL_TIP
= 602¶
-
TABLET_TOOL_BUTTON
= 603¶
-
TABLET_PAD_BUTTON
= 700¶
-
TABLET_PAD_RING
= 701¶
-
TABLET_PAD_STRIP
= 702¶
-
GESTURE_SWIPE_BEGIN
= 800¶
-
GESTURE_SWIPE_UPDATE
= 801¶
-
GESTURE_SWIPE_END
= 802¶
-
GESTURE_PINCH_BEGIN
= 803¶
-
GESTURE_PINCH_UPDATE
= 804¶
-
GESTURE_PINCH_END
= 805¶
-
GESTURE_HOLD_BEGIN
= 806¶
-
GESTURE_HOLD_END
= 807¶
-
SWITCH_TOGGLE
= 900¶
-
is_device
()¶ Macro to check if this event is a
DeviceNotifyEvent
.
-
is_keyboard
()¶ Macro to check if this event is a
KeyboardEvent
.
-
is_pointer
()¶ Macro to check if this event is a
PointerEvent
.
-
is_touch
()¶ Macro to check if this event is a
TouchEvent
.
-
is_tablet_tool
()¶ Macro to check if this event is a
TabletToolEvent
.
-
is_tablet_pad
()¶ Macro to check if this event is a
TabletPadEvent
.
-
is_gesture
()¶ Macro to check if this event is a
GestureEvent
.
-
is_switch
()¶ Macro to check if this event is a
SwitchEvent
.
-
-
class
libinput.constant.
DeviceCapability
¶ An enumeration.
-
KEYBOARD
= 0¶
-
POINTER
= 1¶
-
TOUCH
= 2¶
-
TABLET_TOOL
= 3¶
-
TABLET_PAD
= 4¶
-
GESTURE
= 5¶
-
SWITCH
= 6¶
-
-
class
libinput.constant.
PointerAxisSource
¶ An enumeration.
-
NONE
= 0¶
-
WHEEL
= 1¶
-
FINGER
= 2¶
-
CONTINUOUS
= 3¶
-
WHEEL_TILT
= 4¶
-
-
class
libinput.constant.
TabletToolType
¶ An enumeration.
-
PEN
= 1¶
-
ERASER
= 2¶
-
BRUSH
= 3¶
-
PENCIL
= 4¶
-
AIRBRUSH
= 5¶
-
MOUSE
= 6¶
-
LENS
= 7¶
-
-
class
libinput.constant.
SendEventsMode
¶ An enumeration.
-
ENABLED
= 0¶
-
DISABLED
= 1¶
-
DISABLED_ON_EXTERNAL_MOUSE
= 2¶
-