Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Joystick setup for emulator #261

Open
pmprog opened this issue Aug 11, 2024 · 2 comments
Open

Joystick setup for emulator #261

pmprog opened this issue Aug 11, 2024 · 2 comments

Comments

@pmprog
Copy link

pmprog commented Aug 11, 2024

Hi,

It'd be great if there was a way to define how many joysticks and their mappings in the config file. Running on Linux, we don't get the full WinUAE configuration menu, and the default state of the 2nd firebutton is not accessible in the emulator. I had to remap on an external version and copy the compiled program out to test the 2nd firebutton

Thanks

@BartmanAbyss
Copy link
Owner

Hi,
you can set all FS-UAE options via command line using the emuArgs property. Edit your .vscode/launch.json file like this:

   ...
    "configurations": [
        {
           ...
           "emuArgs": ["arg1", "arg2", "arg3" ],
          ...
        },
    ....

You have to look up the concrete FS-UAE options to map the joystick

@pmprog
Copy link
Author

pmprog commented Aug 13, 2024

I tried just adding fullscreen to test, but that doesn't seem to work. Am I doing it correctly?
Also, I get a warning if I try emuArgs with a capital A. No warnings if all lower case (I did try both though)

        {
            "type": "amiga",
            "request": "launch",
            "name": "Amiga 1200",
            "config": "A1200",
            "program": "${workspaceFolder}/build/gamekit",
            "kickstart": "${config:amiga.rom-paths.A1200}",
            "internalConsoleOptions": "openOnSessionStart",
            "emuargs": [ "fullscreen = 1", "fullscreen_mode = fullscreen-window" ]
        }

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants