Searched refs:key_code (Results 1 – 3 of 3) sorted by relevance
83 void RecoveryUI::OnKeyDetected(int key_code) { in OnKeyDetected() argument84 if (key_code == KEY_POWER) { in OnKeyDetected()86 } else if (key_code == KEY_DOWN || key_code == KEY_VOLUMEDOWN) { in OnKeyDetected()88 } else if (key_code == KEY_UP || key_code == KEY_VOLUMEUP) { in OnKeyDetected()90 } else if (key_code == ABS_MT_POSITION_X || key_code == ABS_MT_POSITION_Y) { in OnKeyDetected()340 void RecoveryUI::ProcessKey(int key_code, int updown) { in ProcessKey() argument346 key_pressed[key_code] = updown; in ProcessKey()349 key_last_down = key_code; in ProcessKey()353 info->key_code = key_code; in ProcessKey()359 if (key_last_down == key_code) { in ProcessKey()[all …]
144 void EnqueueKey(int key_code);167 int key_code; member175 void OnKeyDetected(int key_code);178 void ProcessKey(int key_code, int updown);183 void time_key(int key_code, int count);
229 for (int key_code = 0; key_code <= KEY_MAX; ++key_code) { in ev_iterate_available_keys() local230 if (test_bit(key_code, key_bits)) { in ev_iterate_available_keys()231 f(key_code); in ev_iterate_available_keys()253 for (int key_code = 0; key_code <= KEY_MAX; ++key_code) { in ev_iterate_touch_inputs() local254 if (test_bit(key_code, key_bits)) { in ev_iterate_touch_inputs()255 action(key_code); in ev_iterate_touch_inputs()