aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/awt
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/awt')
-rw-r--r--plugins/awt/src/net/java/games/input/AWTEnvironmentPlugin.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/awt/src/net/java/games/input/AWTEnvironmentPlugin.java b/plugins/awt/src/net/java/games/input/AWTEnvironmentPlugin.java
index 96e5986..b6b062a 100644
--- a/plugins/awt/src/net/java/games/input/AWTEnvironmentPlugin.java
+++ b/plugins/awt/src/net/java/games/input/AWTEnvironmentPlugin.java
@@ -34,7 +34,8 @@ import net.java.games.util.plugins.Plugin;
* @author elias
*/
public class AWTEnvironmentPlugin extends ControllerEnvironment implements Plugin {
- private final Controller[] controllers;
+
+ private final Controller[] controllers;
public AWTEnvironmentPlugin() {
this.controllers = new Controller[]{new AWTKeyboard(), new AWTMouse()};
@@ -43,4 +44,8 @@ public class AWTEnvironmentPlugin extends ControllerEnvironment implements Plugi
public Controller[] getControllers() {
return controllers;
}
+
+ public boolean isSupported() {
+ return true;
+ }
}