Home
last modified time | relevance | path

Searched refs:control_key_state (Results 1 – 1 of 1) sorted by relevance

/packages/modules/adb/
Dsysdeps_win32.cpp1568 static __inline__ bool _is_shift_pressed(const DWORD control_key_state) { in _is_shift_pressed() argument
1569 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() argument
1573 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() argument
1577 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() argument
1581 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() argument
1585 return (control_key_state & CAPSLOCK_ON) != 0; in _is_capslock_on()
[all …]