Revision: 2893
http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=2893&view=rev
Author: elias_naur
Date: 2007-08-28 01:02:24 -0700 (Tue, 28 Aug 2007)
Log Message:
-----------
Added KEY_LMETA and KEY_RMETA to Keyboard to replace the windows centric KEY_LWIN and KEY_RWIN, which are now deprecated
Modified Paths:
--------------
trunk/LWJGL/src/java/org/lwjgl/input/Keyboard.java
Modified: trunk/LWJGL/src/java/org/lwjgl/input/Keyboard.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/input/Keyboard.java 2007-08-28 07:43:20 UTC (rev 2892)
+++ trunk/LWJGL/src/java/org/lwjgl/input/Keyboard.java 2007-08-28 08:02:24 UTC (rev 2893)
@@ -189,8 +189,20 @@
public static final int KEY_NEXT = 0xD1; /* PgDn on arrow keypad */
public static final int KEY_INSERT = 0xD2; /* Insert on arrow keypad */
public static final int KEY_DELETE = 0xD3; /* Delete on arrow keypad */
- public static final int KEY_LWIN = 0xDB; /* Left Windows key */
- public static final int KEY_RWIN = 0xDC; /* Right Windows key */
+ public static final int KEY_LMETA = 0xDB; /* Left Windows/Option key */
+ /**
+ * The left windows key, mapped to KEY_LMETA
+ *
+ * @Deprecated Use KEY_LMETA instead
+ */
+ public static final int KEY_LWIN = KEY_LMETA; /* Left Windows key */
+ public static final int KEY_RMETA = 0xDC; /* Right Windows/Option key */
+ /**
+ * The right windows key, mapped to KEY_RMETA
+ *
+ * @Deprecated Use KEY_RMETA instead
+ */
+ public static final int KEY_RWIN = KEY_RMETA; /* Right Windows key */
public static final int KEY_APPS = 0xDD; /* AppMenu key */
public static final int KEY_POWER = 0xDE;
public static final int KEY_SLEEP = 0xDF;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|