summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/egl/KD/NV_multitouch.h
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2009-06-15 22:57:38 +0000
committerKenneth Russel <[email protected]>2009-06-15 22:57:38 +0000
commita959c53b7ac91e489bf0959391e892790b9ff248 (patch)
tree4664742a4f9f6daa694364292e376ad2e6ee97d1 /make/stub_includes/egl/KD/NV_multitouch.h
parent506b634b780dcd23aa61015c2ceba3e687196abf (diff)
Copied JOGL_2_SANDBOX r1957 on to trunk; JOGL_2_SANDBOX branch is now closed
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1959 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/stub_includes/egl/KD/NV_multitouch.h')
-rwxr-xr-xmake/stub_includes/egl/KD/NV_multitouch.h70
1 files changed, 70 insertions, 0 deletions
diff --git a/make/stub_includes/egl/KD/NV_multitouch.h b/make/stub_includes/egl/KD/NV_multitouch.h
new file mode 100755
index 000000000..5a9b9243b
--- /dev/null
+++ b/make/stub_includes/egl/KD/NV_multitouch.h
@@ -0,0 +1,70 @@
+/*
+ * Copyright (c) 2007 NVIDIA Corporation. All rights reserved.
+ *
+ * NVIDIA Corporation and its licensors retain all intellectual property
+ * and proprietary rights in and to this software, related documentation
+ * and any modifications thereto. Any use, reproduction, disclosure or
+ * distribution of this software and related documentation without an express
+ * license agreement from NVIDIA Corporation is strictly prohibited.
+ */
+
+
+#ifndef __kd_NV_multitouch_h_
+#define __kd_NV_multitouch_h_
+#include <KD/kd.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+
+/* KD_IOGROUP_MULTITOUCH: I/O group for Multitouch input devices. */
+#define KD_IOGROUP_MULTITOUCH_NV 0x40004000
+#define KD_STATE_MULTITOUCH_AVAILABILITY_NV (KD_IOGROUP_MULTITOUCH_NV + 0)
+#define KD_INPUT_MULTITOUCH_FINGERS_NV (KD_IOGROUP_MULTITOUCH_NV + 1)
+#define KD_INPUT_MULTITOUCH_WIDTH_NV (KD_IOGROUP_MULTITOUCH_NV + 2)
+#define KD_INPUT_MULTITOUCH_X_NV (KD_IOGROUP_MULTITOUCH_NV + 3)
+#define KD_INPUT_MULTITOUCH_Y_NV (KD_IOGROUP_MULTITOUCH_NV + 4)
+#define KD_INPUT_MULTITOUCH_X2_NV (KD_IOGROUP_MULTITOUCH_NV + 5)
+#define KD_INPUT_MULTITOUCH_Y2_NV (KD_IOGROUP_MULTITOUCH_NV + 6)
+#define KD_INPUT_MULTITOUCH_PRESSURE_NV (KD_IOGROUP_MULTITOUCH_NV + 7)
+#define KD_INPUT_MULTITOUCH_GESTURES_NV (KD_IOGROUP_MULTITOUCH_NV + 8)
+#define KD_INPUT_MULTITOUCH_RELX_NV (KD_IOGROUP_MULTITOUCH_NV + 9)
+#define KD_INPUT_MULTITOUCH_RELY_NV (KD_IOGROUP_MULTITOUCH_NV + 10)
+
+
+
+/* KD_EVENT_INPUT_MULTITOUCH_NV: Multitouch event. */
+#define KD_EVENT_INPUT_MULTITOUCH_NV 1001
+typedef struct KDEventInputMultitouchDataNV {
+ KDint32 index;
+ KDint8 fingers;
+ KDint8 width;
+ KDint16 x;
+ KDint16 y;
+ KDint16 x2;
+ KDint16 y2;
+ KDint16 pressure;
+} KDEventInputMultitouchDataNV;
+
+
+/* KD_EVENT_INPUT_MULTITOUCH_GESTURE_NV: Multitouch gesture event. */
+#define KD_EVENT_INPUT_MULTITOUCH_GESTURE_NV 1002
+
+
+/* kdGetEventInputMultitouchDataNV: Get auxiliary event data for multitouch input. */
+KD_API KDint KD_APIENTRY kdGetEventInputMultitouchDataNV(const KDEvent * event, KDEventInputMultitouchDataNV * data);
+
+/* kdSetEventInputMultitouchActiveNV: Activate Multitouch input events */
+KD_API KDint KD_APIENTRY kdSetEventInputMultitouchActiveNV(KDboolean activate);
+
+/* kdEnableEventInputMultitouchMergeNV: Activate merging of Multitouch input events */
+KD_API void KD_APIENTRY kdEnableEventInputMultitouchMergeNV(KDboolean enable);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __kd_NV_multitouch_h_ */
+