diff options
author | Sven Gothel <[email protected]> | 2012-11-21 21:33:24 -0800 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-11-21 21:33:24 -0800 |
commit | d0737cc4a34a41ad9bdac7de379250cacbf55a1d (patch) | |
tree | 4eab32d5cb34e1c45c6cf6f3192dfe5821d12bd9 /coreAPI/src/java | |
parent | f9c8ac4bce9998b58d405af70d93ae028891497d (diff) | |
parent | ed3c33ad8fb52c0266222fdfd57d543a7b2f96b6 (diff) |
Merge pull request #1 from Conzar/grab
Grab
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 |