controller issues
-
- Posts: 2
- Joined: 21 May 2013 05:19
controller issues
hello all, new to the board and heli-x. trying to get it set up on debian. have it running on a wheezy machine no problem. this machine is between wheezy and jessie, and i think that may be the issue. but heli-x keeps looking for my joystick at /dev/input/event* and my joystick is located at /dev/input/js0 and i do not know how to fix the java association.
Re: controller issues
Hello
Please post the output of the console...
Michael
Please post the output of the console...
Michael
-
- Posts: 2
- Joined: 21 May 2013 05:19
Re: controller issues
here you are sir,
Set new path for the resources: /home/user/Documents/HELI-X42/resources/
Set new path for the user files: /home/user/Documents/HELI-X42/files/
Couldn't find tag "Resolution" in file "/home/user/Documents/HELI-X42/files/Application/ViewSettings.xml"
Using openGLLayer JOGL_AWT
Found 2 display modes
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event0): Failed to open device /dev/input/event0 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event1): Failed to open device /dev/input/event1 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event10): Failed to open device /dev/input/event10 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event11): Failed to open device /dev/input/event11 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event12): Failed to open device /dev/input/event12 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event13): Failed to open device /dev/input/event13 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event14): Failed to open device /dev/input/event14 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event2): Failed to open device /dev/input/event2 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event3): Failed to open device /dev/input/event3 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event4): Failed to open device /dev/input/event4 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event5): Failed to open device /dev/input/event5 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event6): Failed to open device /dev/input/event6 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event7): Failed to open device /dev/input/event7 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event8): Failed to open device /dev/input/event8 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event9): Failed to open device /dev/input/event9 (13)
java.lang.UnsatisfiedLinkError: net.java.games.input.LinuxJoystickDevice.nGetAxisMap(J)[B
at net.java.games.input.LinuxJoystickDevice.nGetAxisMap(Native Method)
at net.java.games.input.LinuxJoystickDevice.getDeviceAxisMap(LinuxJoystickDevice.java:200)
at net.java.games.input.LinuxJoystickDevice.<init>(LinuxJoystickDevice.java:70)
at net.java.games.input.LinuxEnvironmentPlugin.enumerateJoystickControllers(LinuxEnvironmentPlugin.java:408)
at net.java.games.input.LinuxEnvironmentPlugin.enumerateControllers(LinuxEnvironmentPlugin.java:235)
at net.java.games.input.LinuxEnvironmentPlugin.<init>(LinuxEnvironmentPlugin.java:115)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:374)
at java.lang.Class.newInstance(Class.java:327)
at net.java.games.input.DefaultControllerEnvironment.getControllers(DefaultControllerEnvironment.java:160)
at a.a.a.n.a.r(Unknown Source)
at a.a.a.n.a.<init>(Unknown Source)
at a.a.a.g.h.W(Unknown Source)
at a.a.a.g.h.<init>(Unknown Source)
at a.a.a.m.q.<init>(Unknown Source)
at a.a.a.m.e.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:697)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
No Joystick found
that's all it spit out
thanks
Set new path for the resources: /home/user/Documents/HELI-X42/resources/
Set new path for the user files: /home/user/Documents/HELI-X42/files/
Couldn't find tag "Resolution" in file "/home/user/Documents/HELI-X42/files/Application/ViewSettings.xml"
Using openGLLayer JOGL_AWT
Found 2 display modes
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event0): Failed to open device /dev/input/event0 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event1): Failed to open device /dev/input/event1 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event10): Failed to open device /dev/input/event10 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event11): Failed to open device /dev/input/event11 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event12): Failed to open device /dev/input/event12 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event13): Failed to open device /dev/input/event13 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event14): Failed to open device /dev/input/event14 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event2): Failed to open device /dev/input/event2 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event3): Failed to open device /dev/input/event3 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event4): Failed to open device /dev/input/event4 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event5): Failed to open device /dev/input/event5 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event6): Failed to open device /dev/input/event6 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event7): Failed to open device /dev/input/event7 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event8): Failed to open device /dev/input/event8 (13)
May 21, 2013 10:58:50 AM net.java.games.input.ControllerEnvironment log
INFO: Failed to open device (/dev/input/event9): Failed to open device /dev/input/event9 (13)
java.lang.UnsatisfiedLinkError: net.java.games.input.LinuxJoystickDevice.nGetAxisMap(J)[B
at net.java.games.input.LinuxJoystickDevice.nGetAxisMap(Native Method)
at net.java.games.input.LinuxJoystickDevice.getDeviceAxisMap(LinuxJoystickDevice.java:200)
at net.java.games.input.LinuxJoystickDevice.<init>(LinuxJoystickDevice.java:70)
at net.java.games.input.LinuxEnvironmentPlugin.enumerateJoystickControllers(LinuxEnvironmentPlugin.java:408)
at net.java.games.input.LinuxEnvironmentPlugin.enumerateControllers(LinuxEnvironmentPlugin.java:235)
at net.java.games.input.LinuxEnvironmentPlugin.<init>(LinuxEnvironmentPlugin.java:115)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:374)
at java.lang.Class.newInstance(Class.java:327)
at net.java.games.input.DefaultControllerEnvironment.getControllers(DefaultControllerEnvironment.java:160)
at a.a.a.n.a.r(Unknown Source)
at a.a.a.n.a.<init>(Unknown Source)
at a.a.a.g.h.W(Unknown Source)
at a.a.a.g.h.<init>(Unknown Source)
at a.a.a.m.q.<init>(Unknown Source)
at a.a.a.m.e.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:697)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
No Joystick found
that's all it spit out
thanks
Re: controller issues
Hello,
there are two issues:
try chmod 777 /dev/input/e*
And then the native jinput library seems to be not compatible with your system.
Try to use the other script (64 bit vs. 32 bit). If you still have the unsatisfied link issue, serach for a native jinput lib for your system.
Michael
there are two issues:
try chmod 777 /dev/input/e*
And then the native jinput library seems to be not compatible with your system.
Try to use the other script (64 bit vs. 32 bit). If you still have the unsatisfied link issue, serach for a native jinput lib for your system.
Michael
Re: controller issues
I was having the same issue, chmod 777 stopped the errors and my gamepad is somewhat working.
However the only axis that seems to respond is x (left anologue stick) but it only reads -1 and +1, the rest of the axis that are detected dont do anything in heli x despite it detecting x y z and zr anologue controls.
Also is there any way to change how it treats buttons? since a gamepad doesnt have any swtiches, idle up functions mean having to hold the button down.
However the only axis that seems to respond is x (left anologue stick) but it only reads -1 and +1, the rest of the axis that are detected dont do anything in heli x despite it detecting x y z and zr anologue controls.
Code: Select all
bazsound@bazsound-MS-7309:/media/ExternalDrive/Alex/HELI-X$ ./runHELI-X64.sh
Set new path for the resources: /media/ExternalDrive/Alex/HELI-X/resources/
Set new path for the user files: /media/ExternalDrive/Alex/HELI-X/files/
Couldn't find tag "Resolution" in file "/media/ExternalDrive/Alex/HELI-X/files/Application/ViewSettings.xml"
Using openGLLayer JOGL_AWT
Found 17 display modes
Oct 16, 2013 9:24:54 AM net.java.games.input.ControllerEnvironment log
INFO: Linux plugin claims to have found 7 controllers
Controller found: Name: SZMY-POWER CO.,LTD. GAMEPAD 3 TURBO(SZMY-POWER CO.,LTD. GAMEPAD 3 TURBO)
Using Stick SZMY-POWER CO.,LTD. GAMEPAD 3 TURBO
Digital component found:A
Digital component found:B
Digital component found:C
Digital component found:X
Digital component found:Y
Digital component found:Z
Digital component found:Left Thumb
Digital component found:Right Thumb
Digital component found:Left Thumb 2
Digital component found:Right Thumb 2
Digital component found:Select
Digital component found:Unknown
Digital component found:Mode
Analog component found:x
Analog component found:y
Analog component found:z
Analog component found:rz
Digital component found:pov
Controller configuration file found: /media/ExternalDrive/Alex/HELI-X/files/controller/SZMY-POWERCOLTDGAMEPAD3TURBO.xml
Controller configuration file /media/ExternalDrive/Alex/HELI-X/files/controller/SZMY-POWERCOLTDGAMEPAD3TURBO.xml read
Controller configuration file found: /media/ExternalDrive/Alex/HELI-X/files/controller/SZMY-POWERCOLTDGAMEPAD3TURBO.xml
Controller configuration file /media/ExternalDrive/Alex/HELI-X/files/controller/SZMY-POWERCOLTDGAMEPAD3TURBO.xml read
Re: controller issues
Nevermind i got it working, had to click sticks and go through the calibaration.
Flying a heli with a USB gamepad is.... interesting. Just as bad as the RC flight sim i have for my android phone that uses a touch pad joystick,
Lack of sensitivity
Will need to get mysef a USB Controller
Flying a heli with a USB gamepad is.... interesting. Just as bad as the RC flight sim i have for my android phone that uses a touch pad joystick,
Lack of sensitivity
Will need to get mysef a USB Controller