English Amiga Board


Go Back   English Amiga Board > Support > support.FS-UAE

 
 
Thread Tools
Old 30 January 2013, 17:37   #1
gofaster
 
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.
Attached Files
File Type: txt Launcher.log.txt (32.0 KB, 185 views)
File Type: uae LastConfig.uae (10.4 KB, 146 views)
File Type: txt FS-UAE.log.txt (57.1 KB, 176 views)

Last edited by FrodeSolheim; 02 February 2013 at 14:49. Reason: Added [Solved]
 
Old 30 January 2013, 20:13   #2
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
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.
FrodeSolheim is offline  
Old 30 January 2013, 21:31   #3
gofaster
 
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.
Attached Thumbnails
Click image for larger version

Name:	fs-uae launcher.png
Views:	331
Size:	121.4 KB
ID:	34090   Click image for larger version

Name:	fs-uae-1.png
Views:	295
Size:	403.4 KB
ID:	34091   Click image for larger version

Name:	fs-uae-2.png
Views:	311
Size:	384.4 KB
ID:	34092   Click image for larger version

Name:	fs-uae-3.png
Views:	293
Size:	411.4 KB
ID:	34093  
Attached Files
File Type: txt gamepad_f310_controller_10_5_1_0_windows.conf.txt (680 Bytes, 145 views)
 
Old 30 January 2013, 21:40   #4
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
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.
FrodeSolheim is offline  
Old 30 January 2013, 22:15   #5
gofaster
 
Posts: n/a
That was it! I must have missed it in the docs.
Thanks for your help and for FS-UAE!
 
Old 30 January 2013, 22:18   #6
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
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.
FrodeSolheim is offline  
Old 30 January 2013, 22:25   #7
gofaster
 
Posts: n/a
I'll install for the next dev version and forward new logs.
 
Old 30 January 2013, 23:00   #8
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
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.
FrodeSolheim is offline  
Old 30 January 2013, 23:35   #9
gofaster
 
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:05.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.13833 seconds with 13 queries