aboutsummaryrefslogtreecommitdiffstats
path: root/coreAPI/src/java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-11-21 21:33:24 -0800
committerSven Gothel <[email protected]>2012-11-21 21:33:24 -0800
commitd0737cc4a34a41ad9bdac7de379250cacbf55a1d (patch)
tree4eab32d5cb34e1c45c6cf6f3192dfe5821d12bd9 /coreAPI/src/java
parentf9c8ac4bce9998b58d405af70d93ae028891497d (diff)
parented3c33ad8fb52c0266222fdfd57d543a7b2f96b6 (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.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