Welcome, Guest. Please login or register.

Author Topic: USB gamepad not working with WinUAE  (Read 3497 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Ral-ClanTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2006
  • Posts: 1974
  • Country: ca
    • http://www3.sympatico.ca/clarke-santin/
USB gamepad not working with WinUAE
« on: April 02, 2021, 05:41:00 PM »
Hi,

I've just set up a new computer with WinUAE 4.4.0 and while the configuration panel can "see" my USB gamepad, it won't actually do anything when the emulation is running (i.e. I can't control a game).
I've used WinUAE for years under both Windows XP, and after switching to Linux, under WINE. It has always worked flawlessly. Now that I'm setting up this new computer with WinUAE, I can't seem to get it to work and don't know why. The gamepad is good. It works in VICE, FS-UAE and all other software.

Under the "Host/Game ports" config panel, the gamepad is listed in the drop down list for Port 1 and Port 2. I've tried it in both virtual ports (and tried "swap ports").
It's also present in the "Host/Input" config panel. However, in both of those panels, when I press the "Remap/Test" button none of the D-pad or button presses register, although keyboard and mouse clicks register.

I can't figure out why it won't work!  Any clues? As I've said before, I've had it working before for the past 5 years on my previous Linux computer. The distro I use is Lubuntu.

I found this thread http://eab.abime.net/showthread.php?t=95618 on English Amiga board where the same problem is described, and Tony Wilen (the WinUAE author) suggests: " Try -norawhid command line. It probably fixes gamepad/joystick problem". That seemed to fix the issue for the person who was having the problem, but I'm not sure how to implement this parameter.

Using:
wine -norawhid winuae4400.exe
...does not work, so I must be implementing it wrong.

Thanks.

I've attached screenshots of my setup.
(see screenshots).
« Last Edit: April 02, 2021, 05:52:43 PM by Ral-Clan »
Music I've made using Amigas and other retro-instruments: http://theovoids.bandcamp.com
 

Offline Ral-ClanTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2006
  • Posts: 1974
  • Country: ca
    • http://www3.sympatico.ca/clarke-santin/
Re: USB gamepad not working with WinUAE
« Reply #1 on: April 02, 2021, 06:00:12 PM »
Solution found:

wine winuae4400.exe -norawhid

is the correct syntax to use (so the parameter is passed to the winuae executable.

So if you make a desktop launcher for WinUAE in Linux, it can look something like this:

Quote
[Desktop Entry]
Name=WinUAE
Comment=Windows Amiga emulator
Exec=wine "/home/brent/.wine/drive_c/Program Files (x86)/WinUAE/winuae64_4400.exe" -norawhid
Icon=WinUAE
Terminal=false
Type=Application
Categories=Games;

Just leaving this thread here for anyone else who has the same problem.
Music I've made using Amigas and other retro-instruments: http://theovoids.bandcamp.com