Home
last modified time | relevance | path

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

/DragonOS-0.1.7/user/libs/libKeyboard/
Dkeyboard.c293 bool flag_make = false; in keyboard_analyze_keycode() local
325 flag_make = true; in keyboard_analyze_keycode()
333 flag_make = false; in keyboard_analyze_keycode()
485 flag_make = ((scancode & FLAG_BREAK) ? 0 : 1); in keyboard_analyze_keycode()
498 shift_l = flag_make; in keyboard_analyze_keycode()
502 shift_r = flag_make; in keyboard_analyze_keycode()
506 ctrl_l = flag_make; in keyboard_analyze_keycode()
510 ctrl_r = flag_make; in keyboard_analyze_keycode()
514 if (!flag_make) in keyboard_analyze_keycode()
/DragonOS-0.1.7/kernel/src/libs/
Dkeyboard_parser.rs298 let flag_make = if (scancode & (TYPE1_KEYCODE_FLAG_BREAK as u8)) > 0 { in handle_type3() localVariable
313 scancode_status.shift_l = flag_make; in handle_type3()
317 scancode_status.shift_r = flag_make; in handle_type3()
321 scancode_status.ctrl_l = flag_make; in handle_type3()
325 scancode_status.alt_r = flag_make; in handle_type3()
330 scancode_status.caps_lock = !flag_make; in handle_type3()
334 scancode_status.caps_lock = flag_make; in handle_type3()
339 if flag_make == false { in handle_type3()