this is what I get when I try to run JInput code:
...
Creating Dell USB Keyboard Hub polling = false
Creating Dell USB Keyboard Hub polling = false
Creating Dell USB Keyboard Hub polling = false
java.lang.ArrayIndexOutOfBoundsException: 223
at net.java.games.input.DirectInputKeyboard.renameKey(DirectInputKeyboard.java:147)
at net.java.games.input.DirectInputKeyboard.renameKeys(Native Method)
at net.java.games.input.DirectInputKeyboard.createKeyboard(DirectInputKeyboard.java:205)
at net.java.games.input.DirectInputEnvironmentPlugin.addDevice(DirectInputEnvironmentPlugin.java:162)
at net.java.games.input.DirectInputEnvironmentPlugin.enumDevices(Native Method)
at net.java.games.input.DirectInputEnvironmentPlugin.enumControllers(DirectInputEnvironmentPlugin.java:133)
at net.java.games.input.DirectInputEnvironmentPlugin.<init>(DirectInputEnvironmentPlugin.java:113)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:498)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at net.java.games.input.DefaultControllerEnvironment.scanControllersAt(DefaultControllerEnvironment.java:208)
at net.java.games.input.DefaultControllerEnvironment.scanControllers(DefaultControllerEnvironment.java:189)
at net.java.games.input.DefaultControllerEnvironment.access$000(DefaultControllerEnvironment.java:58)
at net.java.games.input.DefaultControllerEnvironment$1.run(DefaultControllerEnvironment.java:109)
at java.security.AccessController.doPrivileged(Native Method)
at net.java.games.input.DefaultControllerEnvironment.getControllers(DefaultControllerEnvironment.java:107)