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 / detecting ALT key

Author
Message
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 26th Apr 2013 21:29
There doesn't seem to be a way to detect the ALT key.

Interestingly, ALT GR (the right ALT) returns the same as CTRL (17).

ALT should return 18 but returns nothing.

Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 26th Apr 2013 23:05 Edited at: 26th Apr 2013 23:06
I can confirm this in v108b11. Both left and right shift return 16, as both control keys return 17. Alt returns nothing, but it may be because it's moving focus to the title bar.

"You're all wrong. You're all idiots." ~Fluffy Rabbit
Naphier
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 26th Apr 2013 23:30
Yup... nothing... please make a report at [href=code.google.com/p/agk]code.google.com/p/agk[/href]

I even tried fullscreen just to see if it would help... notta

www.NaplandGames.com
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 26th Apr 2013 23:52
Yep, this is a big deal for me, as my current game is going into hardware which uses ALT keymap by default.

Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 27th Apr 2013 18:44
The alt key doesn't have a scan code for AGK.

Because they are trying to do a map for all devices, they don't cover all keys on the keyboard.
[href=http://www.appgamekit.com/documentation/guides/scancodes.htm]
This page[/href] lists scan codes used in AGK.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master

Login to post a reply

Server time is: 2024-11-24 11:32:50
Your offset time is: 2024-11-24 11:32:50