1. OFF keyboard interrupt firing at the Keyboard controller level. 2. Poll 0x64 port until OBF(bit 0) set. 3. Read 0x60 and save. 4. Re-generate scancode using 0xD2 keyboard controller command. 5. Fire keyboard interrupt gate (instruction INT XXh). 6. Some delay sleep(Zzz). 7. Go to step-2.适用于PS/2键盘,是否可以移到USB键盘,真不清楚.
2. Poll 0x64 port until OBF(bit 0) set.
3. Read 0x60 and save.
4. Re-generate scancode using 0xD2 keyboard controller command.
5. Fire keyboard interrupt gate (instruction INT XXh).
6. Some delay sleep(Zzz).
7. Go to step-2.适用于PS/2键盘,是否可以移到USB键盘,真不清楚.
直接制作虚拟hid鼠标\键盘驱动满足不了要求吗