第一套键盘扫描码的状态机 (#216)

第一套键盘扫描码的状态机
---------

Co-authored-by: guanjinquan <1666320330@qq.com>
Co-authored-by: longjin <longjin@RinGoTek.cn>
This commit is contained in:
Gou Ngai
2023-03-30 18:19:02 +08:00
committed by GitHub
parent 676b8ef62e
commit 5fb12ce447
9 changed files with 539 additions and 26 deletions

View File

@ -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;
}