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

Set gamepad ID via command line #393

Open
bmsuseluda opened this issue Apr 3, 2024 · 2 comments
Open

Set gamepad ID via command line #393

bmsuseluda opened this issue Apr 3, 2024 · 2 comments

Comments

@bmsuseluda
Copy link

Hello Fabio,

sorry to bother you again with this topic.

I mapped the gamepad buttons successfully as you can see here: https://github.com/bmsuseluda/emuze/blob/feat/nextRelease0424/app/server/applicationsDB.server/applications/punes/index.ts

The one thing i could not get to work is to set the gamepad itself.

In the input.cfg file the gamepad id is set by puNES:
P1J GUID={FE11FF9C-045E-0396-02E0-01B409030773}

So i tried --input.p1j.guid {FE11FF9C-045E-0396-02E0-01B409030773} and --input.p1j.guid FE11FF9C-045E-0396-02E0-01B409030773 but none of these work.

On top of this i found out that the GUID i get from SDL2 and the GUID from puNES are not the same.
So i would like to ask what format puNES expects.

As always thank you for your work
bmsuseluda

@punesemu
Copy link
Owner

punesemu commented Apr 7, 2024

Hi bmsuseluda, sorry for the delay but I have some problems and I don't have time to dedicate to the emulator. I'll take a look as soon as possible.

@bmsuseluda
Copy link
Author

take your time. private live goes first.

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