diff --git a/build/built-jar.properties b/build/built-jar.properties new file mode 100644 index 0000000..0cc0fe1 --- /dev/null +++ b/build/built-jar.properties @@ -0,0 +1,4 @@ +#Tue, 07 Jun 2022 23:16:17 -0500 + + +C\:\\Users\\Canela\\Documents\\jinput2= diff --git a/build/classes/net/java/games/input/AWTEnvironmentPlugin.class b/build/classes/net/java/games/input/AWTEnvironmentPlugin.class new file mode 100644 index 0000000..162e626 Binary files /dev/null and b/build/classes/net/java/games/input/AWTEnvironmentPlugin.class differ diff --git a/build/classes/net/java/games/input/AWTKeyMap.class b/build/classes/net/java/games/input/AWTKeyMap.class new file mode 100644 index 0000000..a88e513 Binary files /dev/null and b/build/classes/net/java/games/input/AWTKeyMap.class differ diff --git a/build/classes/net/java/games/input/AWTKeyboard$Key.class b/build/classes/net/java/games/input/AWTKeyboard$Key.class new file mode 100644 index 0000000..9417bd1 Binary files /dev/null and b/build/classes/net/java/games/input/AWTKeyboard$Key.class differ diff --git a/build/classes/net/java/games/input/AWTKeyboard.class b/build/classes/net/java/games/input/AWTKeyboard.class new file mode 100644 index 0000000..019512c Binary files /dev/null and b/build/classes/net/java/games/input/AWTKeyboard.class differ diff --git a/build/classes/net/java/games/input/AWTMouse$Axis.class b/build/classes/net/java/games/input/AWTMouse$Axis.class new file mode 100644 index 0000000..b6ae810 Binary files /dev/null and b/build/classes/net/java/games/input/AWTMouse$Axis.class differ diff --git a/build/classes/net/java/games/input/AWTMouse$Button.class b/build/classes/net/java/games/input/AWTMouse$Button.class new file mode 100644 index 0000000..a5fa8f1 Binary files /dev/null and b/build/classes/net/java/games/input/AWTMouse$Button.class differ diff --git a/build/classes/net/java/games/input/AWTMouse.class b/build/classes/net/java/games/input/AWTMouse.class new file mode 100644 index 0000000..c82627b Binary files /dev/null and b/build/classes/net/java/games/input/AWTMouse.class differ diff --git a/build/classes/net/java/games/input/AbstractComponent.class b/build/classes/net/java/games/input/AbstractComponent.class new file mode 100644 index 0000000..af3cd4c Binary files /dev/null and b/build/classes/net/java/games/input/AbstractComponent.class differ diff --git a/build/classes/net/java/games/input/AbstractController.class b/build/classes/net/java/games/input/AbstractController.class new file mode 100644 index 0000000..4824a46 Binary files /dev/null and b/build/classes/net/java/games/input/AbstractController.class differ diff --git a/build/classes/net/java/games/input/ButtonUsage.class b/build/classes/net/java/games/input/ButtonUsage.class new file mode 100644 index 0000000..54f40d1 Binary files /dev/null and b/build/classes/net/java/games/input/ButtonUsage.class differ diff --git a/build/classes/net/java/games/input/Component$Identifier$Axis.class b/build/classes/net/java/games/input/Component$Identifier$Axis.class new file mode 100644 index 0000000..7d9e44d Binary files /dev/null and b/build/classes/net/java/games/input/Component$Identifier$Axis.class differ diff --git a/build/classes/net/java/games/input/Component$Identifier$Button.class b/build/classes/net/java/games/input/Component$Identifier$Button.class new file mode 100644 index 0000000..40ce953 Binary files /dev/null and b/build/classes/net/java/games/input/Component$Identifier$Button.class differ diff --git a/build/classes/net/java/games/input/Component$Identifier$Key.class b/build/classes/net/java/games/input/Component$Identifier$Key.class new file mode 100644 index 0000000..c3965a3 Binary files /dev/null and b/build/classes/net/java/games/input/Component$Identifier$Key.class differ diff --git a/build/classes/net/java/games/input/Component$Identifier.class b/build/classes/net/java/games/input/Component$Identifier.class new file mode 100644 index 0000000..2eb9965 Binary files /dev/null and b/build/classes/net/java/games/input/Component$Identifier.class differ diff --git a/build/classes/net/java/games/input/Component$POV.class b/build/classes/net/java/games/input/Component$POV.class new file mode 100644 index 0000000..ff2c90e Binary files /dev/null and b/build/classes/net/java/games/input/Component$POV.class differ diff --git a/build/classes/net/java/games/input/Component.class b/build/classes/net/java/games/input/Component.class new file mode 100644 index 0000000..b4dbc7c Binary files /dev/null and b/build/classes/net/java/games/input/Component.class differ diff --git a/build/classes/net/java/games/input/Controller$PortType.class b/build/classes/net/java/games/input/Controller$PortType.class new file mode 100644 index 0000000..adc4fa5 Binary files /dev/null and b/build/classes/net/java/games/input/Controller$PortType.class differ diff --git a/build/classes/net/java/games/input/Controller$Type.class b/build/classes/net/java/games/input/Controller$Type.class new file mode 100644 index 0000000..5d8662e Binary files /dev/null and b/build/classes/net/java/games/input/Controller$Type.class differ diff --git a/build/classes/net/java/games/input/Controller.class b/build/classes/net/java/games/input/Controller.class new file mode 100644 index 0000000..8683137 Binary files /dev/null and b/build/classes/net/java/games/input/Controller.class differ diff --git a/build/classes/net/java/games/input/ControllerEnvironment.class b/build/classes/net/java/games/input/ControllerEnvironment.class new file mode 100644 index 0000000..e4354fd Binary files /dev/null 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 new file mode 100644 index 0000000..c8d4a6b Binary files /dev/null and b/build/classes/net/java/games/input/ControllerEvent.class differ diff --git a/build/classes/net/java/games/input/ControllerListener.class b/build/classes/net/java/games/input/ControllerListener.class new file mode 100644 index 0000000..4cc2b10 Binary files /dev/null and b/build/classes/net/java/games/input/ControllerListener.class differ diff --git a/build/classes/net/java/games/input/DIAbstractController.class b/build/classes/net/java/games/input/DIAbstractController.class new file mode 100644 index 0000000..ebbfc92 Binary files /dev/null and b/build/classes/net/java/games/input/DIAbstractController.class differ diff --git a/build/classes/net/java/games/input/DIComponent.class b/build/classes/net/java/games/input/DIComponent.class new file mode 100644 index 0000000..703e3dc Binary files /dev/null and b/build/classes/net/java/games/input/DIComponent.class differ diff --git a/build/classes/net/java/games/input/DIControllers.class b/build/classes/net/java/games/input/DIControllers.class new file mode 100644 index 0000000..7a26993 Binary files /dev/null and b/build/classes/net/java/games/input/DIControllers.class differ diff --git a/build/classes/net/java/games/input/DIDeviceObject.class b/build/classes/net/java/games/input/DIDeviceObject.class new file mode 100644 index 0000000..47fd0f2 Binary files /dev/null and b/build/classes/net/java/games/input/DIDeviceObject.class differ diff --git a/build/classes/net/java/games/input/DIDeviceObjectData.class b/build/classes/net/java/games/input/DIDeviceObjectData.class new file mode 100644 index 0000000..57a13ed Binary files /dev/null and b/build/classes/net/java/games/input/DIDeviceObjectData.class differ diff --git a/build/classes/net/java/games/input/DIEffectInfo.class b/build/classes/net/java/games/input/DIEffectInfo.class new file mode 100644 index 0000000..fca8f73 Binary files /dev/null and b/build/classes/net/java/games/input/DIEffectInfo.class differ diff --git a/build/classes/net/java/games/input/DIIdentifierMap.class b/build/classes/net/java/games/input/DIIdentifierMap.class new file mode 100644 index 0000000..60c587e Binary files /dev/null and b/build/classes/net/java/games/input/DIIdentifierMap.class differ diff --git a/build/classes/net/java/games/input/DIKeyboard.class b/build/classes/net/java/games/input/DIKeyboard.class new file mode 100644 index 0000000..c47fd01 Binary files /dev/null and b/build/classes/net/java/games/input/DIKeyboard.class differ diff --git a/build/classes/net/java/games/input/DIMouse.class b/build/classes/net/java/games/input/DIMouse.class new file mode 100644 index 0000000..fc5067f Binary files /dev/null and b/build/classes/net/java/games/input/DIMouse.class differ diff --git a/build/classes/net/java/games/input/DataQueue.class b/build/classes/net/java/games/input/DataQueue.class new file mode 100644 index 0000000..57168f8 Binary files /dev/null and b/build/classes/net/java/games/input/DataQueue.class differ diff --git a/build/classes/net/java/games/input/DefaultControllerEnvironment.class b/build/classes/net/java/games/input/DefaultControllerEnvironment.class new file mode 100644 index 0000000..297b0d1 Binary files /dev/null and b/build/classes/net/java/games/input/DefaultControllerEnvironment.class differ diff --git a/build/classes/net/java/games/input/DirectAndRawInputEnvironmentPlugin.class b/build/classes/net/java/games/input/DirectAndRawInputEnvironmentPlugin.class new file mode 100644 index 0000000..d06b71e Binary files /dev/null and b/build/classes/net/java/games/input/DirectAndRawInputEnvironmentPlugin.class differ diff --git a/build/classes/net/java/games/input/DirectInputEnvironmentPlugin$1.class b/build/classes/net/java/games/input/DirectInputEnvironmentPlugin$1.class new file mode 100644 index 0000000..31a2298 Binary files /dev/null and b/build/classes/net/java/games/input/DirectInputEnvironmentPlugin$1.class differ diff --git a/build/classes/net/java/games/input/DirectInputEnvironmentPlugin$ShutdownHook.class b/build/classes/net/java/games/input/DirectInputEnvironmentPlugin$ShutdownHook.class new file mode 100644 index 0000000..41fbc93 Binary files /dev/null and b/build/classes/net/java/games/input/DirectInputEnvironmentPlugin$ShutdownHook.class differ diff --git a/build/classes/net/java/games/input/DirectInputEnvironmentPlugin.class b/build/classes/net/java/games/input/DirectInputEnvironmentPlugin.class new file mode 100644 index 0000000..7c24a33 Binary files /dev/null and b/build/classes/net/java/games/input/DirectInputEnvironmentPlugin.class differ diff --git a/build/classes/net/java/games/input/DummyWindow.class b/build/classes/net/java/games/input/DummyWindow.class new file mode 100644 index 0000000..8acbf8f Binary files /dev/null and b/build/classes/net/java/games/input/DummyWindow.class differ diff --git a/build/classes/net/java/games/input/ElementType.class b/build/classes/net/java/games/input/ElementType.class new file mode 100644 index 0000000..cdc47bf Binary files /dev/null and b/build/classes/net/java/games/input/ElementType.class differ diff --git a/build/classes/net/java/games/input/Event.class b/build/classes/net/java/games/input/Event.class new file mode 100644 index 0000000..315a60a Binary files /dev/null and b/build/classes/net/java/games/input/Event.class differ diff --git a/build/classes/net/java/games/input/EventQueue.class b/build/classes/net/java/games/input/EventQueue.class new file mode 100644 index 0000000..5055339 Binary files /dev/null and b/build/classes/net/java/games/input/EventQueue.class differ diff --git a/build/classes/net/java/games/input/GenericDesktopUsage.class b/build/classes/net/java/games/input/GenericDesktopUsage.class new file mode 100644 index 0000000..b084bde Binary files /dev/null and b/build/classes/net/java/games/input/GenericDesktopUsage.class differ diff --git a/build/classes/net/java/games/input/IDirectInput.class b/build/classes/net/java/games/input/IDirectInput.class new file mode 100644 index 0000000..ffabff1 Binary files /dev/null and b/build/classes/net/java/games/input/IDirectInput.class differ diff --git a/build/classes/net/java/games/input/IDirectInputDevice.class b/build/classes/net/java/games/input/IDirectInputDevice.class new file mode 100644 index 0000000..71cd2f8 Binary files /dev/null and b/build/classes/net/java/games/input/IDirectInputDevice.class differ diff --git a/build/classes/net/java/games/input/IDirectInputEffect.class b/build/classes/net/java/games/input/IDirectInputEffect.class new file mode 100644 index 0000000..850d133 Binary files /dev/null and b/build/classes/net/java/games/input/IDirectInputEffect.class differ diff --git a/build/classes/net/java/games/input/Keyboard.class b/build/classes/net/java/games/input/Keyboard.class new file mode 100644 index 0000000..8e558df Binary files /dev/null and b/build/classes/net/java/games/input/Keyboard.class differ diff --git a/build/classes/net/java/games/input/KeyboardUsage.class b/build/classes/net/java/games/input/KeyboardUsage.class new file mode 100644 index 0000000..da862af Binary files /dev/null and b/build/classes/net/java/games/input/KeyboardUsage.class differ diff --git a/build/classes/net/java/games/input/LinuxAbsInfo.class b/build/classes/net/java/games/input/LinuxAbsInfo.class new file mode 100644 index 0000000..1011006 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxAbsInfo.class differ diff --git a/build/classes/net/java/games/input/LinuxAbstractController.class b/build/classes/net/java/games/input/LinuxAbstractController.class new file mode 100644 index 0000000..023d9ac Binary files /dev/null and b/build/classes/net/java/games/input/LinuxAbstractController.class differ diff --git a/build/classes/net/java/games/input/LinuxAxisDescriptor.class b/build/classes/net/java/games/input/LinuxAxisDescriptor.class new file mode 100644 index 0000000..0d92059 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxAxisDescriptor.class differ diff --git a/build/classes/net/java/games/input/LinuxCombinedController.class b/build/classes/net/java/games/input/LinuxCombinedController.class new file mode 100644 index 0000000..aa6894c Binary files /dev/null and b/build/classes/net/java/games/input/LinuxCombinedController.class differ diff --git a/build/classes/net/java/games/input/LinuxComponent.class b/build/classes/net/java/games/input/LinuxComponent.class new file mode 100644 index 0000000..b61adfd Binary files /dev/null and b/build/classes/net/java/games/input/LinuxComponent.class differ diff --git a/build/classes/net/java/games/input/LinuxConstantFF.class b/build/classes/net/java/games/input/LinuxConstantFF.class new file mode 100644 index 0000000..1b6b370 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxConstantFF.class differ diff --git a/build/classes/net/java/games/input/LinuxControllers.class b/build/classes/net/java/games/input/LinuxControllers.class new file mode 100644 index 0000000..958d992 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxControllers.class differ diff --git a/build/classes/net/java/games/input/LinuxDevice.class b/build/classes/net/java/games/input/LinuxDevice.class new file mode 100644 index 0000000..95400c2 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxDevice.class differ diff --git a/build/classes/net/java/games/input/LinuxDeviceTask.class b/build/classes/net/java/games/input/LinuxDeviceTask.class new file mode 100644 index 0000000..0a8d934 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxDeviceTask.class differ diff --git a/build/classes/net/java/games/input/LinuxDeviceThread.class b/build/classes/net/java/games/input/LinuxDeviceThread.class new file mode 100644 index 0000000..ae0c60d Binary files /dev/null and b/build/classes/net/java/games/input/LinuxDeviceThread.class differ diff --git a/build/classes/net/java/games/input/LinuxEnvironmentPlugin$1.class b/build/classes/net/java/games/input/LinuxEnvironmentPlugin$1.class new file mode 100644 index 0000000..8332b5b Binary files /dev/null and b/build/classes/net/java/games/input/LinuxEnvironmentPlugin$1.class differ diff --git a/build/classes/net/java/games/input/LinuxEnvironmentPlugin$ShutdownHook.class b/build/classes/net/java/games/input/LinuxEnvironmentPlugin$ShutdownHook.class new file mode 100644 index 0000000..43be20e Binary files /dev/null and b/build/classes/net/java/games/input/LinuxEnvironmentPlugin$ShutdownHook.class differ diff --git a/build/classes/net/java/games/input/LinuxEnvironmentPlugin.class b/build/classes/net/java/games/input/LinuxEnvironmentPlugin.class new file mode 100644 index 0000000..45e415e Binary files /dev/null and b/build/classes/net/java/games/input/LinuxEnvironmentPlugin.class differ diff --git a/build/classes/net/java/games/input/LinuxEvent.class b/build/classes/net/java/games/input/LinuxEvent.class new file mode 100644 index 0000000..b746af4 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxEvent.class differ diff --git a/build/classes/net/java/games/input/LinuxEventComponent.class b/build/classes/net/java/games/input/LinuxEventComponent.class new file mode 100644 index 0000000..ad33742 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxEventComponent.class differ diff --git a/build/classes/net/java/games/input/LinuxEventDevice$1.class b/build/classes/net/java/games/input/LinuxEventDevice$1.class new file mode 100644 index 0000000..7648c15 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxEventDevice$1.class differ diff --git a/build/classes/net/java/games/input/LinuxEventDevice.class b/build/classes/net/java/games/input/LinuxEventDevice.class new file mode 100644 index 0000000..40ee41c Binary files /dev/null and b/build/classes/net/java/games/input/LinuxEventDevice.class differ diff --git a/build/classes/net/java/games/input/LinuxForceFeedbackEffect$1.class b/build/classes/net/java/games/input/LinuxForceFeedbackEffect$1.class new file mode 100644 index 0000000..16b8bfb Binary files /dev/null and b/build/classes/net/java/games/input/LinuxForceFeedbackEffect$1.class differ diff --git a/build/classes/net/java/games/input/LinuxForceFeedbackEffect$UploadTask.class b/build/classes/net/java/games/input/LinuxForceFeedbackEffect$UploadTask.class new file mode 100644 index 0000000..b8204d9 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxForceFeedbackEffect$UploadTask.class differ diff --git a/build/classes/net/java/games/input/LinuxForceFeedbackEffect$WriteTask.class b/build/classes/net/java/games/input/LinuxForceFeedbackEffect$WriteTask.class new file mode 100644 index 0000000..a42b37e Binary files /dev/null and b/build/classes/net/java/games/input/LinuxForceFeedbackEffect$WriteTask.class differ diff --git a/build/classes/net/java/games/input/LinuxForceFeedbackEffect.class b/build/classes/net/java/games/input/LinuxForceFeedbackEffect.class new file mode 100644 index 0000000..ffb709b Binary files /dev/null and b/build/classes/net/java/games/input/LinuxForceFeedbackEffect.class differ diff --git a/build/classes/net/java/games/input/LinuxInputID.class b/build/classes/net/java/games/input/LinuxInputID.class new file mode 100644 index 0000000..fadd255 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxInputID.class differ diff --git a/build/classes/net/java/games/input/LinuxJoystickAbstractController.class b/build/classes/net/java/games/input/LinuxJoystickAbstractController.class new file mode 100644 index 0000000..ca9ad22 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxJoystickAbstractController.class differ diff --git a/build/classes/net/java/games/input/LinuxJoystickAxis.class b/build/classes/net/java/games/input/LinuxJoystickAxis.class new file mode 100644 index 0000000..49075d0 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxJoystickAxis.class differ diff --git a/build/classes/net/java/games/input/LinuxJoystickButton.class b/build/classes/net/java/games/input/LinuxJoystickButton.class new file mode 100644 index 0000000..f6d1aaa Binary files /dev/null and b/build/classes/net/java/games/input/LinuxJoystickButton.class differ diff --git a/build/classes/net/java/games/input/LinuxJoystickDevice.class b/build/classes/net/java/games/input/LinuxJoystickDevice.class new file mode 100644 index 0000000..ac4f630 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxJoystickDevice.class differ diff --git a/build/classes/net/java/games/input/LinuxJoystickEvent.class b/build/classes/net/java/games/input/LinuxJoystickEvent.class new file mode 100644 index 0000000..6106ba2 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxJoystickEvent.class differ diff --git a/build/classes/net/java/games/input/LinuxJoystickPOV.class b/build/classes/net/java/games/input/LinuxJoystickPOV.class new file mode 100644 index 0000000..bd84770 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxJoystickPOV.class differ diff --git a/build/classes/net/java/games/input/LinuxKeyboard.class b/build/classes/net/java/games/input/LinuxKeyboard.class new file mode 100644 index 0000000..f9c1780 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxKeyboard.class differ diff --git a/build/classes/net/java/games/input/LinuxMouse.class b/build/classes/net/java/games/input/LinuxMouse.class new file mode 100644 index 0000000..7c0a579 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxMouse.class differ diff --git a/build/classes/net/java/games/input/LinuxNativeTypesMap.class b/build/classes/net/java/games/input/LinuxNativeTypesMap.class new file mode 100644 index 0000000..bd4ad8d Binary files /dev/null and b/build/classes/net/java/games/input/LinuxNativeTypesMap.class differ diff --git a/build/classes/net/java/games/input/LinuxPOV.class b/build/classes/net/java/games/input/LinuxPOV.class new file mode 100644 index 0000000..b797932 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxPOV.class differ diff --git a/build/classes/net/java/games/input/LinuxRumbleFF.class b/build/classes/net/java/games/input/LinuxRumbleFF.class new file mode 100644 index 0000000..7ffe270 Binary files /dev/null and b/build/classes/net/java/games/input/LinuxRumbleFF.class differ diff --git a/build/classes/net/java/games/input/Mouse.class b/build/classes/net/java/games/input/Mouse.class new file mode 100644 index 0000000..f3e426f Binary files /dev/null and b/build/classes/net/java/games/input/Mouse.class differ diff --git a/build/classes/net/java/games/input/NativeDefinitions.class b/build/classes/net/java/games/input/NativeDefinitions.class new file mode 100644 index 0000000..a112c56 Binary files /dev/null and b/build/classes/net/java/games/input/NativeDefinitions.class differ diff --git a/build/classes/net/java/games/input/OSXAbstractController.class b/build/classes/net/java/games/input/OSXAbstractController.class new file mode 100644 index 0000000..a28f29a Binary files /dev/null and b/build/classes/net/java/games/input/OSXAbstractController.class differ diff --git a/build/classes/net/java/games/input/OSXComponent.class b/build/classes/net/java/games/input/OSXComponent.class new file mode 100644 index 0000000..bd5b371 Binary files /dev/null and b/build/classes/net/java/games/input/OSXComponent.class differ diff --git a/build/classes/net/java/games/input/OSXControllers.class b/build/classes/net/java/games/input/OSXControllers.class new file mode 100644 index 0000000..910a703 Binary files /dev/null and b/build/classes/net/java/games/input/OSXControllers.class differ diff --git a/build/classes/net/java/games/input/OSXEnvironmentPlugin.class b/build/classes/net/java/games/input/OSXEnvironmentPlugin.class new file mode 100644 index 0000000..cb5ae57 Binary files /dev/null and b/build/classes/net/java/games/input/OSXEnvironmentPlugin.class differ diff --git a/build/classes/net/java/games/input/OSXEvent.class b/build/classes/net/java/games/input/OSXEvent.class new file mode 100644 index 0000000..8fa866c Binary files /dev/null and b/build/classes/net/java/games/input/OSXEvent.class differ diff --git a/build/classes/net/java/games/input/OSXHIDDevice.class b/build/classes/net/java/games/input/OSXHIDDevice.class new file mode 100644 index 0000000..5897245 Binary files /dev/null and b/build/classes/net/java/games/input/OSXHIDDevice.class differ diff --git a/build/classes/net/java/games/input/OSXHIDDeviceIterator.class b/build/classes/net/java/games/input/OSXHIDDeviceIterator.class new file mode 100644 index 0000000..7ea31a7 Binary files /dev/null and b/build/classes/net/java/games/input/OSXHIDDeviceIterator.class differ diff --git a/build/classes/net/java/games/input/OSXHIDElement.class b/build/classes/net/java/games/input/OSXHIDElement.class new file mode 100644 index 0000000..6d225f1 Binary files /dev/null and b/build/classes/net/java/games/input/OSXHIDElement.class differ diff --git a/build/classes/net/java/games/input/OSXHIDQueue.class b/build/classes/net/java/games/input/OSXHIDQueue.class new file mode 100644 index 0000000..8a9a370 Binary files /dev/null and b/build/classes/net/java/games/input/OSXHIDQueue.class differ diff --git a/build/classes/net/java/games/input/OSXKeyboard.class b/build/classes/net/java/games/input/OSXKeyboard.class new file mode 100644 index 0000000..d974705 Binary files /dev/null and b/build/classes/net/java/games/input/OSXKeyboard.class differ diff --git a/build/classes/net/java/games/input/OSXMouse.class b/build/classes/net/java/games/input/OSXMouse.class new file mode 100644 index 0000000..efd02e2 Binary files /dev/null and b/build/classes/net/java/games/input/OSXMouse.class differ diff --git a/build/classes/net/java/games/input/PluginClassLoader$1.class b/build/classes/net/java/games/input/PluginClassLoader$1.class new file mode 100644 index 0000000..c4d2a7b Binary files /dev/null and b/build/classes/net/java/games/input/PluginClassLoader$1.class differ diff --git a/build/classes/net/java/games/input/PluginClassLoader$JarFileFilter.class b/build/classes/net/java/games/input/PluginClassLoader$JarFileFilter.class new file mode 100644 index 0000000..a1b5f14 Binary files /dev/null and b/build/classes/net/java/games/input/PluginClassLoader$JarFileFilter.class differ diff --git a/build/classes/net/java/games/input/PluginClassLoader.class b/build/classes/net/java/games/input/PluginClassLoader.class new file mode 100644 index 0000000..241fc11 Binary files /dev/null and b/build/classes/net/java/games/input/PluginClassLoader.class differ diff --git a/build/classes/net/java/games/input/RawDevice.class b/build/classes/net/java/games/input/RawDevice.class new file mode 100644 index 0000000..dc7fb45 Binary files /dev/null and b/build/classes/net/java/games/input/RawDevice.class differ diff --git a/build/classes/net/java/games/input/RawDeviceInfo.class b/build/classes/net/java/games/input/RawDeviceInfo.class new file mode 100644 index 0000000..8081c4c Binary files /dev/null and b/build/classes/net/java/games/input/RawDeviceInfo.class differ diff --git a/build/classes/net/java/games/input/RawHIDInfo.class b/build/classes/net/java/games/input/RawHIDInfo.class new file mode 100644 index 0000000..a352d40 Binary files /dev/null and b/build/classes/net/java/games/input/RawHIDInfo.class differ diff --git a/build/classes/net/java/games/input/RawIdentifierMap.class b/build/classes/net/java/games/input/RawIdentifierMap.class new file mode 100644 index 0000000..d249336 Binary files /dev/null and b/build/classes/net/java/games/input/RawIdentifierMap.class differ diff --git a/build/classes/net/java/games/input/RawInputEnvironmentPlugin.class b/build/classes/net/java/games/input/RawInputEnvironmentPlugin.class new file mode 100644 index 0000000..492deeb Binary files /dev/null and b/build/classes/net/java/games/input/RawInputEnvironmentPlugin.class differ diff --git a/build/classes/net/java/games/input/RawInputEventQueue$QueueThread.class b/build/classes/net/java/games/input/RawInputEventQueue$QueueThread.class new file mode 100644 index 0000000..b0e9634 Binary files /dev/null and b/build/classes/net/java/games/input/RawInputEventQueue$QueueThread.class differ diff --git a/build/classes/net/java/games/input/RawInputEventQueue.class b/build/classes/net/java/games/input/RawInputEventQueue.class new file mode 100644 index 0000000..d006bd1 Binary files /dev/null and b/build/classes/net/java/games/input/RawInputEventQueue.class differ diff --git a/build/classes/net/java/games/input/RawKeyboard$Key.class b/build/classes/net/java/games/input/RawKeyboard$Key.class new file mode 100644 index 0000000..7e6b7a8 Binary files /dev/null and b/build/classes/net/java/games/input/RawKeyboard$Key.class differ diff --git a/build/classes/net/java/games/input/RawKeyboard.class b/build/classes/net/java/games/input/RawKeyboard.class new file mode 100644 index 0000000..03ff314 Binary files /dev/null and b/build/classes/net/java/games/input/RawKeyboard.class differ diff --git a/build/classes/net/java/games/input/RawKeyboardEvent.class b/build/classes/net/java/games/input/RawKeyboardEvent.class new file mode 100644 index 0000000..4962f5f Binary files /dev/null and b/build/classes/net/java/games/input/RawKeyboardEvent.class differ diff --git a/build/classes/net/java/games/input/RawKeyboardInfo.class b/build/classes/net/java/games/input/RawKeyboardInfo.class new file mode 100644 index 0000000..255ba7e Binary files /dev/null and b/build/classes/net/java/games/input/RawKeyboardInfo.class differ diff --git a/build/classes/net/java/games/input/RawMouse$Axis.class b/build/classes/net/java/games/input/RawMouse$Axis.class new file mode 100644 index 0000000..af9f271 Binary files /dev/null and b/build/classes/net/java/games/input/RawMouse$Axis.class differ diff --git a/build/classes/net/java/games/input/RawMouse$Button.class b/build/classes/net/java/games/input/RawMouse$Button.class new file mode 100644 index 0000000..7201b62 Binary files /dev/null and b/build/classes/net/java/games/input/RawMouse$Button.class differ diff --git a/build/classes/net/java/games/input/RawMouse.class b/build/classes/net/java/games/input/RawMouse.class new file mode 100644 index 0000000..0388d1d Binary files /dev/null and b/build/classes/net/java/games/input/RawMouse.class differ diff --git a/build/classes/net/java/games/input/RawMouseEvent.class b/build/classes/net/java/games/input/RawMouseEvent.class new file mode 100644 index 0000000..d8d3d04 Binary files /dev/null and b/build/classes/net/java/games/input/RawMouseEvent.class differ diff --git a/build/classes/net/java/games/input/RawMouseInfo.class b/build/classes/net/java/games/input/RawMouseInfo.class new file mode 100644 index 0000000..be40482 Binary files /dev/null and b/build/classes/net/java/games/input/RawMouseInfo.class differ diff --git a/build/classes/net/java/games/input/Rumbler.class b/build/classes/net/java/games/input/Rumbler.class new file mode 100644 index 0000000..c748212 Binary files /dev/null and b/build/classes/net/java/games/input/Rumbler.class differ diff --git a/build/classes/net/java/games/input/SetupAPIDevice.class b/build/classes/net/java/games/input/SetupAPIDevice.class new file mode 100644 index 0000000..d3d96be Binary files /dev/null and b/build/classes/net/java/games/input/SetupAPIDevice.class differ diff --git a/build/classes/net/java/games/input/Usage.class b/build/classes/net/java/games/input/Usage.class new file mode 100644 index 0000000..1a0f8c7 Binary files /dev/null and b/build/classes/net/java/games/input/Usage.class differ diff --git a/build/classes/net/java/games/input/UsagePage.class b/build/classes/net/java/games/input/UsagePage.class new file mode 100644 index 0000000..b22845b Binary files /dev/null and b/build/classes/net/java/games/input/UsagePage.class differ diff --git a/build/classes/net/java/games/input/UsagePair.class b/build/classes/net/java/games/input/UsagePair.class new file mode 100644 index 0000000..d918027 Binary files /dev/null and b/build/classes/net/java/games/input/UsagePair.class differ diff --git a/build/classes/net/java/games/input/Version.class b/build/classes/net/java/games/input/Version.class new file mode 100644 index 0000000..64d6259 Binary files /dev/null and b/build/classes/net/java/games/input/Version.class differ diff --git a/build/classes/net/java/games/input/jinput.properties b/build/classes/net/java/games/input/jinput.properties new file mode 100644 index 0000000..176b2a7 --- /dev/null +++ b/build/classes/net/java/games/input/jinput.properties @@ -0,0 +1,2 @@ +version=2.10 +date=13/05/2021 diff --git a/build/classes/net/java/games/input/package.html b/build/classes/net/java/games/input/package.html new file mode 100644 index 0000000..58c075f --- /dev/null +++ b/build/classes/net/java/games/input/package.html @@ -0,0 +1,14 @@ + + + + +Top level package for JInput. + +

