30 January 2013, 17:37 | #1 |
Posts: n/a
|
Can't get F310 gamepad to work in 2.1.23dev [Solved]
Hi -
I installed FS-UAE a couple weeks ago and was playing Deluxe Galaga with the keyboard. I recently bought and installed a Logitech F310 gamepad. However I cannot get it to work properly. The only actions recognized are: left trigger = autofire toggle west button = pause south button = unpause In the launcher, I select joystick for the first joystick but I don't see the gamepad as an option in the dropdown to the right. After launch and pressing F12, the joystick is selected but the device shown is keyboard. The gamepad choice is visible there but even selected, does not seem to have any effect. I have gone through the Joystick Configuration in the Launcher. Do I have to create a custom controller config? FS-UAE 2.1.23dev Windows 7 64-bit Logitech F310 in XInput mode with built in MS drivers. Thanks for any pointers. Last edited by FrodeSolheim; 02 February 2013 at 14:49. Reason: Added [Solved] |
30 January 2013, 20:13 | #2 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Hi. The controller should be supported out of the box. But on your system it is called "GAMEPAD F310 (CONTROLLER)" while on my Windows boxes it is called CONTROLLER (GAMEPAD F310). That's why it is needs a configuration file (like you created with Joystick Configuration in the Launcher).
You must plug the joystick in before starting FS-UAE Launcher, or else it will not show in the drop down list. FS-UAE.log indicates that it works, but that you didn't really try the combination: * (Amiga) Joystick * (Host) GAMEPAD F310 (CONTROLLER) Instead, it looks like you tried to (via the FS-UAE menu) use GAMEPAD F310 (CONTROLLER) as an Amiga mouse, which is not currently supported. Last edited by FrodeSolheim; 30 January 2013 at 21:34. |
30 January 2013, 21:31 | #3 |
Posts: n/a
|
I tried that, I never see the F310 as a choice in the Launcher's drop down. After the game is launched and I press F12. The setting is displayed as Joystick:Keyboard. The F310 now appears as a choice within the emulator. However after I select it, the movement and fire controls still don't work. The only buttons that appear do anything are West (Pause) and North/South (Unpause). Please see screenshots.
Also, the name of the joystick config file that the Launcher creates is long, is that normal? I've attached it as well (with .txt appended to file name). Thanks again. |
30 January 2013, 21:40 | #4 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Everything looks fine (except for the entry missing in FS-UAE Launcher)
- but you need to use the other port for the joystick (joystick port 1). (In hindsight, it might have been better to display port 1 in GUI first, and then port 0 .. ) The long name is normal, the number of buttons, axes, hats, etc is included to make the name more unique (sometimes, devices have annoyingly generic names -which can cause name collisions...) Last edited by FrodeSolheim; 30 January 2013 at 21:52. |
30 January 2013, 22:15 | #5 |
Posts: n/a
|
That was it! I must have missed it in the docs.
Thanks for your help and for FS-UAE! |
30 January 2013, 22:18 | #6 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Great
Regarding the joystick-not-showing-up-in-the-launcher issue: a bit weird, since FS-UAE is executed during Launcher startup to retrieve the joysticks with SDL. The launcher log indicates that no joysticks are detected by FS-UAE. I'll add some more logging in the next development version. |
30 January 2013, 22:25 | #7 |
Posts: n/a
|
I'll install for the next dev version and forward new logs.
|
30 January 2013, 23:00 | #8 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Actually, i got the same problem here on a Windows computer. Turns out the problem was that the effective header #include order was changed, so SDL.h was included after fs/emu.h, causing SDL's "fake main() for Windows" to shadow libfsemu's, and SDL by default redirects stdout to stdout.txt in its "main()" implementation (which happened here).
So the device list was sent to stdout.txt instead of to the Launcher... (a Windows-only issue). I have created a test build for you, which should fix the Launcher joystick problem: http://fengestad.no/fs-uae/devel/2.1.23dev2/ (I also updated the included OpenAL to the latest version, so please let me know if the sound doesn't work or something similar ) Last edited by FrodeSolheim; 30 January 2013 at 23:06. |
30 January 2013, 23:35 | #9 |
Posts: n/a
|
Wow that was quick!
Happy to report that everything works. F310 shows up in Launcher and works in-game, no fiddling required. Did not detect any audio issues during my brief test. Thanks again! |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gamepad doesn't work in-game :( | Cherno | support.WinUAE | 2 | 16 April 2013 15:58 |
Anyone ever fixed a gamepad? | mancity | support.Hardware | 5 | 26 May 2012 14:13 |
Gamepad randomly doesn't work | puddinpops | support.WinUAE | 1 | 04 September 2010 08:04 |
Can't get gamepad to work | Gonzouk | support.WinUAE | 13 | 30 April 2007 22:04 |
Gamepad problem | kemppe | New to Emulation or Amiga scene | 3 | 09 November 2002 11:59 |
|
|