Rune is the meaning of the key event as determined by the operating system. The mapping is determined by system-dependent current layout, modifiers, lock-states, etc.

If non-negative, it is a Unicode codepoint: pressing the 'a' key generates different Runes 'a' or 'A' (but the same Code) depending on the state of the shift key.

If -1, the key does not generate a Unicode codepoint. To distinguish them, look at Code.

Rune is referenced in 3 repositories