event.keyname and "f10" function key.

event.keyname do not detected in the function key F10!

any suggestions?

Which mobile device has an F10 key?

any smartphone or tablet to which you have attached a keyboard :slight_smile:

Are you sure that key isn’t being intercepted by the OS?

We tried different OS (Win 7, Win 8, Win XP) and several Android devices (GT-I9100, GT-S5280, MK809III) always with the same result. All function keys are detected except F10

What about F11 and F12?

Can you file a bug report?  Make sure to include the build.settings and config.lua you are using.  Please post the bug report number back here when you get the confirmation email.

Rob

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.

Which mobile device has an F10 key?

any smartphone or tablet to which you have attached a keyboard :slight_smile:

Are you sure that key isn’t being intercepted by the OS?

We tried different OS (Win 7, Win 8, Win XP) and several Android devices (GT-I9100, GT-S5280, MK809III) always with the same result. All function keys are detected except F10

What about F11 and F12?

Can you file a bug report?  Make sure to include the build.settings and config.lua you are using.  Please post the bug report number back here when you get the confirmation email.

Rob

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.