pub unsafe extern "C" fn getkeymodstate() -> c_ucharExpand description
\m65libsummary{getkeymodstate}{ Return the key modifiers state.} \m65libsyntax {unsigned char getkeymodstate(void)} \m65libretval {A byte with the key modifier state bits, where bits: %< \begin{tabular}{lll} \textbf{Bit} & \textbf{Meaning} & \textbf{Constant} \ 0 & Right SHIFT State & \texttt{KEYMOD_RSHIFT} \ 1 & Left SHIFT state & \texttt{KEYMOD_LSHIFT} \ 2 & CTRL state & \texttt{KEYMOD_CTRL} \ 3 & MEGA state & \texttt{KEYMOD_MEGA} \ 4 & ALT state & \texttt{KEYMOD_ALT} \ 5 & NOSCRL state & \texttt{KEYMOD_NOSCRL} \ 6 & CAPSLOCK state & \texttt{KEYMOD_CAPSLOCK} \ 7 & Reserved & - \ \end{tabular} %>}