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

In-Game: [macOS and Ubuntu] vk_... codes are always QWERTY and do not match if a different physical keyboard layout is used #5525

Closed
2 tasks
offalynne opened this issue Apr 17, 2024 · 2 comments
Assignees
Labels
runner-bug In-game bugs with the "GameMaker Studio 2" runtimes
Milestone

Comments

@offalynne
Copy link

offalynne commented Apr 17, 2024

Description

MacOS virtual keycodes mismatch keyboard layout

Expected Change

Keycodes should match active layout instead of QWERTY

Steps To Reproduce

  1. Set up a nonQWERTY keyboard layout variant (eg. French, German)
  2. Run GM, observe that VK codes match QWERTY while chars reflect keyboard layout

How reliably can you recreate this issue using your steps above?

Always

Which version of GameMaker are you reporting this issue for?

2024.2.0 (Monthly)

Which platform(s) are you seeing the problem on?

macOS

Contact Us Package Attached?

  • I have attached my Contact Us Package

Sample Project Added?

  • I have included a small sample project
@offalynne offalynne added the runner-bug In-game bugs with the "GameMaker Studio 2" runtimes label Apr 17, 2024
@stuckie stuckie added this to the 2024.6 milestone Apr 17, 2024
@yoyo-danielc
Copy link

Fixed on 2024.06 branch.

The character value now take priority over the keycode when mapping latin alphabet characters on macOS and Linux, the previous keycode mapping is still used for other characters.

non-ASCII characters are now correctly handled and read into keyboard_string/keyboard_lastchar on macOS.

@YYDan YYDan changed the title MacOS virtual keycodes mismatch keyboard layout In-Game: [macOS and Ubuntu] vk_... codes are always QWERTY and do not match if a different physical keyboard layout is used May 24, 2024
@YYDan YYDan added the documentation Improvements or additions to documentation are required by this issue label May 24, 2024
@gurpreetsinghmatharoo gurpreetsinghmatharoo removed the documentation Improvements or additions to documentation are required by this issue label Jun 6, 2024
@Emc1923
Copy link

Emc1923 commented Jun 28, 2024

Verified as of Beta IDE v2024.600.0.585 Beta Runtime v2024.600.0.609

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
runner-bug In-game bugs with the "GameMaker Studio 2" runtimes
Projects
Status: Verified
Development

No branches or pull requests

6 participants