home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / xorg / wacom-properties.h < prev    next >
Encoding:
C/C++ Source or Header  |  2011-08-24  |  3.6 KB  |  111 lines

  1. /*
  2.  * Copyright 2009 Red Hat, Inc.
  3.  *
  4.  * This program is free software; you can redistribute it and/or
  5.  * modify it under the terms of the GNU General Public License
  6.  * as published by the Free Software Foundation; either version 2
  7.  * of the License, or (at your option) any later version.
  8.  *
  9.  * This program is distributed in the hope that it will be useful,
  10.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.  * GNU General Public License for more details.
  13.  *
  14.  * You should have received a copy of the GNU General Public License
  15.  * along with this program; if not, write to the Free Software
  16.  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  17.  */
  18.  
  19. #ifndef _WACOM_PROPERTIES_H_
  20. #define _WACOM_PROPERTIES_H_
  21.  
  22. /**
  23.  * Properties exported by the wacom driver. These properties are
  24.  * recognized by the driver and will change its behavior when modified.
  25.  */
  26.  
  27. /* 32 bit, 4 values, top x, top y, bottom x, bottom y */
  28. #define WACOM_PROP_TABLET_AREA "Wacom Tablet Area"
  29.  
  30. /* 8 bit, 1 value, [0 - 3] (NONE, CW, CCW, HALF) */
  31. #define WACOM_PROP_ROTATION "Wacom Rotation"
  32.  
  33. /* 32 bit, 4 values */
  34. #define WACOM_PROP_PRESSURECURVE "Wacom Pressurecurve"
  35.  
  36. /* 32 bit, 4 values, tablet id, old serial, old device id, serial */
  37. #define WACOM_PROP_SERIALIDS "Wacom Serial IDs"
  38.  
  39. /* 8 bit, 4 values, left up, left down, right up, right down
  40.    OR
  41.    Atom, 4 values , left up, left down, right up, right down
  42.   */
  43. #define WACOM_PROP_STRIPBUTTONS "Wacom Strip Buttons"
  44.  
  45. /* 8 bit, 4 values, up, down, wheel up, wheel down
  46.    OR
  47.    Atom, 4 values , up, down, wheel up, wheel down
  48.  */
  49. #define WACOM_PROP_WHEELBUTTONS "Wacom Wheel Buttons"
  50.  
  51. /* 32 bit, 4 values */
  52. #define WACOM_PROP_TWINVIEW_RES "Wacom TwinView Resolution"
  53.  
  54. /* DEPRECATED. DO NOT USE */
  55. #define WACOM_PROP_DISPLAY_OPTS "Wacom Display Options"
  56.  
  57. /* DEPRECATED. DO NOT USE */
  58. #define WACOM_PROP_SCREENAREA "Wacom Screen Area"
  59.  
  60. /* 32 bit, 1 value */
  61. #define WACOM_PROP_PROXIMITY_THRESHOLD "Wacom Proximity Threshold"
  62.  
  63. /* 32 bit, 1 value */
  64. #define WACOM_PROP_CAPACITY "Wacom Capacity"
  65.  
  66. /* 32 bit, 1 value */
  67. #define WACOM_PROP_PRESSURE_THRESHOLD "Wacom Pressure Threshold"
  68.  
  69. /* 32 bit, 2 values, sample, suppress */
  70. #define WACOM_PROP_SAMPLE "Wacom Sample and Suppress"
  71.  
  72. /* BOOL, 1 value */
  73. #define WACOM_PROP_TOUCH "Wacom Enable Touch"
  74.  
  75. /* 8 bit, 1 values */
  76. #define WACOM_PROP_ENABLE_GESTURE "Wacom Enable Touch Gesture"
  77.  
  78. /* 32 bit, 3 values, zoom, rotate, tap parameters */
  79. #define WACOM_PROP_GESTURE_PARAMETERS "Wacom Touch Gesture Parameters"
  80.  
  81. /* BOOL, 1 value */
  82. #define WACOM_PROP_HOVER "Wacom Hover Click"
  83.  
  84. /* Atom, 1 value, read-only */
  85. #define WACOM_PROP_TOOL_TYPE "Wacom Tool Type"
  86.  
  87. /* Atom, X values where X is the number of physical buttons.
  88.    Each value points to an atom containing the sequence of actions performed
  89.    if this button is pressed. If the value is None, no action is performed.
  90.  */
  91. #define WACOM_PROP_BUTTON_ACTIONS "Wacom Button Actions"
  92.  
  93. /* 8 bit, 2 values, priv->debugLevel and common->debugLevel. This property
  94.  * is for use in the driver only and only enabled if --enable-debug is
  95.  * given. No client may rely on this property being present or working.
  96.  */
  97. #define WACOM_PROP_DEBUGLEVELS "Wacom Debug Levels"
  98.  
  99.  
  100. /* The following are tool types used by the driver in WACOM_PROP_TOOL_TYPE
  101.  * or in the 'type' field for XI1 clients. Clients may check for one of
  102.  * these types to identify tool types.
  103.  */
  104. #define WACOM_PROP_XI_TYPE_STYLUS "STYLUS"
  105. #define WACOM_PROP_XI_TYPE_CURSOR "CURSOR"
  106. #define WACOM_PROP_XI_TYPE_ERASER "ERASER"
  107. #define WACOM_PROP_XI_TYPE_PAD    "PAD"
  108. #define WACOM_PROP_XI_TYPE_TOUCH  "TOUCH"
  109.  
  110. #endif
  111.