event.keyname do not detected in the function key F10!
Jump to content
Corona provides *all* keys that the operating system provides us at the native code level. All of them. If you are not receiving the f10 key, then that means the operating system is stealing it and not providing it to the Android activity in native code.
Also note that some operating systems or keyboard sometimes remap the F keys to other functions such as volume control, media buttons, brightness controls, etc. In this case, pressing the F key may result in a different key being received. Or worst case, the operating system just steals the key event entirely.
Last case... if Corona does not recognize the key that was pressed, then the event's key name will be set to "unknown", but the native key code that was received will still be provided. This is needed for those who wish to do key bindings for games.
I recommend that you run our "Hardware/KeyEvents" sample app on your Android device. That app will display information about all keys that have been pressed. Try pressing the F10 key in that app to see what's actually happening.
Community Forum Software by IP.Board