diff options
Diffstat (limited to 'coreAPI/src/java')
-rw-r--r-- | coreAPI/src/java/net/java/games/input/Keyboard.java | 4 | ||||
-rw-r--r-- | coreAPI/src/java/net/java/games/input/Mouse.java | 4 |
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 |