GMLscripts.com

Discuss and collaborate on GML scripts
Invert

You are not logged in.

#1 2010-08-17 12:03:41

xot
Administrator
Registered: 2007-08-18
Posts: 1,201

keyboard_check & key events - RAlt == Ctrl?

This isn't a bug with Game Maker but it could cause some debugging headaches.

Problem:

In some situations, pressing the Right-Alternate key also causes a Control key press. This affects keyboard_check, keyboard_check_direct, and keyboard events.

Details:

When a Windows computer has its input language set to US-International (which is now the default for several countries in Europe and Latin America), the Right-Alternate key also causes a Control key event. It is not clear why this happens, but the RAlt key is re-purposed for entering certain non-English characters when in this mode. The problem isn't confined to Game Maker. I've confirmed this is a Windows issue by testing Windows shortcut hotkeys which are affected the same way. Normally shortcut hotkeys are invoked by a Control+Alternate+{key} combination. With US-International enabled, RAlt+{key} works as well.


Abusing forum power since 1986.

Offline

Board footer

Powered by FluxBB