aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/jogl/KeyEvent.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2008-05-30 08:54:41 +0000
committerSven Gothel <[email protected]>2008-05-30 08:54:41 +0000
commitefcbd94ea40dd4fb532707765535bd1af1639a03 (patch)
tree93165a826d9935d507c23844d3deafa195968b94 /src/native/jogl/KeyEvent.h
parent1ff64b2c2aa841964343b21aff2927abc510f093 (diff)
Completing com.sun.javafx.newt.* package, WIP, compile clean, but untested.
- Input Event Handling: Mouse and Keyboard. - X11 port - Using the VisualID to construct the native window. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1651 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/native/jogl/KeyEvent.h')
-rw-r--r--src/native/jogl/KeyEvent.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/native/jogl/KeyEvent.h b/src/native/jogl/KeyEvent.h
new file mode 100644
index 000000000..fed4636b1
--- /dev/null
+++ b/src/native/jogl/KeyEvent.h
@@ -0,0 +1,10 @@
+
+#ifndef _KEY_EVENT_H_
+#define _KEY_EVENT_H_
+
+#define EVENT_KEY_PRESSED (1 << 0)
+#define EVENT_KEY_RELEASED (1 << 1)
+// Send by Java: EVENT_KEY_TYPED (1 << 2)
+
+#endif
+