diff --git a/build/built-jar.properties b/build/built-jar.properties index e260e02..f58a01e 100644 --- a/build/built-jar.properties +++ b/build/built-jar.properties @@ -1,4 +1,4 @@ -#Wed, 22 Jun 2022 19:13:29 +0000 +#Wed, 22 Jun 2022 19:30:51 +0000 /workspaces/jinput2.10= diff --git a/build/classes/net/java/games/input/AbstractController.class b/build/classes/net/java/games/input/AbstractController.class index b901c47..8c4da9a 100644 Binary files a/build/classes/net/java/games/input/AbstractController.class and b/build/classes/net/java/games/input/AbstractController.class differ diff --git a/build/classes/net/java/games/input/ControllerEnvironment.class b/build/classes/net/java/games/input/ControllerEnvironment.class index ee7ca9c..2095dae 100644 Binary files a/build/classes/net/java/games/input/ControllerEnvironment.class and b/build/classes/net/java/games/input/ControllerEnvironment.class differ diff --git a/build/classes/net/java/games/input/ControllerEvent.class b/build/classes/net/java/games/input/ControllerEvent.class index c8d4a6b..fb83ee5 100644 Binary files a/build/classes/net/java/games/input/ControllerEvent.class and b/build/classes/net/java/games/input/ControllerEvent.class differ diff --git a/build/classes/net/java/games/input/DefaultControllerEnvironment.class b/build/classes/net/java/games/input/DefaultControllerEnvironment.class index 4d5bf61..b1e2d60 100644 Binary files a/build/classes/net/java/games/input/DefaultControllerEnvironment.class and b/build/classes/net/java/games/input/DefaultControllerEnvironment.class differ diff --git a/dist/jinput-with-sources.jar b/dist/jinput-with-sources.jar index 96ca029..3a5ae90 100644 Binary files a/dist/jinput-with-sources.jar and b/dist/jinput-with-sources.jar differ diff --git a/dist/jinput.jar b/dist/jinput.jar index 37a6835..45d02b4 100644 Binary files a/dist/jinput.jar and b/dist/jinput.jar differ diff --git a/docs/allclasses-index.html b/docs/allclasses-index.html index 2f729be..53ff814 100644 --- a/docs/allclasses-index.html +++ b/docs/allclasses-index.html @@ -1,7 +1,7 @@
- +addControllerListener, fireControllerAdded, fireControllerRemoved, getDefaultEnvironment, removeControllerListener
+addControllerListener, fireControllerAdded, fireControllerRemoved, getDefaultEnvironment, removeControllerListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
boolean
final Component
equals
in class Object
protected void
protected void
addControllerListener, fireControllerAdded, fireControllerRemoved, getDefaultEnvironment, removeControllerListener
addControllerListener, fireControllerAdded, fireControllerRemoved, getDefaultEnvironment, removeControllerListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addControllerListener, fireControllerAdded, fireControllerRemoved, getDefaultEnvironment, removeControllerListener
addControllerListener, fireControllerAdded, fireControllerRemoved, getDefaultEnvironment, removeControllerListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addControllerListener, fireControllerAdded, fireControllerRemoved, getDefaultEnvironment, removeControllerListener
+addControllerListener, fireControllerAdded, fireControllerRemoved, getDefaultEnvironment, removeControllerListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addControllerListener, fireControllerAdded, fireControllerRemoved, getDefaultEnvironment, removeControllerListener
+addControllerListener, fireControllerAdded, fireControllerRemoved, getDefaultEnvironment, removeControllerListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addControllerListener, fireControllerAdded, fireControllerRemoved, getDefaultEnvironment, removeControllerListener
+addControllerListener, fireControllerAdded, fireControllerRemoved, getDefaultEnvironment, removeControllerListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addControllerListener, fireControllerAdded, fireControllerRemoved, getDefaultEnvironment, removeControllerListener
+addControllerListener, fireControllerAdded, fireControllerRemoved, getDefaultEnvironment, removeControllerListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
final AbstractController[]
getControllers()
getController()
final AbstractController[]
getControllers()
getControllers()
getControllers()
getControllers()
getControllers()
abstract AbstractController[]
getControllers()
abstract AbstractController[]
getControllers()
getControllers()
final AbstractController[]
getControllers()
getControllers()
final AbstractController[]
getControllers()
getControllers()
final AbstractController[]
getControllers()
final AbstractController[]
getControllers()
final AbstractController[]
getControllers()
getControllers()
getControllers()
final AbstractController[]
getControllers()
getControllers()
getControllers()
rescanControllers()
getControllers()
abstract AbstractController[]
rescanControllers()
rescanControllers()
abstract AbstractController[]
rescanControllers()
final AbstractController[]
rescanControllers()
rescanControllers()
final AbstractController[]
rescanControllers()
final AbstractController[]
rescanControllers()
rescanControllers()
rescanControllers()
final AbstractController[]
rescanControllers()
rescanControllers()
rescanControllers()
rescanControllers()
rescanControllers()
rescanControllers()
protected void
fireControllerAdded(AbstractController c)
protected void
fireControllerRemoved(AbstractController c)
protected
Keyboard(String name,
+
+
+
+Creates a controller event object.
+
+protected
+Keyboard(String name,
Component[] keys,
AbstractController[] children,
Rumbler[] rumblers)
-
+
Protected constructor.
-protected
-Mouse(String name,
+protected
+Mouse(String name,
Component[] components,
AbstractController[] children,
Rumbler[] rumblers)
-
+
diff --git a/docs/net/java/games/input/class-use/Component.Identifier.Axis.html b/docs/net/java/games/input/class-use/Component.Identifier.Axis.html
index cdf5167..a5668c2 100644
--- a/docs/net/java/games/input/class-use/Component.Identifier.Axis.html
+++ b/docs/net/java/games/input/class-use/Component.Identifier.Axis.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.Component.Identifier.Axis (jinput API)
diff --git a/docs/net/java/games/input/class-use/Component.Identifier.Button.html b/docs/net/java/games/input/class-use/Component.Identifier.Button.html
index 517baed..e4601d5 100644
--- a/docs/net/java/games/input/class-use/Component.Identifier.Button.html
+++ b/docs/net/java/games/input/class-use/Component.Identifier.Button.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.Component.Identifier.Button (jinput API)
diff --git a/docs/net/java/games/input/class-use/Component.Identifier.Key.html b/docs/net/java/games/input/class-use/Component.Identifier.Key.html
index 22593d0..e1334b4 100644
--- a/docs/net/java/games/input/class-use/Component.Identifier.Key.html
+++ b/docs/net/java/games/input/class-use/Component.Identifier.Key.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.Component.Identifier.Key (jinput API)
diff --git a/docs/net/java/games/input/class-use/Component.Identifier.html b/docs/net/java/games/input/class-use/Component.Identifier.html
index ab11e66..9241e53 100644
--- a/docs/net/java/games/input/class-use/Component.Identifier.html
+++ b/docs/net/java/games/input/class-use/Component.Identifier.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.Component.Identifier (jinput API)
diff --git a/docs/net/java/games/input/class-use/Component.POV.html b/docs/net/java/games/input/class-use/Component.POV.html
index 1c2478f..38af125 100644
--- a/docs/net/java/games/input/class-use/Component.POV.html
+++ b/docs/net/java/games/input/class-use/Component.POV.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.Component.POV (jinput API)
diff --git a/docs/net/java/games/input/class-use/Component.html b/docs/net/java/games/input/class-use/Component.html
index 8f2b713..debaacf 100644
--- a/docs/net/java/games/input/class-use/Component.html
+++ b/docs/net/java/games/input/class-use/Component.html
@@ -1,7 +1,7 @@
-
+
Uses of Interface net.java.games.input.Component (jinput API)
diff --git a/docs/net/java/games/input/class-use/Controller.PortType.html b/docs/net/java/games/input/class-use/Controller.PortType.html
index 5d6c0f1..54f1d0d 100644
--- a/docs/net/java/games/input/class-use/Controller.PortType.html
+++ b/docs/net/java/games/input/class-use/Controller.PortType.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.Controller.PortType (jinput API)
diff --git a/docs/net/java/games/input/class-use/Controller.Type.html b/docs/net/java/games/input/class-use/Controller.Type.html
index 5261dc4..82e4c32 100644
--- a/docs/net/java/games/input/class-use/Controller.Type.html
+++ b/docs/net/java/games/input/class-use/Controller.Type.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.Controller.Type (jinput API)
diff --git a/docs/net/java/games/input/class-use/Controller.html b/docs/net/java/games/input/class-use/Controller.html
index fb7c73c..2242df4 100644
--- a/docs/net/java/games/input/class-use/Controller.html
+++ b/docs/net/java/games/input/class-use/Controller.html
@@ -1,7 +1,7 @@
-
+
Uses of Interface net.java.games.input.Controller (jinput API)
@@ -93,46 +93,6 @@ loadScripts(document, 'script');
-
-
-Modifier and Type
-Method
-Description
-
-ControllerEvent.getController()
-
-Returns the controller for this event.
-
-
-
-
-Modifier and Type
-Method
-Description
-protected void
-ControllerEnvironment.fireControllerAdded(Controller c)
-
-Creates and sends an event to the controller listeners that a controller
- has been added.
-
-protected void
-ControllerEnvironment.fireControllerRemoved(Controller c)
-
-Creates and sends an event to the controller listeners that a controller
- has been lost.
-
-
-
-
-Modifier
-Constructor
-Description
-
-
-
-Creates a controller event object.
-
-
diff --git a/docs/net/java/games/input/class-use/ControllerEnvironment.html b/docs/net/java/games/input/class-use/ControllerEnvironment.html
index 5536b26..0ac3980 100644
--- a/docs/net/java/games/input/class-use/ControllerEnvironment.html
+++ b/docs/net/java/games/input/class-use/ControllerEnvironment.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.ControllerEnvironment (jinput API)
diff --git a/docs/net/java/games/input/class-use/ControllerEvent.html b/docs/net/java/games/input/class-use/ControllerEvent.html
index 24b3b87..f76ce17 100644
--- a/docs/net/java/games/input/class-use/ControllerEvent.html
+++ b/docs/net/java/games/input/class-use/ControllerEvent.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.ControllerEvent (jinput API)
diff --git a/docs/net/java/games/input/class-use/ControllerListener.html b/docs/net/java/games/input/class-use/ControllerListener.html
index 69c14d9..3edfbed 100644
--- a/docs/net/java/games/input/class-use/ControllerListener.html
+++ b/docs/net/java/games/input/class-use/ControllerListener.html
@@ -1,7 +1,7 @@
-
+
Uses of Interface net.java.games.input.ControllerListener (jinput API)
diff --git a/docs/net/java/games/input/class-use/DirectAndRawInputEnvironmentPlugin.html b/docs/net/java/games/input/class-use/DirectAndRawInputEnvironmentPlugin.html
index 4778dc0..022025f 100644
--- a/docs/net/java/games/input/class-use/DirectAndRawInputEnvironmentPlugin.html
+++ b/docs/net/java/games/input/class-use/DirectAndRawInputEnvironmentPlugin.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.DirectAndRawInputEnvironmentPlugin (jinput API)
diff --git a/docs/net/java/games/input/class-use/DirectInputEnvironmentPlugin.html b/docs/net/java/games/input/class-use/DirectInputEnvironmentPlugin.html
index fec69aa..fe76cf6 100644
--- a/docs/net/java/games/input/class-use/DirectInputEnvironmentPlugin.html
+++ b/docs/net/java/games/input/class-use/DirectInputEnvironmentPlugin.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.DirectInputEnvironmentPlugin (jinput API)
diff --git a/docs/net/java/games/input/class-use/Event.html b/docs/net/java/games/input/class-use/Event.html
index ee73c54..5ac173b 100644
--- a/docs/net/java/games/input/class-use/Event.html
+++ b/docs/net/java/games/input/class-use/Event.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.Event (jinput API)
diff --git a/docs/net/java/games/input/class-use/EventQueue.html b/docs/net/java/games/input/class-use/EventQueue.html
index 1be96fb..884a128 100644
--- a/docs/net/java/games/input/class-use/EventQueue.html
+++ b/docs/net/java/games/input/class-use/EventQueue.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.EventQueue (jinput API)
diff --git a/docs/net/java/games/input/class-use/Keyboard.html b/docs/net/java/games/input/class-use/Keyboard.html
index 339e12e..7c7a6de 100644
--- a/docs/net/java/games/input/class-use/Keyboard.html
+++ b/docs/net/java/games/input/class-use/Keyboard.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.Keyboard (jinput API)
diff --git a/docs/net/java/games/input/class-use/LinuxCombinedController.html b/docs/net/java/games/input/class-use/LinuxCombinedController.html
index 538219c..52976cb 100644
--- a/docs/net/java/games/input/class-use/LinuxCombinedController.html
+++ b/docs/net/java/games/input/class-use/LinuxCombinedController.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.LinuxCombinedController (jinput API)
diff --git a/docs/net/java/games/input/class-use/LinuxEnvironmentPlugin.html b/docs/net/java/games/input/class-use/LinuxEnvironmentPlugin.html
index 1f99bb6..4d4a0db 100644
--- a/docs/net/java/games/input/class-use/LinuxEnvironmentPlugin.html
+++ b/docs/net/java/games/input/class-use/LinuxEnvironmentPlugin.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.LinuxEnvironmentPlugin (jinput API)
diff --git a/docs/net/java/games/input/class-use/LinuxJoystickPOV.html b/docs/net/java/games/input/class-use/LinuxJoystickPOV.html
index 21f2a5a..dacd5cb 100644
--- a/docs/net/java/games/input/class-use/LinuxJoystickPOV.html
+++ b/docs/net/java/games/input/class-use/LinuxJoystickPOV.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.LinuxJoystickPOV (jinput API)
diff --git a/docs/net/java/games/input/class-use/Mouse.html b/docs/net/java/games/input/class-use/Mouse.html
index 140fe24..74ce757 100644
--- a/docs/net/java/games/input/class-use/Mouse.html
+++ b/docs/net/java/games/input/class-use/Mouse.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.Mouse (jinput API)
diff --git a/docs/net/java/games/input/class-use/OSXEnvironmentPlugin.html b/docs/net/java/games/input/class-use/OSXEnvironmentPlugin.html
index 6f16ec2..9864ccd 100644
--- a/docs/net/java/games/input/class-use/OSXEnvironmentPlugin.html
+++ b/docs/net/java/games/input/class-use/OSXEnvironmentPlugin.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.OSXEnvironmentPlugin (jinput API)
diff --git a/docs/net/java/games/input/class-use/RawInputEnvironmentPlugin.html b/docs/net/java/games/input/class-use/RawInputEnvironmentPlugin.html
index 6f00ced..21c60ab 100644
--- a/docs/net/java/games/input/class-use/RawInputEnvironmentPlugin.html
+++ b/docs/net/java/games/input/class-use/RawInputEnvironmentPlugin.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.RawInputEnvironmentPlugin (jinput API)
diff --git a/docs/net/java/games/input/class-use/Rumbler.html b/docs/net/java/games/input/class-use/Rumbler.html
index fb7d3cc..f4cdd45 100644
--- a/docs/net/java/games/input/class-use/Rumbler.html
+++ b/docs/net/java/games/input/class-use/Rumbler.html
@@ -1,7 +1,7 @@
-
+
Uses of Interface net.java.games.input.Rumbler (jinput API)
diff --git a/docs/net/java/games/input/class-use/Usage.html b/docs/net/java/games/input/class-use/Usage.html
index b4b2569..38443c6 100644
--- a/docs/net/java/games/input/class-use/Usage.html
+++ b/docs/net/java/games/input/class-use/Usage.html
@@ -1,7 +1,7 @@
-
+
Uses of Interface net.java.games.input.Usage (jinput API)
diff --git a/docs/net/java/games/input/class-use/Version.html b/docs/net/java/games/input/class-use/Version.html
index e2f2f01..4c2b9fe 100644
--- a/docs/net/java/games/input/class-use/Version.html
+++ b/docs/net/java/games/input/class-use/Version.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.Version (jinput API)
diff --git a/docs/net/java/games/input/class-use/WinTabButtonComponent.html b/docs/net/java/games/input/class-use/WinTabButtonComponent.html
index 8cec394..a240517 100644
--- a/docs/net/java/games/input/class-use/WinTabButtonComponent.html
+++ b/docs/net/java/games/input/class-use/WinTabButtonComponent.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.WinTabButtonComponent (jinput API)
diff --git a/docs/net/java/games/input/class-use/WinTabComponent.html b/docs/net/java/games/input/class-use/WinTabComponent.html
index a39a8b7..6a652ca 100644
--- a/docs/net/java/games/input/class-use/WinTabComponent.html
+++ b/docs/net/java/games/input/class-use/WinTabComponent.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.WinTabComponent (jinput API)
diff --git a/docs/net/java/games/input/class-use/WinTabContext.html b/docs/net/java/games/input/class-use/WinTabContext.html
index 29c554d..59502ae 100644
--- a/docs/net/java/games/input/class-use/WinTabContext.html
+++ b/docs/net/java/games/input/class-use/WinTabContext.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.WinTabContext (jinput API)
diff --git a/docs/net/java/games/input/class-use/WinTabCursorComponent.html b/docs/net/java/games/input/class-use/WinTabCursorComponent.html
index d81a927..accb4f0 100644
--- a/docs/net/java/games/input/class-use/WinTabCursorComponent.html
+++ b/docs/net/java/games/input/class-use/WinTabCursorComponent.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.WinTabCursorComponent (jinput API)
diff --git a/docs/net/java/games/input/class-use/WinTabDevice.html b/docs/net/java/games/input/class-use/WinTabDevice.html
index 5c61998..eecd1af 100644
--- a/docs/net/java/games/input/class-use/WinTabDevice.html
+++ b/docs/net/java/games/input/class-use/WinTabDevice.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.WinTabDevice (jinput API)
diff --git a/docs/net/java/games/input/class-use/WinTabEnvironmentPlugin.html b/docs/net/java/games/input/class-use/WinTabEnvironmentPlugin.html
index 62af40d..5bb54a7 100644
--- a/docs/net/java/games/input/class-use/WinTabEnvironmentPlugin.html
+++ b/docs/net/java/games/input/class-use/WinTabEnvironmentPlugin.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.WinTabEnvironmentPlugin (jinput API)
diff --git a/docs/net/java/games/input/class-use/WinTabPacket.html b/docs/net/java/games/input/class-use/WinTabPacket.html
index f0d15b8..e2fde9f 100644
--- a/docs/net/java/games/input/class-use/WinTabPacket.html
+++ b/docs/net/java/games/input/class-use/WinTabPacket.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.input.WinTabPacket (jinput API)
diff --git a/docs/net/java/games/input/package-summary.html b/docs/net/java/games/input/package-summary.html
index b17812d..a8e43c3 100644
--- a/docs/net/java/games/input/package-summary.html
+++ b/docs/net/java/games/input/package-summary.html
@@ -1,7 +1,7 @@
-
+
net.java.games.input (jinput API)
diff --git a/docs/net/java/games/input/package-tree.html b/docs/net/java/games/input/package-tree.html
index 12090df..aed89f1 100644
--- a/docs/net/java/games/input/package-tree.html
+++ b/docs/net/java/games/input/package-tree.html
@@ -1,7 +1,7 @@
-
+
net.java.games.input Class Hierarchy (jinput API)
diff --git a/docs/net/java/games/input/package-use.html b/docs/net/java/games/input/package-use.html
index 35c0ddc..1d34a4d 100644
--- a/docs/net/java/games/input/package-use.html
+++ b/docs/net/java/games/input/package-use.html
@@ -1,7 +1,7 @@
-
+
Uses of Package net.java.games.input (jinput API)
diff --git a/docs/net/java/games/util/Version.html b/docs/net/java/games/util/Version.html
index a2121a6..e584654 100644
--- a/docs/net/java/games/util/Version.html
+++ b/docs/net/java/games/util/Version.html
@@ -1,7 +1,7 @@
-
+
Version (jinput API)
diff --git a/docs/net/java/games/util/class-use/Version.html b/docs/net/java/games/util/class-use/Version.html
index c408b71..ba59865 100644
--- a/docs/net/java/games/util/class-use/Version.html
+++ b/docs/net/java/games/util/class-use/Version.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.util.Version (jinput API)
diff --git a/docs/net/java/games/util/package-summary.html b/docs/net/java/games/util/package-summary.html
index ef73d32..3577c39 100644
--- a/docs/net/java/games/util/package-summary.html
+++ b/docs/net/java/games/util/package-summary.html
@@ -1,7 +1,7 @@
-
+
net.java.games.util (jinput API)
diff --git a/docs/net/java/games/util/package-tree.html b/docs/net/java/games/util/package-tree.html
index 3227390..e81f7c5 100644
--- a/docs/net/java/games/util/package-tree.html
+++ b/docs/net/java/games/util/package-tree.html
@@ -1,7 +1,7 @@
-
+
net.java.games.util Class Hierarchy (jinput API)
diff --git a/docs/net/java/games/util/package-use.html b/docs/net/java/games/util/package-use.html
index bb3a9dc..ef9cb9c 100644
--- a/docs/net/java/games/util/package-use.html
+++ b/docs/net/java/games/util/package-use.html
@@ -1,7 +1,7 @@
-
+
Uses of Package net.java.games.util (jinput API)
diff --git a/docs/net/java/games/util/plugins/Plugin.html b/docs/net/java/games/util/plugins/Plugin.html
index 519bed5..803fcc7 100644
--- a/docs/net/java/games/util/plugins/Plugin.html
+++ b/docs/net/java/games/util/plugins/Plugin.html
@@ -1,7 +1,7 @@
-
+
Plugin (jinput API)
diff --git a/docs/net/java/games/util/plugins/PluginLoader.html b/docs/net/java/games/util/plugins/PluginLoader.html
index 50d9e86..109c8f0 100644
--- a/docs/net/java/games/util/plugins/PluginLoader.html
+++ b/docs/net/java/games/util/plugins/PluginLoader.html
@@ -1,7 +1,7 @@
-
+
PluginLoader (jinput API)
diff --git a/docs/net/java/games/util/plugins/Plugins.html b/docs/net/java/games/util/plugins/Plugins.html
index f9ab6d5..7446915 100644
--- a/docs/net/java/games/util/plugins/Plugins.html
+++ b/docs/net/java/games/util/plugins/Plugins.html
@@ -1,7 +1,7 @@
-
+
Plugins (jinput API)
diff --git a/docs/net/java/games/util/plugins/class-use/Plugin.html b/docs/net/java/games/util/plugins/class-use/Plugin.html
index a9c1d57..84c5291 100644
--- a/docs/net/java/games/util/plugins/class-use/Plugin.html
+++ b/docs/net/java/games/util/plugins/class-use/Plugin.html
@@ -1,7 +1,7 @@
-
+
Uses of Interface net.java.games.util.plugins.Plugin (jinput API)
diff --git a/docs/net/java/games/util/plugins/class-use/PluginLoader.html b/docs/net/java/games/util/plugins/class-use/PluginLoader.html
index 4b56eb8..c174145 100644
--- a/docs/net/java/games/util/plugins/class-use/PluginLoader.html
+++ b/docs/net/java/games/util/plugins/class-use/PluginLoader.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.util.plugins.PluginLoader (jinput API)
diff --git a/docs/net/java/games/util/plugins/class-use/Plugins.html b/docs/net/java/games/util/plugins/class-use/Plugins.html
index 5f194d9..1ea9247 100644
--- a/docs/net/java/games/util/plugins/class-use/Plugins.html
+++ b/docs/net/java/games/util/plugins/class-use/Plugins.html
@@ -1,7 +1,7 @@
-
+
Uses of Class net.java.games.util.plugins.Plugins (jinput API)
diff --git a/docs/net/java/games/util/plugins/package-summary.html b/docs/net/java/games/util/plugins/package-summary.html
index 8ed7635..19f9c45 100644
--- a/docs/net/java/games/util/plugins/package-summary.html
+++ b/docs/net/java/games/util/plugins/package-summary.html
@@ -1,7 +1,7 @@
-
+
net.java.games.util.plugins (jinput API)
diff --git a/docs/net/java/games/util/plugins/package-tree.html b/docs/net/java/games/util/plugins/package-tree.html
index 5e21203..5a4f55c 100644
--- a/docs/net/java/games/util/plugins/package-tree.html
+++ b/docs/net/java/games/util/plugins/package-tree.html
@@ -1,7 +1,7 @@
-
+
net.java.games.util.plugins Class Hierarchy (jinput API)
diff --git a/docs/net/java/games/util/plugins/package-use.html b/docs/net/java/games/util/plugins/package-use.html
index 08082f9..9079ba3 100644
--- a/docs/net/java/games/util/plugins/package-use.html
+++ b/docs/net/java/games/util/plugins/package-use.html
@@ -1,7 +1,7 @@
-
+
Uses of Package net.java.games.util.plugins (jinput API)
diff --git a/docs/overview-summary.html b/docs/overview-summary.html
index ca5f45f..a19abc2 100644
--- a/docs/overview-summary.html
+++ b/docs/overview-summary.html
@@ -1,7 +1,7 @@
-
+
jinput API
diff --git a/docs/overview-tree.html b/docs/overview-tree.html
index 2c06326..a0226bd 100644
--- a/docs/overview-tree.html
+++ b/docs/overview-tree.html
@@ -1,7 +1,7 @@
-
+
Class Hierarchy (jinput API)
diff --git a/src/core/net/java/games/input/AbstractController.java b/src/core/net/java/games/input/AbstractController.java
index 01bc4c7..6834466 100644
--- a/src/core/net/java/games/input/AbstractController.java
+++ b/src/core/net/java/games/input/AbstractController.java
@@ -46,6 +46,16 @@ public abstract class AbstractController implements Controller {
private final static Event event = new Event();
+ /**
+ * Overwritten to specifically calculate if this controller matches another controller.
+ * A controller matches if it is the same type of controller as specified,
+ * regardless of which order it was plugged into a device. Therefore this
+ * cannot be used simply to check if all controllers plugged in match all ports
+ * as two controllers of the same type i.e. Two XBox One controllers would
+ * both be considered equal.
+ *
+ * Keep this in mind when doing equality comparisons with other controllers.
+ */
@Override
public boolean equals(Object obj) {
if (obj instanceof AbstractController) {
diff --git a/src/core/net/java/games/input/ControllerEnvironment.java b/src/core/net/java/games/input/ControllerEnvironment.java
index eb4140a..dc7cbb8 100644
--- a/src/core/net/java/games/input/ControllerEnvironment.java
+++ b/src/core/net/java/games/input/ControllerEnvironment.java
@@ -129,7 +129,7 @@ public abstract class ControllerEnvironment {
* Creates and sends an event to the controller listeners that a controller
* has been added.
*/
- protected void fireControllerAdded(Controller c) {
+ protected void fireControllerAdded(AbstractController c) {
ControllerEvent ev = new ControllerEvent(c);
Iterator it = controllerListeners.iterator();
while (it.hasNext()) {
@@ -141,7 +141,7 @@ public abstract class ControllerEnvironment {
* Creates and sends an event to the controller listeners that a controller
* has been lost.
*/
- protected void fireControllerRemoved(Controller c) {
+ protected void fireControllerRemoved(AbstractController c) {
ControllerEvent ev = new ControllerEvent(c);
Iterator it = controllerListeners.iterator();
while (it.hasNext()) {
diff --git a/src/core/net/java/games/input/ControllerEvent.java b/src/core/net/java/games/input/ControllerEvent.java
index 14fbbcd..188cd8e 100644
--- a/src/core/net/java/games/input/ControllerEvent.java
+++ b/src/core/net/java/games/input/ControllerEvent.java
@@ -43,19 +43,19 @@ package net.java.games.input;
*/
public class ControllerEvent {
- private Controller controller;
+ private AbstractController controller;
/**
* Creates a controller event object.
*/
- public ControllerEvent(Controller c) {
+ public ControllerEvent(AbstractController c) {
controller = c;
}
/**
* Returns the controller for this event.
*/
- public Controller getController() {
+ public AbstractController getController() {
return controller;
}
} // class ControllerEvent