/* {"description" : "This type is a container for constants which describe values for hardware-independent key codes. When receiving key presses in a graphical application you will need to use a keyboard map function to convert hardware key codes into abstract ones from this type."} */
data KeyCode {
/* {"@description" : "Constant value indicating a key not otherwise captured by this set of constants."} */
const byte OTHER = 0
/* {"@description" : "Constant value indicating the A key."} */
const byte A = 1
/* {"@description" : "Constant value indicating the B key."} */
const byte B = 2
/* {"@description" : "Constant value indicating the C key."} */
const byte C = 3
/* {"@description" : "Constant value indicating the D key."} */
const byte D = 4
/* {"@description" : "Constant value indicating the E key."} */
const byte E = 5
/* {"@description" : "Constant value indicating the F key."} */
const byte F = 6
/* {"@description" : "Constant value indicating the G key."} */
const byte G = 7
/* {"@description" : "Constant value indicating the H key."} */
const byte H = 8
/* {"@description" : "Constant value indicating the I key."} */
const byte I = 9
/* {"@description" : "Constant value indicating the J key."} */
const byte J = 10
/* {"@description" : "Constant value indicating the K key."} */
const byte K = 11
/* {"@description" : "Constant value indicating the L key."} */
const byte L = 12
/* {"@description" : "Constant value indicating the M key."} */
const byte M = 13
/* {"@description" : "Constant value indicating the N key."} */
const byte N = 14
/* {"@description" : "Constant value indicating the O key."} */
const byte O = 15
/* {"@description" : "Constant value indicating the P key."} */
const byte P = 16
/* {"@description" : "Constant value indicating the Q key."} */
const byte Q = 17
/* {"@description" : "Constant value indicating the R key."} */
const byte R = 18
/* {"@description" : "Constant value indicating the S key."} */
const byte S = 19
/* {"@description" : "Constant value indicating the T key."} */
const byte T = 20
/* {"@description" : "Constant value indicating the U key."} */
const byte U = 21
/* {"@description" : "Constant value indicating the V key."} */
const byte V = 22
/* {"@description" : "Constant value indicating the W key."} */
const byte W = 23
/* {"@description" : "Constant value indicating the X key."} */
const byte X = 24
/* {"@description" : "Constant value indicating the Y key."} */
const byte Y = 25
/* {"@description" : "Constant value indicating the Z key."} */
const byte Z = 26
/* {"@description" : "Constant value indicating the space key."} */
const byte SPACE = 27
/* {"@description" : "Constant value indicating the return key."} */
const byte RETURN = 28
/* {"@description" : "Constant value indicating the backspace key."} */
const byte BACKSPACE = 29
/* {"@description" : "Constant value indicating the delete key."} */
const byte DELETE = 30
/* {"@description" : "Constant value indicating the insert key."} */
const byte INSERT = 31
/* {"@description" : "Constant value indicating the home key."} */
const byte HOME = 32
/* {"@description" : "Constant value indicating the end key."} */
const byte END = 33
/* {"@description" : "Constant value indicating the escape key."} */
const byte ESCAPE = 34
/* {"@description" : "Constant value indicating the left-side shift key."} */
const byte SHIFT_LEFT = 35
/* {"@description" : "Constant value indicating the right-side shift key."} */
const byte SHIFT_RIGHT = 36
/* {"@description" : "Constant value indicating the left-side control key."} */
const byte CTRL_LEFT = 37
/* {"@description" : "Constant value indicating the right-side control key."} */
const byte CTRL_RIGHT = 38
/* {"@description" : "Constant value indicating the left-side alt key."} */
const byte ALT_LEFT = 39
/* {"@description" : "Constant value indicating the right-side alt key."} */
const byte ALT_RIGHT = 40
/* {"@description" : "Constant value indicating the tab key."} */
const byte TAB = 41
/* {"@description" : "Constant value indicating the page down key."} */
const byte PAGE_UP = 42
/* {"@description" : "Constant value indicating the page up key."} */
const byte PAGE_DOWN = 43
/* {"@description" : "Constant value indicating the up arrow key."} */
const byte ARROW_UP = 44
/* {"@description" : "Constant value indicating the down arrow key."} */
const byte ARROW_DOWN = 45
/* {"@description" : "Constant value indicating the left arrow key."} */
const byte ARROW_LEFT = 46
/* {"@description" : "Constant value indicating the right arrow key."} */
const byte ARROW_RIGHT = 47
/* {"@description" : "Constant value indicating the cap lock key."} */
const byte CAPLOCK = 48
/* {"@description" : "Constant value indicating the num lock key."} */
const byte NUMLOCK = 49
/* {"@description" : "Constant value indicating the command key."} */
const byte CMD = 50
/* {"@description" : "Constant value indicating the F1 key."} */
const byte F1 = 51
/* {"@description" : "Constant value indicating the F2 key."} */
const byte F2 = 52
/* {"@description" : "Constant value indicating the F3 key."} */
const byte F3 = 53
/* {"@description" : "Constant value indicating the F4 key."} */
const byte F4 = 54
/* {"@description" : "Constant value indicating the F5 key."} */
const byte F5 = 55
/* {"@description" : "Constant value indicating the F6 key."} */
const byte F6 = 56
/* {"@description" : "Constant value indicating the F7 key."} */
const byte F7 = 57
/* {"@description" : "Constant value indicating the F8 key."} */
const byte F8 = 58
/* {"@description" : "Constant value indicating the F9 key."} */
const byte F9 = 59
/* {"@description" : "Constant value indicating the F10 key."} */
const byte F10 = 60
/* {"@description" : "Constant value indicating the F11 key."} */
const byte F11 = 61
/* {"@description" : "Constant value indicating the F12 key."} */
const byte F12 = 62
}To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n os.KeyCode -m "reason for update" -u yourUsername
Version 2 (this version) by barry
Notes for this version: Updates to documentation strings.