summaryrefslogtreecommitdiff
path: root/hw/xquartz/darwinEvents.h
diff options
context:
space:
mode:
authorBen Byer <bbyer@bushing.apple.com>2008-03-28 20:47:44 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-03-31 16:44:23 -0700
commita4d034941100c6ca3b7cc4e59952c2745b9306cc (patch)
tree77b9ed20eab70690d5b523bf69e43f9187a67861 /hw/xquartz/darwinEvents.h
parent6648867d8bd1e86458d2ade77a3ee4567c3d6a97 (diff)
Add code to track 5 valuators for pointing device, in preparation
for supporting tablet input in Xquartz. (cherry picked from commit 22c8849ea819eb70a14b2e06330b11b22aa63ebc)
Diffstat (limited to 'hw/xquartz/darwinEvents.h')
-rw-r--r--hw/xquartz/darwinEvents.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/hw/xquartz/darwinEvents.h b/hw/xquartz/darwinEvents.h
index 82cc26bc0..496061420 100644
--- a/hw/xquartz/darwinEvents.h
+++ b/hw/xquartz/darwinEvents.h
@@ -32,9 +32,13 @@ void DarwinEQEnqueue(const xEventPtr e);
void DarwinEQPointerPost(DeviceIntPtr pDev, xEventPtr e);
void DarwinEQSwitchScreen(ScreenPtr pScreen, Bool fromDIX);
void DarwinPokeEQ(void);
-void DarwinSendPointerEvents(int ev_type, int ev_button, int pointer_x, int pointer_y);
+void DarwinSendPointerEvents(int ev_type, int ev_button, int pointer_x, int pointer_y,
+ float pressure, float tilt_x, float tilt_y);
+void DarwinSendProximityEvents(int ev_type, int pointer_x, int pointer_y,
+ float pressure, float tilt_x, float tilt_y);
void DarwinSendKeyboardEvents(int ev_type, int keycode);
-void DarwinSendScrollEvents(float count, int pointer_x, int pointer_y);
+void DarwinSendScrollEvents(float count, int pointer_x, int pointer_y,
+ float pressure, float tilt_x, float tilt_y);
void DarwinUpdateModKeys(int flags);
#endif /* _DARWIN_EVENTS_H */