Home
last modified time | relevance | path

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

/DragonOS-0.1.3/user/libs/libKeyboard/
Dkeyboard.c300 unsigned char scancode = (unsigned char)c; in keyboard_analyze_keycode() local
303 if (scancode == 0xE1) // Pause Break in keyboard_analyze_keycode()
314 else if (scancode == 0xE0) // 功能键, 有多个扫描码 in keyboard_analyze_keycode()
317 scancode = keyboard_get_scancode(fd); in keyboard_analyze_keycode()
318 switch (scancode) in keyboard_analyze_keycode()
485 flag_make = ((scancode & FLAG_BREAK) ? 0 : 1); in keyboard_analyze_keycode()
488 uint32_t *key_row = &keycode_map_normal[(scancode & 0x7f) * MAP_COLS]; in keyboard_analyze_keycode()
495 switch (scancode & 0x7f) in keyboard_analyze_keycode()