Lines Matching refs:up_flag
288 int keycode, up_flag, key; in adbhid_input_keycode() local
291 up_flag = scancode & 0x80; in adbhid_input_keycode()
294 if (keycode == ADB_KEY_CAPSLOCK && !up_flag) { in adbhid_input_keycode()
315 up_flag = 1; in adbhid_input_keycode()
319 up_flag = 0; in adbhid_input_keycode()
351 if (up_flag) in adbhid_input_keycode()
359 if (up_flag) in adbhid_input_keycode()
370 if (up_flag) { in adbhid_input_keycode()
385 if (up_flag) in adbhid_input_keycode()
396 input_report_key(adbhid[id]->input, key, !up_flag); in adbhid_input_keycode()
400 up_flag ? "released" : "pressed"); in adbhid_input_keycode()