Home
last modified time | relevance | path

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

/system/core/adb/
Dsysdeps_win32.cpp1360 static bool _get_key_event_record(const HANDLE console, INPUT_RECORD* const input_record) { in _get_key_event_record() argument
1363 memset(input_record, 0, sizeof(*input_record)); in _get_key_event_record()
1364 if (!ReadConsoleInputA(console, input_record, 1, &read_count)) { in _get_key_event_record()
1386 if (input_record->EventType == WINDOW_BUFFER_SIZE_EVENT) { in _get_key_event_record()
1391 if ((input_record->EventType == KEY_EVENT) && in _get_key_event_record()
1392 (input_record->Event.KeyEvent.bKeyDown)) { in _get_key_event_record()
1393 if (input_record->Event.KeyEvent.wRepeatCount == 0) { in _get_key_event_record()
1769 INPUT_RECORD input_record; in _console_read() local
1770 if (!_get_key_event_record(console, &input_record)) { in _console_read()
1774 KEY_EVENT_RECORD* const key_event = &input_record.Event.KeyEvent; in _console_read()