/* {"description" : "This interface converts hardware key codes into the corresponding character (where some characters may be described by multiple bytes for UTF-8)." } */
uses os.KeyState
uses os.KeyCode
interface KeyMapping {
/* {"@description" : "Get the character for the given hardware key code." } */
char[] getCharacter(int keyCode, byte keyState)
/* {"@description" : "Get the abstract key code for the given hardware key code." } */
byte getKeyCode(int keyCode)
}To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n locale.KeyMapping -m "reason for update" -u yourUsername
Version 1 (this version) by barry
Notes for this version: Standard Library Initialisation