h6. [[Programmer's Reference Manuals]] h6(. » [[Vectors]] h6((. » [[Software Vector Numbers]] h6(((. » KeyV h2. Key Vector (19) |_<^{width:3em}. Entry |<^. | |<^. R0|<^. "Reason Code":#reason| h4. Use This vector has multiple uses, depending on the reason code in R0. h4(#reason). Reason Codes |_<^{width:3em}. # |<^. | |<^. 0|<^. [[KeyV 0|Keyboard present]]| |<^. 1|<^. [[KeyV 1|Key released]]| |<^. 2|<^. [[KeyV 2|Key pressed]]| |<^. 3|<^. [[KeyV 3|Notify driver of LED state]]| |<^. 4|<^. [[KeyV 4|Enable keyboard device drivers]]| |<^. 5-11|<^. Reserved for system use| |<^. 14|<^. Key names [1]| |<^. 15|<^. RISCOS Ltd alternative to KeyV 1 and 2 based on HID usage (Select only) [2]| |<^. 16|<^. [[KeyV 16|Keyboard removed]]| h6. Controlling sources: "Hdr:Keyboard":https://gitlab.riscosopen.org/RiscOS/Sources/Programmer/HdrSrc/-/blob/master/hdr/Keyboard managed by the "allocations manager":/content/allocate fn1. Cerilica fn2. Not implemented on RISC OS 5. h4. See also * [[Software Vector Numbers]]