h6. [[OS SWI Calls]] h6(. » [[OS_Byte]] h6((. » OS_Byte 122 h2. OS_Byte 122 h5. (SWI &06) |_<^{width:3em}. Entry | | |<^. R0|<^. 122 (&7A) | |_<^{width:3em}. Exit|_<^. | |<^. R0|<^. Preserved | |<^. R1|<^. [[Keyboard Scan Codes|Key]], or &FF if none pressed | |<^. R2|<^. Corrupted | h4. Use The purpose of this call is to check which keys are being pressed (ignoring the Shift, Ctrl, Alt and mouse keys). h4. Notes This call is equivalent to [[OS_Byte 121]] with R1=16. It scans the keyboard ignoring Shift, Control, Alt and mouse buttons. Any key that has a value below 16 is ignored. h4. See also * [[Keyboard Scan Codes]] * [[OS_Byte]] * [[OS_Byte 121]]