Home | History | Annotate | Download | only in adb

Lines Matching refs:input_record

1349 static bool _get_key_event_record(const HANDLE console, INPUT_RECORD* const input_record) {
1352 memset(input_record, 0, sizeof(*input_record));
1353 if (!ReadConsoleInputA(console, input_record, 1, &read_count)) {
1375 if (input_record->EventType == WINDOW_BUFFER_SIZE_EVENT) {
1380 if ((input_record->EventType == KEY_EVENT) &&
1381 (input_record->Event.KeyEvent.bKeyDown)) {
1382 if (input_record->Event.KeyEvent.wRepeatCount == 0) {
1387 // Got an interesting INPUT_RECORD, so return
1759 INPUT_RECORD input_record;
1760 if (!_get_key_event_record(console, &input_record)) {
1764 KEY_EVENT_RECORD* const key_event = &input_record.Event.KeyEvent;