aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2005-02-20 13:55:26 +0000
committerCarsten Weisse <[email protected]>2005-02-20 13:55:26 +0000
commit8008377e14de938b383028b3b3f896ba0ac898f3 (patch)
tree81fae8dfe83088c326de65b548744f90fc15c171
parent05d49f4e961b36ed8c928e38d806b94889340d30 (diff)
correct mouse button numbering for lwjgl (left->0, center->2, right->1)
-rw-r--r--src/jake2/sys/LWJGLKBD.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/jake2/sys/LWJGLKBD.java b/src/jake2/sys/LWJGLKBD.java
index ee5117e..2cb8e27 100644
--- a/src/jake2/sys/LWJGLKBD.java
+++ b/src/jake2/sys/LWJGLKBD.java
@@ -84,9 +84,6 @@ public class LWJGLKBD extends KBD {
while (Mouse.next()) {
int button = Mouse.getEventButton();
if (button >= 0) {
- if (button == 1 && mouseHasTwoButtons) {
- button = 2; // A three button mouse numbering scheme...
- }
Do_Key_Event(Key.K_MOUSE1 + button, Mouse.getEventButtonState());
} else {
button = Mouse.getEventDWheel();