aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/include
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-07-07 06:21:38 +0000
committermarha <marha@users.sourceforge.net>2010-07-07 06:21:38 +0000
commit5da15e274b35656568f59602f2e3fd00d5718879 (patch)
treefd10e6e7f99de6769eaef050a63de8e2d55d638d /xorg-server/include
parent1888d52b15666fb0fe1d47c329d92335e6d9157f (diff)
downloadvcxsrv-5da15e274b35656568f59602f2e3fd00d5718879.tar.gz
vcxsrv-5da15e274b35656568f59602f2e3fd00d5718879.tar.bz2
vcxsrv-5da15e274b35656568f59602f2e3fd00d5718879.zip
git update 7/7/2010
Diffstat (limited to 'xorg-server/include')
-rw-r--r--xorg-server/include/input.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/xorg-server/include/input.h b/xorg-server/include/input.h
index e96a44d50..33b94fd3e 100644
--- a/xorg-server/include/input.h
+++ b/xorg-server/include/input.h
@@ -228,14 +228,19 @@ typedef struct _InputAttributes {
#define ATTR_TOUCHPAD (1<<4)
#define ATTR_TOUCHSCREEN (1<<5)
-/* Key has been run through all input processing and events sent to clients. */
+/* Key/Button has been run through all input processing and events sent to clients. */
#define KEY_PROCESSED 1
-/* Key has not been fully processed, no events have been sent. */
+#define BUTTON_PROCESSED 1
+/* Key/Button has not been fully processed, no events have been sent. */
#define KEY_POSTED 2
+#define BUTTON_POSTED 2
extern void set_key_down(DeviceIntPtr pDev, int key_code, int type);
extern void set_key_up(DeviceIntPtr pDev, int key_code, int type);
extern int key_is_down(DeviceIntPtr pDev, int key_code, int type);
+extern void set_button_down(DeviceIntPtr pDev, int button, int type);
+extern void set_button_up(DeviceIntPtr pDev, int button, int type);
+extern int button_is_down(DeviceIntPtr pDev, int button, int type);
extern void InitCoreDevices(void);
extern void InitXTestDevices(void);