/* * SPDX-License-Identifier: MIT * * Copyright © 2015 Red Hat, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or * sell copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice (including the next * paragraph) shall be included in all copies or substantial portions of the * Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. */ #ifndef _LIBINPUT_PROPERTIES_H_ #define _LIBINPUT_PROPERTIES_H_ /* Tapping enabled/disabled: BOOL, 1 value */ #define LIBINPUT_PROP_TAP "libinput Tapping Enabled" /* Tapping default enabled/disabled: BOOL, 1 value, read-only */ #define LIBINPUT_PROP_TAP_DEFAULT "libinput Tapping Enabled Default" /* Tap drag enabled/disabled: BOOL, 1 value */ #define LIBINPUT_PROP_TAP_DRAG "libinput Tapping Drag Enabled" /* Tap drag default enabled/disabled: BOOL, 1 value, read-only */ #define LIBINPUT_PROP_TAP_DRAG_DEFAULT "libinput Tapping Drag Enabled Default" /* Tap drag lock enabled/disabled: BOOL, 1 value */ #define LIBINPUT_PROP_TAP_DRAG_LOCK "libinput Tapping Drag Lock Enabled" /* Tap drag lock default enabled/disabled: BOOL, 1 value, read-only */ #define LIBINPUT_PROP_TAP_DRAG_LOCK_DEFAULT "libinput Tapping Drag Lock Enabled Default" /* Tap button order: BOOL, 2 values in order LRM, LMR, only one may be set at any time */ #define LIBINPUT_PROP_TAP_BUTTONMAP "libinput Tapping Button Mapping Enabled" /* Tap button default order: BOOL, 2 values in order LRM, LMR, read-only */ #define LIBINPUT_PROP_TAP_BUTTONMAP_DEFAULT "libinput Tapping Button Mapping Default" /* Calibration matrix: FLOAT, 9 values of a 3x3 matrix, in rows */ #define LIBINPUT_PROP_CALIBRATION "libinput Calibration Matrix" /* Calibration matrix: FLOAT, 9 values of a 3x3 matrix, in rows, read-only*/ #define LIBINPUT_PROP_CALIBRATION_DEFAULT "libinput Calibration Matrix Default" /* Pointer accel speed: FLOAT, 1 value, 32 bit */ #define LIBINPUT_PROP_ACCEL "libinput Accel Speed" /* Pointer accel speed: FLOAT, 1 value, 32 bit, read-only*/ #define LIBINPUT_PROP_ACCEL_DEFAULT "libinput Accel Speed Default" /* Pointer accel profile: BOOL, 2 values in order adaptive, flat, * only one is enabled at a time at max, read-only */ #define LIBINPUT_PROP_ACCEL_PROFILES_AVAILABLE "libinput Accel Profiles Available" /* Pointer accel profile: BOOL, 2 values in order adaptive, flat, only one is enabled at a time at max, read-only */ #define LIBINPUT_PROP_ACCEL_PROFILE_ENABLED_DEFAULT "libinput Accel Profile Enabled Default" /* Pointer accel profile: BOOL, 2 values in order adaptive, flat, only one is enabled at a time at max */ #define LIBINPUT_PROP_ACCEL_PROFILE_ENABLED "libinput Accel Profile Enabled" /* Natural scrolling: BOOL, 1 value */ #define LIBINPUT_PROP_NATURAL_SCROLL "libinput Natural Scrolling Enabled" /* Natural scrolling: BOOL, 1 value, read-only */ #define LIBINPUT_PROP_NATURAL_SCROLL_DEFAULT "libinput Natural Scrolling Enabled Default" /* Send-events mode: BOOL read-only, 2 values in order disabled, disabled-on-external-mouse */ #define LIBINPUT_PROP_SENDEVENTS_AVAILABLE "libinput Send Events Modes Available" /* Send-events mode: BOOL, 2 values in order disabled, disabled-on-external-mouse */ #define LIBINPUT_PROP_SENDEVENTS_ENABLED "libinput Send Events Mode Enabled" /* Send-events mode: BOOL, 2 values in order disabled, disabled-on-external-mouse, read-only */ #define LIBINPUT_PROP_SENDEVENTS_ENABLED_DEFAULT "libinput Send Events Mode Enabled Default" /* Left-handed enabled/disabled: BOOL, 1 value */ #define LIBINPUT_PROP_LEFT_HANDED "libinput Left Handed Enabled" /* Left-handed enabled/disabled: BOOL, 1 value, read-only */ #define LIBINPUT_PROP_LEFT_HANDED_DEFAULT "libinput Left Handed Enabled Default" /* Scroll method: BOOL read-only, 3 values in order 2fg, edge, button. shows available scroll methods */ #define LIBINPUT_PROP_SCROLL_METHODS_AVAILABLE "libinput Scroll Methods Available" /* Scroll method: BOOL, 3 values in order 2fg, edge, button only one is enabled at a time at max */ #define LIBINPUT_PROP_SCROLL_METHOD_ENABLED "libinput Scroll Method Enabled" /* Scroll method: BOOL, 3 values in order 2fg, edge, button only one is enabled at a time at max, read-only */ #define LIBINPUT_PROP_SCROLL_METHOD_ENABLED_DEFAULT "libinput Scroll Method Enabled Default" /* Scroll button for button scrolling: 32-bit int, 1 value */ #define LIBINPUT_PROP_SCROLL_BUTTON "libinput Button Scrolling Button" /* Scroll button for button scrolling: 32-bit int, 1 value, read-only */ #define LIBINPUT_PROP_SCROLL_BUTTON_DEFAULT "libinput Button Scrolling Button Default" /* Scroll button lock: BOOL, 1 value, TRUE for enabled, FALSE otherwise */ #define LIBINPUT_PROP_SCROLL_BUTTON_LOCK "libinput Button Scrolling Button Lock Enabled" /* Scroll button lock: BOOL, 1 value, TRUE for enabled, FALSE otherwise, read-only*/ #define LIBINPUT_PROP_SCROLL_BUTTON_LOCK_DEFAULT "libinput Button Scrolling Button Lock Enabled Default" /* Scroll pixel distance: CARD32, 1 value (with implementation-defined limits) */ #define LIBINPUT_PROP_SCROLL_PIXEL_DISTANCE "libinput Scrolling Pixel Distance" /* Scroll pixel distance: CARD32, 1 value, read-only */ #define LIBINPUT_PROP_SCROLL_PIXEL_DISTANCE_DEFAULT "libinput Scrolling Pixel Distance Default" /* Click method: BOOL read-only, 2 values in order buttonareas, clickfinger shows available click methods */ #define LIBINPUT_PROP_CLICK_METHODS_AVAILABLE "libinput Click Methods Available" /* Click method: BOOL, 2 values in order buttonareas, clickfinger only one enabled at a time at max */ #define LIBINPUT_PROP_CLICK_METHOD_ENABLED "libinput Click Method Enabled" /* Click method: BOOL, 2 values in order buttonareas, clickfinger only one enabled at a time at max, read-only */ #define LIBINPUT_PROP_CLICK_METHOD_ENABLED_DEFAULT "libinput Click Method Enabled Default" /* Middle button emulation: BOOL, 1 value */ #define LIBINPUT_PROP_MIDDLE_EMULATION_ENABLED "libinput Middle Emulation Enabled" /* Middle button emulation: BOOL, 1 value, read-only */ #define LIBINPUT_PROP_MIDDLE_EMULATION_ENABLED_DEFAULT "libinput Middle Emulation Enabled Default" /* Disable while typing: BOOL, 1 value */ #define LIBINPUT_PROP_DISABLE_WHILE_TYPING "libinput Disable While Typing Enabled" /* Disable while typing: BOOL, 1 value, read-only */ #define LIBINPUT_PROP_DISABLE_WHILE_TYPING_DEFAULT "libinput Disable While Typing Enabled Default" /* Drag lock buttons, either: CARD8, one value, the meta lock button, or CARD8, n * 2 values, the drag lock pairs with n being the button and n+1 the target button number */ #define LIBINPUT_PROP_DRAG_LOCK_BUTTONS "libinput Drag Lock Buttons" /* Horizontal scroll events enabled: BOOL, 1 value (0 or 1). * If disabled, horizontal scroll events are discarded */ #define LIBINPUT_PROP_HORIZ_SCROLL_ENABLED "libinput Horizontal Scroll Enabled" /* Number of modes each pad mode group has available: CARD8, one for each * pad mode group, read-only. */ #define LIBINPUT_PROP_TABLET_PAD_MODE_GROUPS_AVAILABLE "libinput Pad Mode Groups Modes Available" /* Mode each pad mode group is currently in: CARD8, one for each pad mode * group, read-only. */ #define LIBINPUT_PROP_TABLET_PAD_MODE_GROUPS "libinput Pad Mode Groups Modes" /* The association of each logical button with the pad mode group: INT8, * one for each logical button. If set to -1 the button cannot be associated * with a mode group. read-only */ #define LIBINPUT_PROP_TABLET_PAD_MODE_GROUP_BUTTONS "libinput Pad Mode Group Buttons" /* The association of each logical strip with the pad mode group: INT8, * one for each logical strip. If set to -1 the strip cannot be associated * with a mode group. read-only */ #define LIBINPUT_PROP_TABLET_PAD_MODE_GROUP_STRIPS "libinput Pad Mode Group Strips" /* The association of each logical ring with the pad mode group: INT8, * one for each logical ring. If set to -1 the ring cannot be associated * with a mode group. read-only */ #define LIBINPUT_PROP_TABLET_PAD_MODE_GROUP_RINGS "libinput Pad Mode Group Rings" /* Device rotation: FLOAT, 1 value, 32 bit */ #define LIBINPUT_PROP_ROTATION_ANGLE "libinput Rotation Angle" /* Device rotation: FLOAT, 1 value, 32 bit, read-only */ #define LIBINPUT_PROP_ROTATION_ANGLE_DEFAULT "libinput Rotation Angle Default" /* Tablet tool pressure curve: float, 8 values, 32 bit * Value range is [0.0, 1.0], the values specify the x/y of the four * control points for a cubic bezier curve. * Default value: 0.0 0.0 0.0 0.0 1.0 1.0 1.0 1.0 */ #define LIBINPUT_PROP_TABLET_TOOL_PRESSURECURVE "libinput Tablet Tool Pressurecurve" /* Tablet tool area ratio: CARD32, 2 values, w and h */ #define LIBINPUT_PROP_TABLET_TOOL_AREA_RATIO "libinput Tablet Tool Area Ratio" /* High-resolution wheel scroll events enabled: BOOL, 1 value (0 or 1). * If disabled, high-resolution wheel scroll events are discarded */ #define LIBINPUT_PROP_HIRES_WHEEL_SCROLL_ENABLED "libinput High Resolution Wheel Scroll Enabled" #endif /* _LIBINPUT_PROPERTIES_H_ */