Hello. I am using the following version of jinput:
jinput_linux_2005-12-04.tgz
java version = 1.5.0_06 from Sun
Running 2.6.15 under gentoo with gcc 3.4.5
Output of ControllerReadTest is below.
Everything about the component is null except for the value of it (take a button, it reports off or on but it does not report its name).
I am running the test with the following where everything is in the current directory.
1
| java -Djava.library.path=. -classpath .:jinput.jar net.java.games.input.test.ControllerReadTest |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
| OS name is: Linux Linux plugin is supported OS name is: Linux Linux plugin is supported Initing JInputLibrary Shutdown thread created and run Initing event interface Initing joystick interface Trying to open /dev/input/js0 Opened /dev/input/js0, trying to get device name Getting button and axes information for /dev/input/js0 Initialisation of /dev/input/js0 completed Trying to open /dev/input/js1 Opened /dev/input/js1, trying to get device name Getting button and axes information for /dev/input/js1 Initialisation of /dev/input/js1 completed Getting the number of event devices Getting 0 event devices Getting the number of joystick devices Getting 2 joystick devices Copying joystick device 0 to jinput device list 0 Copying joystick device 1 to jinput device list 1 Waiting on monitor Gettign device name for jinput device 0. jinput device 0 is 136168360 Gettign device name for jinput device 0, (Saitek Saitek X45) Gettign number of absolute axes for jinput device 0 (8) Gettign number of relative axes for jinput device 0 (0) Gettign number of buttons for jinput device 0 (26) Java working on device Saitek Saitek X45 Getting bus type for device 0 Getting supported buttons for jinput device 0 Getting suported relative axes for jinput device 0 Getting suported absolute axes for jinput device 0 Getting fuzz data for axis 0 on device 0 Getting absolute axes minimum value data for axis 0 on device 0 Getting absolute axes maximum value data for axis 0 on device 0 Getting fuzz data for axis 1 on device 0 Getting absolute axes minimum value data for axis 1 on device 0 Getting absolute axes maximum value data for axis 1 on device 0 Getting fuzz data for axis 2 on device 0 Getting absolute axes minimum value data for axis 2 on device 0 Getting absolute axes maximum value data for axis 2 on device 0 Getting fuzz data for axis 3 on device 0 Getting absolute axes minimum value data for axis 3 on device 0 Getting absolute axes maximum value data for axis 3 on device 0 Getting fuzz data for axis 4 on device 0 Getting absolute axes minimum value data for axis 4 on device 0 Getting absolute axes maximum value data for axis 4 on device 0 Getting fuzz data for axis 5 on device 0 Getting absolute axes minimum value data for axis 5 on device 0 Getting absolute axes maximum value data for axis 5 on device 0 Getting fuzz data for axis 6 on device 0 Getting absolute axes minimum value data for axis 6 on device 0 Getting absolute axes maximum value data for axis 6 on device 0 Getting fuzz data for axis 7 on device 0 Getting absolute axes minimum value data for axis 7 on device 0 Getting absolute axes maximum value data for axis 7 on device 0 Getting supported buttons for jinput device 0 Getting FFEnabled status for device 0 Java code thinks FF is disabled for device Saitek Saitek X45 Gettign device name for jinput device 1. jinput device 1 is 136165296 Gettign device name for jinput device 1, (Logitech Logitech(R) Precision(TM) Gamepad) Gettign number of absolute axes for jinput device 1 (2) Gettign number of relative axes for jinput device 1 (0) Gettign number of buttons for jinput device 1 (10) Java working on device Logitech Logitech(R) Precision(TM) Gamepad Getting bus type for device 1 Getting supported buttons for jinput device 1 Getting suported relative axes for jinput device 1 Getting suported absolute axes for jinput device 1 Getting fuzz data for axis 0 on device 1 Getting absolute axes minimum value data for axis 0 on device 1 Getting absolute axes maximum value data for axis 0 on device 1 Getting fuzz data for axis 1 on device 1 Getting absolute axes minimum value data for axis 1 on device 1 Getting absolute axes maximum value data for axis 1 on device 1 Getting supported buttons for jinput device 1 Getting FFEnabled status for device 1 Java code thinks FF is disabled for device Logitech Logitech(R) Precision(TM) Gamepad Linux plugin claims to have found 2 controllers Component count = 34 Component count = 12 |