T248 loses force feedback despite the firmware update! This more or less coincides when the game loses connection and a message comes up that you can no more autosave.Information, Guides and Announcements for the EA app.To end this thread I will post a config that works for me (also for my own future reference). The above config still needs tweaking as the 4th axis needs to be replaced by the 5th axis. Then reboot to get Unity to recognize the joystick consistently. PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" My file looks like this after adding the line: This opens an editor window where you need to add (do not remove any existing lines) a line to set the environment variable. To set permanent environment variables in latest Ubuntu versions (from 14.04 and above) add the variables to /etc/environment. I will post the final result soon.Īs a follow up, here is what works consistently. I think I need to tweak some axes/buttons but it does seem to work. JoystickTest:Awake() (at Assets/JoystickTest.cs:12) Joystick1 = Thrustmaster T.Flight Hotas X I'm unfamiliar with environment variables and maybe the above is not sufficient to get Unity to see the joystick?Īfter a reboot the stick is now recognized in Unity! Thanks for your patience Tak, alas no 'joy' as yet. My conclusion so far is that the stick is recognized within the SDL system. I then typed (the 0 is the Joystick Number obtained from the previous command):Īll axes and buttons in this terminal window responded to joystick movement and button clicks. Joystick Name: 'Thrustmaster T.Flight Hotas X' I could then run the program in the terminal by typing: Then in a terminal I needed to install the required packages and then compile the source code into an executable program: I downloaded the zip, unpacked it which produced a folder called "sdl-jstest-master" in my Downloads folder. To further test the joystick I installed sdl-jstest, see Moving the joystick and clicking buttons produced 'mojibake' but showed correct responses. Usb-Thrustmaster_T.Flight_Hotas_X-joystickĬat usb-Thrustmaster_T.Flight_Hotas_X-event-joystick Usb-Thrustmaster_T.Flight_Hotas_X-event-joystick In my case I opened a terminal and typed: I then followed the instruction on how to test one's configuration. I'm assuming that Tak refers to the original Joystick interface as the "old" joystick system and that the 'evdev' based system is the SDL newer one. SDL2 supports only the new 'evdev' interface." "While SDL1 defaults to 'evdev' interface you can force it to use the old 'Joystick' API by setting the environment variable SDL_JOYSTICK_DEVICE=/dev/input/js0. The original 'Joystick' interface and the newer 'evdev' based one." "Linux has 2 different input systems for Joysticks. The Archlinux wiki has some info on this, see I try to understand what Tak meant with the "old" joystick system and the migration to SDL. I'm sure this would help other users as well. I would appreciate any pointers on how to proceed to get this working. Then switched to Ubuntu and neither are recognised.īecause Tak mentioned that the joystick I have is tested and should work the problem clearly is on my end. I have a dualboot system and tried the test game on Windows where both controllers are recognised and working. I've tried another game controller (usb RS- Flugsimulator) that was also not recognised. Thanks Tak and jamesremuscat for your responses.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |