June 2025 | ||||||
Mo | Tu | We | Th | Fr | Sa | Su |
26 | 27 | 28 | 29 | 30 | 31 | 1 |
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 1 | 2 | 3 | 4 | 5 | 6 |
001: /* 002: * Copyright 2009 Red Hat, Inc. 003: * 004: * This program is free software; you can redistribute it and/or 005: * modify it under the terms of the GNU General Public License 006: * as published by the Free Software Foundation; either version 2 007: * of the License, or (at your option) any later version. 008: * 009: * This program is distributed in the hope that it will be useful, 010: * but WITHOUT ANY WARRANTY; without even the implied warranty of 011: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 012: * GNU General Public License for more details. 013: * 014: * You should have received a copy of the GNU General Public License 015: * along with this program; if not, write to the Free Software 016: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 017: */ 018: 019: #ifndef _WACOM_PROPERTIES_H_ 020: #define _WACOM_PROPERTIES_H_ 021: 022: /** 023: * Properties exported by the wacom driver. These properties are 024: * recognized by the driver and will change its behavior when modified. 025: */ 026: 027: /* 32 bit, 4 values, top x, top y, bottom x, bottom y */ 028: #define WACOM_PROP_TABLET_AREA "Wacom Tablet Area" 029: 030: /* 8 bit, 1 value, [0 - 3] (NONE, CW, CCW, HALF) */ 031: #define WACOM_PROP_ROTATION "Wacom Rotation" 032: 033: /* 32 bit, 4 values */ 034: #define WACOM_PROP_PRESSURECURVE "Wacom Pressurecurve" 035: 036: /* CARD32, 5 values, tablet id, old serial, old hw device id, 037: current serial, current device id 038: read-only 039: */ 040: #define WACOM_PROP_SERIALIDS "Wacom Serial IDs" 041: 042: /* CARD32, 1 value */ 043: #define WACOM_PROP_SERIAL_BIND "Wacom Serial ID binding" 044: 045: /* 8 bit, 4 values, left up, left down, right up, right down 046: OR 047: Atom, 4 values , left up, left down, right up, right down 048: */ 049: #define WACOM_PROP_STRIPBUTTONS "Wacom Strip Buttons" 050: 051: /* 8 bit, 6 values, rel wheel up, rel wheel down, abs wheel up, abs wheel down, abs wheel 2 up, abs wheel 2 down 052: OR 053: Atom, 6 values , rel wheel up, rel wheel down, abs wheel up, abs wheel down, abs wheel 2 up, abs wheel 2 down 054: */ 055: #define WACOM_PROP_WHEELBUTTONS "Wacom Wheel Buttons" 056: 057: /* DEPRECATED, DO NOT USE */ 058: #define WACOM_PROP_TWINVIEW_RES "Wacom TwinView Resolution" 059: 060: /* DEPRECATED. DO NOT USE */ 061: #define WACOM_PROP_DISPLAY_OPTS "Wacom Display Options" 062: 063: /* DEPRECATED. DO NOT USE */ 064: #define WACOM_PROP_SCREENAREA "Wacom Screen Area" 065: 066: /* 32 bit, 1 value */ 067: #define WACOM_PROP_PROXIMITY_THRESHOLD "Wacom Proximity Threshold" 068: 069: /* DEPRECATED. DO NOT USE */ 070: #define WACOM_PROP_CAPACITY "Wacom Capacity" 071: 072: /* 32 bit, 1 value */ 073: #define WACOM_PROP_PRESSURE_THRESHOLD "Wacom Pressure Threshold" 074: 075: /* 32 bit, 2 values, sample, suppress */ 076: #define WACOM_PROP_SAMPLE "Wacom Sample and Suppress" 077: 078: /* BOOL, 1 value */ 079: #define WACOM_PROP_TOUCH "Wacom Enable Touch" 080: 081: /* 8 bit, 1 values */ 082: #define WACOM_PROP_ENABLE_GESTURE "Wacom Enable Touch Gesture" 083: 084: /* 32 bit, 3 values, zoom, rotate, tap parameters */ 085: #define WACOM_PROP_GESTURE_PARAMETERS "Wacom Touch Gesture Parameters" 086: 087: /* BOOL, 1 value, 088: TRUE == hover click is enabled, FALSE == hover click disabled */ 089: #define WACOM_PROP_HOVER "Wacom Hover Click" 090: 091: /* Atom, 1 value, read-only */ 092: #define WACOM_PROP_TOOL_TYPE "Wacom Tool Type" 093: 094: /* Atom, X values where X is the number of physical buttons. 095: Each value points to an atom containing the sequence of actions performed 096: if this button is pressed. If the value is None, no action is performed. 097: */ 098: #define WACOM_PROP_BUTTON_ACTIONS "Wacom Button Actions" 099: 100: /* 8 bit, 2 values, priv->debugLevel and common->debugLevel. This property 101: * is for use in the driver only and only enabled if --enable-debug is 102: * given. No client may rely on this property being present or working. 103: */ 104: #define WACOM_PROP_DEBUGLEVELS "Wacom Debug Levels" 105: 106: 107: /* The following are tool types used by the driver in WACOM_PROP_TOOL_TYPE 108: * or in the 'type' field for XI1 clients. Clients may check for one of 109: * these types to identify tool types. 110: */ 111: #define WACOM_PROP_XI_TYPE_STYLUS "STYLUS" 112: #define WACOM_PROP_XI_TYPE_CURSOR "CURSOR" 113: #define WACOM_PROP_XI_TYPE_ERASER "ERASER" 114: #define WACOM_PROP_XI_TYPE_PAD "PAD" 115: #define WACOM_PROP_XI_TYPE_TOUCH "TOUCH" 116: 117: #endif 118: