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

Using Meta button of keyboard for gamepad button works erroneously #359

Closed
TCH68k opened this issue Dec 22, 2023 · 5 comments
Closed

Using Meta button of keyboard for gamepad button works erroneously #359

TCH68k opened this issue Dec 22, 2023 · 5 comments

Comments

@TCH68k
Copy link

TCH68k commented Dec 22, 2023

If you try to use the Meta key for any gamepad button, then the following happens. At detecting, it prints some garbage characters:
http://oscomp.hu/depot/puNES_input_button_turbo_b_detected.png
Though it works and you can use it without problems. When you quit, in ~/.config/puNES/input.cfg the variable P1K TurboB contains ៀ? (0xe19f803f in hexa).

After restart, the Meta button no longer works. If you now open the config panel again, then it shows an empty field there:
http://oscomp.hu/depot/puNES_input_button_turbo_b_first_restart.png
After quit, in input.cfg, P1K TurboB contains nothing.

After the second restart, it shows that the button is configured for the Q button:
http://oscomp.hu/depot/puNES_input_button_turbo_b_second_restart.png
And at quit, P1K TurboB is indeed set to Q in input.cfg.

If you try to edit input.cfg and set P1K TurboB to Meta, then it keeps the value correctly, but the button is not working in the emulator.

@punesemu
Copy link
Owner

punesemu commented Jan 4, 2024

I can't reproduce the problem on any Linux system I have available. What version of Qt does your distribution use? I remember that this problem was due to a QT bug which was later fixed although I don't remember in which version.

@TCH68k
Copy link
Author

TCH68k commented Jan 4, 2024

It is 5.15.2.

@punesemu
Copy link
Owner

punesemu commented Jan 4, 2024

Please, can you try with the last commit (56f4ddd)?

@TCH68k
Copy link
Author

TCH68k commented Jan 4, 2024

Yes, it works perfectly. Now it detects Meta as Meta and stores it as that and can reload it. (Although it makes no distinction between the left and right Meta, but i can live with that.) Thanks.

When will v0.111 be released?

@punesemu
Copy link
Owner

punesemu commented Jan 4, 2024

I need to complete some other tasks first. I can't tell you when I'll release a new version, I don't know yet.

@punesemu punesemu closed this as completed Jan 4, 2024
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