Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / "Alt Gr" fires as Ctrl

Author
Message
Hudd
17
Years of Service
User Offline
Joined: 23rd Aug 2007
Location:
Posted: 10th Apr 2023 16:33
I had a customer report this one - the right Alt - "Alt Gr" acts as the ctrl key.

i.e I am testing for getrawkeystate(17) and if the Alt Gr key is pressed, it is returning true.

I've changed the code to test for getrawkeystate(17) and not GetRawKeyState(262) to get around this.

Is it meant to fire in this situation? I wasn't expecting it to.
MadBit
VIP Member
Gold Codemaster
15
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 10th Apr 2023 16:57
I think it's because 'AltGr' is the same as 'Ctrl+Alt'. You can also test this by opening an editor and pressing 'Ctrl+Alt+Q' then the '@' character should appear. Provided your '@' character is on 'Q'.
Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)

Donations are always welcome.

Login to post a reply

Server time is: 2024-11-23 08:17:27
Your offset time is: 2024-11-23 08:17:27