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

Fix TIC-80 when using a French AZERTY layout #2663

Merged
merged 5 commits into from
Aug 26, 2024

Conversation

aliceisjustplaying
Copy link
Collaborator

Fixes #2520. alt+[grave]12345 is not triggered if an AZERTY layout is set (the user can still use esc + function keys). This allows AZERTY keyboards to fully (as far as I can tell) work with TIC-80.

There is also some groundwork laid for a potential fix of #1761 in the future, as well as detecting other layouts; this is more work though and definitely a separate PR. Let me know if you'd rather not have this bit and I can dumb it down to strictly detecting AZERTY.

Tested on MacOS 14, Windows 11 and Linux (EndeavourOS/Arch + Wayland + KDE Plasma 6).

Notes for Linux:

src/system/sdl/main.c Outdated Show resolved Hide resolved
@nesbox
Copy link
Owner

nesbox commented Aug 26, 2024

@aliceisjustplaying now we have a conflict, could you pls resolve it?
Thanks

@aliceisjustplaying
Copy link
Collaborator Author

Merge conflict fixed

@nesbox nesbox merged commit e60a708 into nesbox:main Aug 26, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Keyboard shortcut alt-5 conflicts with { character on macOS with a French keyboard
2 participants