aboutsummaryrefslogtreecommitdiffstats
path: root/coreAPI
diff options
context:
space:
mode:
authorMichael Speth <[email protected]>2012-10-25 19:53:11 +1300
committerMichael Speth <[email protected]>2012-10-25 19:53:11 +1300
commitee150338c2719e42a9eedb8f8f00d4d3d747a65c (patch)
tree2e2c13b3def4cf1ae11968671952cf80e194b95e /coreAPI
parentf9c8ac4bce9998b58d405af70d93ae028891497d (diff)
Applied grab.patch
Diffstat (limited to 'coreAPI')
-rw-r--r--coreAPI/src/java/net/java/games/input/Keyboard.java4
-rw-r--r--coreAPI/src/java/net/java/games/input/Mouse.java4
2 files changed, 8 insertions, 0 deletions
diff --git a/coreAPI/src/java/net/java/games/input/Keyboard.java b/coreAPI/src/java/net/java/games/input/Keyboard.java
index e168869..36dd634 100644
--- a/coreAPI/src/java/net/java/games/input/Keyboard.java
+++ b/coreAPI/src/java/net/java/games/input/Keyboard.java
@@ -66,4 +66,8 @@ public abstract class Keyboard extends AbstractController {
return false;
return key.getPollData() != 0;
}
+
+ public boolean grab(){ return false; }
+
+ public boolean ungrab(){ return false;}
} // class Keyboard
diff --git a/coreAPI/src/java/net/java/games/input/Mouse.java b/coreAPI/src/java/net/java/games/input/Mouse.java
index 74301ff..5fe9cc7 100644
--- a/coreAPI/src/java/net/java/games/input/Mouse.java
+++ b/coreAPI/src/java/net/java/games/input/Mouse.java
@@ -183,4 +183,8 @@ public abstract class Mouse extends AbstractController {
return getComponent(Component.Identifier.Button._4);
}
+ public boolean grab(){ return false; }
+
+ public boolean ungrab(){ return false;}
+
} // class Mouse