mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 08:06:32 +00:00
第一套键盘扫描码的状态机 (#216)
第一套键盘扫描码的状态机 --------- Co-authored-by: guanjinquan <1666320330@qq.com> Co-authored-by: longjin <longjin@RinGoTek.cn>
This commit is contained in:
@ -528,6 +528,6 @@ int keyboard_analyze_keycode(int fd)
|
||||
int keyboard_get_scancode(int fd)
|
||||
{
|
||||
unsigned int ret = 0;
|
||||
read(fd, &ret, 1);
|
||||
read(fd, &ret, 1);
|
||||
return ret;
|
||||
}
|
Reference in New Issue
Block a user