Searched refs:control_key_state (Results 1 – 1 of 1) sorted by relevance
1568 static __inline__ bool _is_shift_pressed(const DWORD control_key_state) { in _is_shift_pressed() argument1569 return (control_key_state & SHIFT_PRESSED) != 0; in _is_shift_pressed()1572 static __inline__ bool _is_ctrl_pressed(const DWORD control_key_state) { in _is_ctrl_pressed() argument1573 return (control_key_state & (LEFT_CTRL_PRESSED | RIGHT_CTRL_PRESSED)) != 0; in _is_ctrl_pressed()1576 static __inline__ bool _is_alt_pressed(const DWORD control_key_state) { in _is_alt_pressed() argument1577 return (control_key_state & (LEFT_ALT_PRESSED | RIGHT_ALT_PRESSED)) != 0; in _is_alt_pressed()1580 static __inline__ bool _is_numlock_on(const DWORD control_key_state) { in _is_numlock_on() argument1581 return (control_key_state & NUMLOCK_ON) != 0; in _is_numlock_on()1584 static __inline__ bool _is_capslock_on(const DWORD control_key_state) { in _is_capslock_on() argument1585 return (control_key_state & CAPSLOCK_ON) != 0; in _is_capslock_on()[all …]