|
From: <eli...@us...> - 2007-06-06 09:01:10
|
Revision: 2842
http://svn.sourceforge.net/java-game-lib/?rev=2842&view=rev
Author: elias_naur
Date: 2007-06-06 02:01:09 -0700 (Wed, 06 Jun 2007)
Log Message:
-----------
Removed dead code from WindowsKeyboard
Modified Paths:
--------------
trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsKeyboard.java
Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsKeyboard.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsKeyboard.java 2007-06-06 08:38:45 UTC (rev 2841)
+++ trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsKeyboard.java 2007-06-06 09:01:09 UTC (rev 2842)
@@ -112,7 +112,6 @@
}
private int translateShift(int scan_code, byte state) {
- int state_mask = state != 0 ? 0x8000 : 0x0000;
if (checkShiftKey(WindowsKeycodes.VK_LSHIFT, state)) {
return WindowsKeycodes.VK_LSHIFT;
} else if (checkShiftKey(WindowsKeycodes.VK_RSHIFT, state)) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|