HomeForumSourceResearchGuide
Sign in to contribute to source. how it works
Type definition file locale.KeyMapping by barry
expand copy to clipboardexpand
/* {"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)
	
	}
Revision history
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