Home
last modified time | relevance | path

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

/DragonOS-0.1.2/user/libs/libKeyboard/
Dkeyboard.c299 unsigned char scancode = (unsigned char)c; in keyboard_analyze_keycode() local
302 if (scancode == 0xE1) // Pause Break in keyboard_analyze_keycode()
313 else if (scancode == 0xE0) // 功能键, 有多个扫描码 in keyboard_analyze_keycode()
316 scancode = keyboard_get_scancode(fd); in keyboard_analyze_keycode()
317 switch (scancode) in keyboard_analyze_keycode()
484 flag_make = ((scancode & FLAG_BREAK) ? 0 : 1); in keyboard_analyze_keycode()
487 uint32_t *key_row = &keycode_map_normal[(scancode & 0x7f) * MAP_COLS]; in keyboard_analyze_keycode()
494 switch (scancode & 0x7f) in keyboard_analyze_keycode()