punesemu/puNES

Set gamepad ID via command line

bmsuseluda opened this issue · 2 comments

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

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.

take your time. private live goes first.