xserver-properties.h revision 8c3d541c7ee7442f570b22eca3d82808b35b0385
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * Copyright 2008 Red Hat, Inc.
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * Permission is hereby granted, free of charge, to any person obtaining a
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * copy of this software and associated documentation files (the "Software")
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * to deal in the software without restriction, including without limitation
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * on the rights to use, copy, modify, merge, publish, distribute, sub
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * license, and/or sell copies of the Software, and to permit persons to whom
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * them Software is furnished to do so, subject to the following conditions:
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * The above copyright notice and this permission notice (including the next
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * paragraph) shall be included in all copies or substantial portions of the
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * Software.
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTIBILITY,
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF OR IN
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync/* Properties managed by the server. */
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync/* Type for a 4 byte float. Storage format IEEE 754 in client's default
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * byte-ordering. */
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync/* BOOL. 0 - device disabled, 1 - device enabled */
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync/* BOOL. If present, device is a virtual XTEST device */
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync/* Coordinate transformation matrix for absolute input devices
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * FLOAT, 9 values in row-major order, coordinates in 0..1 range:
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * [c0 c1 c2] [x]
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * [c3 c4 c5] * [y]
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * [c6 c7 c8] [1] */
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define XI_PROP_TRANSFORM "Coordinate Transformation Matrix"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync/* Pointer acceleration properties */
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync/* INTEGER of any format */
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define ACCEL_PROP_PROFILE_NUMBER "Device Accel Profile"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync/* FLOAT, format 32 */
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define ACCEL_PROP_CONSTANT_DECELERATION "Device Accel Constant Deceleration"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync/* FLOAT, format 32 */
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define ACCEL_PROP_ADAPTIVE_DECELERATION "Device Accel Adaptive Deceleration"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync/* FLOAT, format 32 */
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define ACCEL_PROP_VELOCITY_SCALING "Device Accel Velocity Scaling"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync/* Axis labels */
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define AXIS_LABEL_PROP_REL_HWHEEL "Rel Horiz Wheel"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * Absolute axes
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define AXIS_LABEL_PROP_ABS_TOOL_WIDTH "Abs Tool Width"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define AXIS_LABEL_PROP_ABS_MT_TOUCH_MAJOR "Abs MT Touch Major"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define AXIS_LABEL_PROP_ABS_MT_TOUCH_MINOR "Abs MT Touch Minor"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define AXIS_LABEL_PROP_ABS_MT_WIDTH_MAJOR "Abs MT Width Major"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define AXIS_LABEL_PROP_ABS_MT_WIDTH_MINOR "Abs MT Width Minor"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define AXIS_LABEL_PROP_ABS_MT_ORIENTATION "Abs MT Orientation"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define AXIS_LABEL_PROP_ABS_MT_POSITION_X "Abs MT Position X"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define AXIS_LABEL_PROP_ABS_MT_POSITION_Y "Abs MT Position Y"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define AXIS_LABEL_PROP_ABS_MT_TOOL_TYPE "Abs MT Tool Type"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define AXIS_LABEL_PROP_ABS_MT_BLOB_ID "Abs MT Blob ID"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define AXIS_LABEL_PROP_ABS_MT_TRACKING_ID "Abs MT Tracking ID"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define AXIS_LABEL_PROP_ABS_MT_PRESSURE "Abs MT Pressure"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync/* Button names */
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync/* Default label */
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync/* Wheel buttons */
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define BTN_LABEL_PROP_BTN_WHEEL_UP "Button Wheel Up"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define BTN_LABEL_PROP_BTN_WHEEL_DOWN "Button Wheel Down"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define BTN_LABEL_PROP_BTN_HWHEEL_LEFT "Button Horiz Wheel Left"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define BTN_LABEL_PROP_BTN_HWHEEL_RIGHT "Button Horiz Wheel Right"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync/* The following are from linux/input.h */
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define BTN_LABEL_PROP_BTN_THUMBL "Button Thumb Left"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define BTN_LABEL_PROP_BTN_THUMBR "Button Thumb Right"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define BTN_LABEL_PROP_BTN_TOOL_PEN "Button Tool Pen"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define BTN_LABEL_PROP_BTN_TOOL_RUBBER "Button Tool Rubber"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define BTN_LABEL_PROP_BTN_TOOL_BRUSH "Button Tool Brush"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define BTN_LABEL_PROP_BTN_TOOL_PENCIL "Button Tool Pencil"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define BTN_LABEL_PROP_BTN_TOOL_AIRBRUSH "Button Tool Airbrush"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define BTN_LABEL_PROP_BTN_TOOL_FINGER "Button Tool Finger"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define BTN_LABEL_PROP_BTN_TOOL_MOUSE "Button Tool Mouse"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define BTN_LABEL_PROP_BTN_TOOL_LENS "Button Tool Lens"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define BTN_LABEL_PROP_BTN_TOOL_DOUBLETAP "Button Tool Doubletap"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define BTN_LABEL_PROP_BTN_TOOL_TRIPLETAP "Button Tool Tripletap"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define BTN_LABEL_PROP_BTN_GEAR_DOWN "Button Gear down"