Are there any exceptions visible in the console window or the log file?
Michael
No controller (again)
Re: No controller (again)
Console shows:
Log file: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:406)
at net.java.games.input.LinuxEnvironmentPlugin.enumerateControllers(LinuxEnvironmentPlugin.java:233)
at net.java.games.input.LinuxEnvironmentPlugin.<init>(LinuxEnvironmentPlugin.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:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at net.java.games.input.DefaultControllerEnvironment.getControllers(DefaultControllerEnvironment.java:157)
at ch.ntb.HeliX.controller.FlightController.<init>(FlightController.java:86)
at ch.ntb.HeliX.simulation.Simulation.initController(Simulation.java:164)
at ch.ntb.HeliX.application.Application.<init>(Application.java:153)
at ch.ntb.HeliX.application.Application$1.run(Application.java:757)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Just upgrade my kernel to 2.6.26 to see if that made any difference but it didn't....Application started
3D Environment created
Using openGLLayer JOGL_AWT
Found 11 display modes
Trying to open xml File files/Application/ViewSettings.xml
Using display mode 800x600x?x?
Scenegraph created
Listener Volume: 1.0
Trying to open xml File files/Application/SoundSettings.xml
Listener Volume: 0.8
Sound configuration read
Trying to open xml File files/Application/CameraSettings.xml
View initialized
Trying to open xml File files/Application/EnvironmentSettings.xml
Environment initialized
Loading: net.java.games.input.LinuxEnvironmentPlugin
No Joystick found
Trying to open xml File files/Application/ApplicationSettings.xml
Trying to open xml File ressources/environments/SkyBox/Small/Small.xml
Environment loaded
Loading ressources/models/helicopter/Lama/Lama.obj
Creating Sound ressources/models/helicopter/Lama/Lama.wav
Sound ressources/models/helicopter/Lama/Lama.wav created
Creating Sound ressources/miscellaneous/crash.wav
Sound ressources/miscellaneous/crash.wav created
Key listener added
Status line added
Visible set true
Keyboard and mouse registered
Application successfully initialized
Stopping HELI-X
Re: No controller (again)
Did you get the same error in the Joystick tool? The unsatisfied Link is strange...
Michael
Michael
Re: No controller (again)
If by joystick tool you mean the Analizer then no it just worked straight away.
Re: No controller (again)
Hi Michael,
I've fixed it.
There was a bit in this thread viewtopic.php?f=9&t=9&st=0&sk=t&sd=a&start=10 about downloading the newest jinput libraries. I put the new libjinput-linux.so into the relevant heli-x directory and bingo it's up and running.
YIPEE
at last a sim that I can run 
I've fixed it.
There was a bit in this thread viewtopic.php?f=9&t=9&st=0&sk=t&sd=a&start=10 about downloading the newest jinput libraries. I put the new libjinput-linux.so into the relevant heli-x directory and bingo it's up and running.
YIPEE




Re: No controller (again)
Hello,
interesting. Could you please tell me,
1. When you downloaded your version of HELI-X
2. Where you got the libjinput-linix.so which works.
Thanks,
Michael
interesting. Could you please tell me,
1. When you downloaded your version of HELI-X
2. Where you got the libjinput-linix.so which works.
Thanks,
Michael
Re: No controller (again)
My copy of heli-x on 7th Oct.
I got the latest jinput binaries from https://jinput.dev.java.net/servlets/Pr ... entList%3b - there's a link called 'Latest jinput binaries'.
I got the latest jinput binaries from https://jinput.dev.java.net/servlets/Pr ... entList%3b - there's a link called 'Latest jinput binaries'.
Re: No controller (again)
Thanks, I will check this.
Michael
Michael
Re: No controller (again)
Hi Michael,
hatte das gleiche Problem und nach Austausch der libjinput-linux.so funktionierts bei mir
Was mir bei der Problemanalyse noch aufgefallen war, sind die "merkwürdigen" Zeichen hinterm ControllerNamen.
Sowohl Linux, als auch Windows scheinen da ein Darstellungsproblem zu haben.
Es wird wohl ein Stick aus China sein
Joystick-Analyzer (by Michael Schreiner)
Linux plugin claims to have found 8 controllers
Controller: ? PPM
Type: Stick
Digital component found:Trigger
Digital component found:Thumb
Digital component found:Thumb 2
Analog component found:x
Analog component found:y
Analog component found:z
Analog component found:rx
Analog component found:ry
mfg
thomas_e
hatte das gleiche Problem und nach Austausch der libjinput-linux.so funktionierts bei mir

Was mir bei der Problemanalyse noch aufgefallen war, sind die "merkwürdigen" Zeichen hinterm ControllerNamen.
Sowohl Linux, als auch Windows scheinen da ein Darstellungsproblem zu haben.
Es wird wohl ein Stick aus China sein

Joystick-Analyzer (by Michael Schreiner)
Linux plugin claims to have found 8 controllers
Controller: ? PPM
Type: Stick
Digital component found:Trigger
Digital component found:Thumb
Digital component found:Thumb 2
Analog component found:x
Analog component found:y
Analog component found:z
Analog component found:rx
Analog component found:ry
mfg
thomas_e
Re: No controller (again)
Hallo Thomas,
danke. Was für ein Linux-System hast Du?
Michael
danke. Was für ein Linux-System hast Du?
Michael