Package Specification

+ +Use -Djinput.useDefaultPlugin=false (or net.java.games.input.useDefaultPlugin=false) to disable automatic loading of the default plugin for the platform.
+Use -Djinput.plugins (or net.java.games.input.plugins) and specifiy a list of class name to over ride the plugins system. This will force the classes passed to be loaded first, then plugins will be searched for in the default manner (./controller/*.jar)
+Use -Djinput.controllerPluginPath to change the path the plugins mechanism will use to search for plugin Jars. +Use -Djinput.loglevel to change the logging level using Java util logging level strings. + + \ No newline at end of file diff --git a/build/classes/net/java/games/util/Version.class b/build/classes/net/java/games/util/Version.class new file mode 100644 index 0000000..ef9a40d Binary files /dev/null and b/build/classes/net/java/games/util/Version.class differ diff --git a/build/classes/net/java/games/util/package.html b/build/classes/net/java/games/util/package.html new file mode 100644 index 0000000..62832a4 --- /dev/null +++ b/build/classes/net/java/games/util/package.html @@ -0,0 +1,7 @@ + + + + +Utility package for JInput. See https://github.com/jinput/jutils. + + \ No newline at end of file diff --git a/build/classes/net/java/games/util/plugins/Plugin.class b/build/classes/net/java/games/util/plugins/Plugin.class new file mode 100644 index 0000000..a886d80 Binary files /dev/null and b/build/classes/net/java/games/util/plugins/Plugin.class differ diff --git a/build/classes/net/java/games/util/plugins/PluginLoader.class b/build/classes/net/java/games/util/plugins/PluginLoader.class new file mode 100644 index 0000000..ca1cca0 Binary files /dev/null and b/build/classes/net/java/games/util/plugins/PluginLoader.class differ diff --git a/build/classes/net/java/games/util/plugins/Plugins.class b/build/classes/net/java/games/util/plugins/Plugins.class new file mode 100644 index 0000000..31edea0 Binary files /dev/null and b/build/classes/net/java/games/util/plugins/Plugins.class differ diff --git a/build/classes/net/java/games/util/plugins/package.html b/build/classes/net/java/games/util/plugins/package.html new file mode 100644 index 0000000..cfa0bca --- /dev/null +++ b/build/classes/net/java/games/util/plugins/package.html @@ -0,0 +1,7 @@ + + + + +Utility package for JInput Plugins. + + \ No newline at end of file diff --git a/build/classes/samples/net/java/games/TestSample.class b/build/classes/samples/net/java/games/TestSample.class new file mode 100644 index 0000000..0cb525f Binary files /dev/null and b/build/classes/samples/net/java/games/TestSample.class differ diff --git a/dist/jinput.jar b/dist/jinput.jar new file mode 100644 index 0000000..9383049 Binary files /dev/null and b/dist/jinput.jar differ diff --git a/src/core/net/java/games/input/DefaultControllerEnvironment.java b/src/core/net/java/games/input/DefaultControllerEnvironment.java index e16d6a8..1cb0b54 100644 --- a/src/core/net/java/games/input/DefaultControllerEnvironment.java +++ b/src/core/net/java/games/input/DefaultControllerEnvironment.java @@ -19,7 +19,7 @@ * ANY IMPLIED WARRANT OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR * NON-INFRINGEMEN, ARE HEREBY EXCLUDED. SUN MICROSYSTEMS, INC. ("SUN") AND * ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS - * A RESULT OF USING, MODIFYING OR DESTRIBUTING THIS SOFTWARE OR ITS + * A RESULT OF USING, MODIFYING OR DESTRIBUTING THIS SOFTWARE OR ITS * DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST * REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, * INCIDENTAL OR PUNITIVE DAMAGES. HOWEVER CAUSED AND REGARDLESS OF THE THEORY @@ -50,165 +50,168 @@ import java.util.logging.Logger; * @author Michael Martak */ class DefaultControllerEnvironment extends ControllerEnvironment { - static String libPath; - private static Logger log = Logger.getLogger(DefaultControllerEnvironment.class.getName()); - - /** - * Static utility method for loading native libraries. - * It will try to load from either the path given by - * the net.java.games.input.librarypath property - * or through System.loadLibrary(). - * - */ - static void loadLibrary(final String lib_name) { - AccessController.doPrivileged((PrivilegedAction) () -> { - String lib_path = System.getProperty("net.java.games.input.librarypath"); - if (lib_path != null) { - System.load(lib_path + File.separator + System.mapLibraryName(lib_name)); - } else { - System.loadLibrary(lib_name); - } - return null; - }); - } - - static String getPrivilegedProperty(final String property) { - return AccessController.doPrivileged((PrivilegedAction) () -> System.getProperty(property)); - } - - static String getPrivilegedProperty(final String property, final String default_value) { - return AccessController.doPrivileged((PrivilegedAction) () -> System.getProperty(property, default_value)); - } - - /** - * List of all controllers in this environment - */ - private ArrayList controllers; - - private Collection loadedPluginNames = new ArrayList<>(); - - /** - * Public no-arg constructor. - */ - public DefaultControllerEnvironment() { - } - - /** - * Returns a list of all controllers available to this environment, - * or an empty array if there are no controllers in this environment. - */ - @Override - public Controller[] getControllers() { - if (controllers == null) { - // Controller list has not been scanned. - controllers = new ArrayList<>(); - AccessController.doPrivileged((PrivilegedAction) () -> scanControllers()); - //Check the properties for specified controller classes - String pluginClasses = getPrivilegedProperty("jinput.plugins", "") + " " + getPrivilegedProperty("net.java.games.input.plugins", ""); - if (!getPrivilegedProperty("jinput.useDefaultPlugin", "true").toLowerCase().trim().equals("false") && !getPrivilegedProperty("net.java.games.input.useDefaultPlugin", "true").toLowerCase().trim().equals("false")) { + static String libPath; + + private static Logger log = Logger.getLogger(DefaultControllerEnvironment.class.getName()); + + /** + * Static utility method for loading native libraries. + * It will try to load from either the path given by + * the net.java.games.input.librarypath property + * or through System.loadLibrary(). + * + */ + static void loadLibrary(final String lib_name) { + AccessController.doPrivileged((PrivilegedAction) () -> { + String lib_path = System.getProperty("net.java.games.input.librarypath"); + if (lib_path != null) + System.load(lib_path + File.separator + System.mapLibraryName(lib_name)); + else + System.loadLibrary(lib_name); + return null; + }); + } + + static String getPrivilegedProperty(final String property) { + return AccessController.doPrivileged((PrivilegedAction) () -> System.getProperty(property)); + } + + + static String getPrivilegedProperty(final String property, final String default_value) { + return AccessController.doPrivileged((PrivilegedAction) () -> System.getProperty(property, default_value)); + } + + /** + * List of all controllers in this environment + */ + private ArrayList controllers; + + private Collection loadedPluginNames = new ArrayList<>(); + + /** + * Public no-arg constructor. + */ + public DefaultControllerEnvironment() { + } + + /** + * Returns a list of all controllers available to this environment, + * or an empty array if there are no controllers in this environment. + */ + public Controller[] getControllers() + { + reloadControllers(); + Controller[] ret = new Controller[controllers.size()]; + Iterator it = controllers.iterator(); + int i = 0; + while (it.hasNext()) + { + ret[i] = it.next(); + i++; + } + return ret; + } + + + private void reloadControllers() + { + controllers = new ArrayList<>(); + AccessController.doPrivileged((PrivilegedAction) () -> scanControllers()); + //Check the properties for specified controller classes + String pluginClasses = getPrivilegedProperty("jinput.plugins", "") + " " + getPrivilegedProperty("net.java.games.input.plugins", ""); + if(!getPrivilegedProperty("jinput.useDefaultPlugin", "true").toLowerCase().trim().equals("false") && !getPrivilegedProperty("net.java.games.input.useDefaultPlugin", "true").toLowerCase().trim().equals("false")) { String osName = getPrivilegedProperty("os.name", "").trim(); - if (osName.equals("Linux")) { - pluginClasses = pluginClasses + " net.java.games.input.LinuxEnvironmentPlugin"; - } else if (osName.equals("Mac OS X")) { - pluginClasses = pluginClasses + " net.java.games.input.OSXEnvironmentPlugin"; - } else if (osName.equals("Windows XP") || osName.equals("Windows Vista") || osName.equals("Windows 7") || osName.equals("Windows 8") || osName.equals("Windows 8.1") || osName.equals("Windows 10")) { - pluginClasses = pluginClasses + " net.java.games.input.DirectAndRawInputEnvironmentPlugin"; - } else if (osName.equals("Windows 98") || osName.equals("Windows 2000")) { - pluginClasses = pluginClasses + " net.java.games.input.DirectInputEnvironmentPlugin"; + if(osName.equals("Linux")) { + pluginClasses = pluginClasses + " net.java.games.input.LinuxEnvironmentPlugin"; + } else if(osName.equals("Mac OS X")) { + pluginClasses = pluginClasses + " net.java.games.input.OSXEnvironmentPlugin"; + } else if(osName.equals("Windows XP") || osName.equals("Windows Vista") || osName.equals("Windows 7") || osName.equals("Windows 8") || osName.equals("Windows 8.1") || osName.equals("Windows 10")) { + pluginClasses = pluginClasses + " net.java.games.input.DirectAndRawInputEnvironmentPlugin"; + } else if(osName.equals("Windows 98") || osName.equals("Windows 2000")) { + pluginClasses = pluginClasses + " net.java.games.input.DirectInputEnvironmentPlugin"; } else if (osName.startsWith("Windows")) { - log.warning("Found unknown Windows version: " + osName); - log.warning("Attempting to use default windows plug-in."); - pluginClasses = pluginClasses + " net.java.games.input.DirectAndRawInputEnvironmentPlugin"; + log.warning("Found unknown Windows version: " + osName); + log.warning("Attempting to use default windows plug-in."); + pluginClasses = pluginClasses + " net.java.games.input.DirectAndRawInputEnvironmentPlugin"; } else { - log.warning("Trying to use default plugin, OS name " + osName + " not recognised"); + log.warning("Trying to use default plugin, OS name " + osName +" not recognised"); } - } - - StringTokenizer pluginClassTok = new StringTokenizer(pluginClasses, " \t\n\r\f,;:"); - while (pluginClassTok.hasMoreTokens()) { - String className = pluginClassTok.nextToken(); - try { - if (!loadedPluginNames.contains(className)) { - log.fine("Loading: " + className); - Class ceClass = Class.forName(className); - ControllerEnvironment ce = (ControllerEnvironment) ceClass.getDeclaredConstructor().newInstance(); - if (ce.isSupported()) { - addControllers(ce.getControllers()); - loadedPluginNames.add(ce.getClass().getName()); - } else { - log(ceClass.getName() + " is not supported"); - } - } - } catch (Throwable e) { - e.printStackTrace(); + } + + StringTokenizer pluginClassTok = new StringTokenizer(pluginClasses, " \t\n\r\f,;:"); + while(pluginClassTok.hasMoreTokens()) { + String className = pluginClassTok.nextToken(); + try { + log.fine("Loading: " + className); + Class ceClass = Class.forName(className); + ControllerEnvironment ce = (ControllerEnvironment) ceClass.getDeclaredConstructor().newInstance(); + if(ce.isSupported()) { + addControllers(ce.getControllers()); + loadedPluginNames.add(ce.getClass().getName()); + } else { + log(ceClass.getName() + " is not supported"); + } + } catch (Throwable e) { + e.printStackTrace(); + } + } + } + + /* This is jeff's new plugin code using Jeff's Plugin manager */ + private Void scanControllers() { + String pluginPathName = getPrivilegedProperty("jinput.controllerPluginPath"); + if(pluginPathName == null) { + pluginPathName = "controller"; + } + + scanControllersAt(getPrivilegedProperty("java.home") + + File.separator + "lib"+File.separator + pluginPathName); + scanControllersAt(getPrivilegedProperty("user.dir")+ + File.separator + pluginPathName); + + return null; + } + + private void scanControllersAt(String path) { + File file = new File(path); + if (!file.exists()) { + return; + } + try { + Plugins plugins = new Plugins(file); + @SuppressWarnings("unchecked") + Class[] envClasses = plugins.getExtends(ControllerEnvironment.class); + for(int i=0;i it = controllers.iterator(); - int i = 0; - while (it.hasNext()) { - ret[i] = it.next(); - i++; - } - return ret; - } - - /* This is jeff's new plugin code using Jeff's Plugin manager */ - private Void scanControllers() { - String pluginPathName = getPrivilegedProperty("jinput.controllerPluginPath"); - if (pluginPathName == null) { - pluginPathName = "controller"; - } - - scanControllersAt(getPrivilegedProperty("java.home") - + File.separator + "lib" + File.separator + pluginPathName); - scanControllersAt(getPrivilegedProperty("user.dir") - + File.separator + pluginPathName); - - return null; - } - - private void scanControllersAt(String path) { - File file = new File(path); - if (!file.exists()) { - return; - } - try { - Plugins plugins = new Plugins(file); - @SuppressWarnings("unchecked") - Class[] envClasses = plugins.getExtends(ControllerEnvironment.class); - for (int i = 0; i < envClasses.length; i++) { - try { - ControllerEnvironment.log("ControllerEnvironment " - + envClasses[i].getName() - + " loaded by " + envClasses[i].getClassLoader()); - ControllerEnvironment ce = envClasses[i].getDeclaredConstructor().newInstance(); - if (ce.isSupported()) { - addControllers(ce.getControllers()); - loadedPluginNames.add(ce.getClass().getName()); - } else { - log(envClasses[i].getName() + " is not supported"); - } - } catch (Throwable e) { - e.printStackTrace(); - } - } - } catch (Exception e) { - e.printStackTrace(); - } - } - - /** - * Add the array of controllers to our list of controllers. - */ - private void addControllers(Controller[] c) { - for (int i = 0; i < c.length; i++) { - controllers.add(c[i]); - } - } - - public boolean isSupported() { - return true; - } -} + } catch (Exception e) { + e.printStackTrace(); + } + } + + /** + * Add the array of controllers to our list of controllers. + */ + private void addControllers(Controller[] c) { + for (int i = 0; i < c.length; i++) { + controllers.add(c[i]); + } + } + + public boolean isSupported() { + return true; + } +} \ No newline at end of file