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

Red button won't register when using gamepad #55

Closed
goodstuff626 opened this issue Mar 8, 2024 · 5 comments
Closed

Red button won't register when using gamepad #55

goodstuff626 opened this issue Mar 8, 2024 · 5 comments
Labels

Comments

@goodstuff626
Copy link

I use ps3 wired controller to play games. When I start Congo Bongo, or Donkey Kong, the opening screen I need to press either number 1-8, but when I press 1 on my keyboard it does not select anything. I don't want to press a number from my joystick, as I don't know what buttons go to what numbers. In Colem emulator, I can use joystick, and press keyboard keys. Why disable keyboard when using a joystick in Gearcoleco? Or am I doing something wrong?

@drhelius
Copy link
Owner

drhelius commented Mar 8, 2024

Are you using desktop version or Retro Arch? You should use both at the same time. I'll check it out.

@goodstuff626
Copy link
Author

Are you using desktop version or Retro Arch? You should use both at the same time. I'll check it out.

I am using desktop version. Windows 10 64bit.

@goodstuff626
Copy link
Author

goodstuff626 commented Mar 11, 2024

Ok, I realized you have to use the number pad on the right side of the keyboard, not the numbers above the letters. So that is good. But now I realized there is another problem. Mapping buttons to my joystick (ps3 controller with xinput) only "yellow left" button works correctly. When I map "red right" to a button, it won't register when playing a game. But hitting "S" on my keyboard will register when playing a game. Is this a bug with the emulator?

(also, is it possible to un-map a button from the joystick? Once a button is mapped, can you only re-map it to another button? What does GUID mean in the joystick input?)

@drhelius drhelius changed the title Cannot use keyboard when using joystick? Why? Red button won't register when using gamepad Mar 22, 2024
@drhelius drhelius added the bug label Mar 22, 2024
@drhelius
Copy link
Owner

It's not possible to un-map buttons. I just created #57 to add this feature.

GUID is the GUIDE button in some gamepads. I don't know why the name gets cropped. https://wiki.libsdl.org/SDL2/SDL_GameControllerButton

@drhelius
Copy link
Owner

Thanks for reporting about the "right" button. It was a typo in the code. Fixed now.

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

No branches or pull requests

2 participants