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.

Newcomers AppGameKit Corner / Detect Android Enter key?

Author
Message
jlahtinen
14
Years of Service
User Offline
Joined: 26th Oct 2009
Location: Finland
Posted: 25th Jul 2016 13:21
GetRawKeyPressed(13) works for Windows, but not in Android.

Are the scancodes for Android different or how can I detect the enter key in mobile devices with AppGameKit?
Cybermind
Valued Member
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 25th Jul 2016 20:02
I would guess you need to use GetLastChar() instead, don't know though. GetRawKeyPressed requires a keyboard, you can check for existence of a keyboard with GetKeyboardExists.
13/0

Login to post a reply

Server time is: 2024-04-24 08:27:21
Your offset time is: 2024-04-24 08:27:21