Lines Matching full:key_code
112 void RecoveryUI::process_key(int key_code, int updown) {
117 key_pressed[key_code] = updown;
120 key_last_down = key_code;
125 info->key_code = key_code;
130 if (key_last_down == key_code) {
140 switch (CheckKey(key_code)) {
153 EnqueueKey(key_code);
161 info->ui->time_key(info->key_code, info->count);
166 void RecoveryUI::time_key(int key_code, int count) {
170 if (key_last_down == key_code && key_down_count == count) {
174 if (long_press) KeyLongPress(key_code);
177 void RecoveryUI::EnqueueKey(int key_code) {
181 key_queue[key_queue_len++] = key_code;