The C and C++ Include Header Files
/usr/include/xorg/Xwacom.h
$ cat -n /usr/include/xorg/Xwacom.h 1 /* 2 * Copyright 2003 by John Joganic
3 * Copyright 2003 - 2009 by Ping Cheng
4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License 7 * as published by the Free Software Foundation; either version 2 8 * of the License, or (at your option) any later version. 9 * 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
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 |
is a key press for key
. 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 /* DEPRECATED: has no effect (used to toggle among screens) */ 63 #define AC_PANSCROLL 0x00050000 /* Enter/exit panscroll mode */ 64 #define AC_BUTTON 0x00080000 /* Emit button events */ 65 #define AC_TYPE 0x000f0000 /* The mask to isolate event type bits */ 66 #define AC_KEYBTNPRESS 0x00100000 /* bit set for key/button presses */ 67 #define AC_CORE 0x10000000 /* DEPRECATED: has no effect */ 68 #define AC_EVENT 0xf00f0000 /* Mask to isolate event flag */ 69 70 #endif /* __XORG_XWACOM_H */
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2024 MyWebUniversity.com ™