/* { "description" : "This is a container type for a set of constants used to represent different key-hold states on a keyboard." } */
data KeyState {
/* {"@description" : "Constant value indicating that a shift key is being held."} */
const byte KEY_SHIFT = 0x1
/* {"@description" : "Constant value indicating that a control key is being held."} */
const byte KEY_CTRL = 0x2
/* {"@description" : "Constant value indicating that an alt key is being held."} */
const byte KEY_ALT = 0x4
/* {"@description" : "Constant value indicating that an alt-gr key is being held."} */
const byte KEY_ALTGR = 0x8
/* {"@description" : "Constant value indicating that a command key is being held."} */
const byte KEY_CMD = 0x10
/* {"@description" : "Constant value indicating that a cap-lock mode is on."} */
const byte KEY_CAPLOCK = 0x20
}To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n os.KeyState -m "reason for update" -u yourUsername
Version 2 (this version) by barry
Notes for this version: Updates to documentation strings.