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 |
01: /* 02: * Copyright 2003 by John Joganic <john@joganic.com> 03: * Copyright 2003 - 2009 by Ping Cheng <pingc@wacom.com> 04: * 05: * This program is free software; you can redistribute it and/or 06: * modify it under the terms of the GNU General Public License 07: * as published by the Free Software Foundation; either version 2 08: * of the License, or (at your option) any later version. 09: * 10: * This program is distributed in the hope that it will be useful, 11: * but WITHOUT ANY WARRANTY; without even the implied warranty of 12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13: * GNU General Public License for more details. 14: * 15: * You should have received a copy of the GNU General Public License 16: * along with this program; if not, write to the Free Software 17: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18: */ 19: 20: /** 21: * @mainpage The X.Org Wacom Input Driver API Documentation 22: * @section intro Introduction 23: * The Linux Wacom Project manages the drivers, libraries, and documentation 24: * for configuring and running Wacom tablets under the Linux operating system. 25: * It contains diagnostic applications and X.Org input drivers 26: * for servers 1.7 and later. 27: */ 28: 29: #ifndef __XORG_XWACOM_H 30: #define __XORG_XWACOM_H 31: 32: #include <X11/keysym.h> 33: 34: #define TV_NONE 0 35: #define TV_ABOVE_BELOW 1 36: #define TV_LEFT_RIGHT 2 37: #define TV_BELOW_ABOVE 3 38: #define TV_RIGHT_LEFT 4 39: #define TV_MAX 4 40: 41: #define ROTATE_NONE 0 42: #define ROTATE_CW 1 43: #define ROTATE_CCW 2 44: #define ROTATE_HALF 3 45: 46: /* The following flags are used for button action property values to mark 47: * the type of event that should be emitted when that button is pressed; 48: * combined together they form an Action Code (AC). Each button has up to 49: * 256 actions on press, where a zero terminates the actions. 50: * 51: * e.g. 52: * AC_KEY | AC_KEYBTNPRESS | <keycode> is a key press for key <keycode>. 53: * AC_BUTTON | AC_KEYBTNPRESS | 1 is a button press for 1 54: * AC_BUTTON | 1 is a button release for 1 55: * 56: * if no action is set for a button, the button behaves normally. 57: */ 58: #define AC_CODE 0x0000ffff /* Mask to isolate button number or key code */ 59: #define AC_KEY 0x00010000 /* Emit key events */ 60: #define AC_MODETOGGLE 0x00020000 /* Toggle absolute/relative mode */ 61: #define AC_DBLCLICK 0x00030000 /* DEPRECATED: use two button events instead */ 62: #define AC_DISPLAYTOGGLE 0x00040000 /* Toggle among screens */ 63: #define AC_BUTTON 0x00080000 /* Emit button events */ 64: #define AC_TYPE 0x000f0000 /* The mask to isolate event type bits */ 65: #define AC_KEYBTNPRESS 0x00100000 /* bit set for key/button presses */ 66: #define AC_CORE 0x10000000 /* DEPRECATED: has no effect */ 67: #define AC_EVENT 0xf00f0000 /* Mask to isolate event flag */ 68: 69: #endif /* __XORG_XWACOM_H */ 70: