AlgorithMan-de / wyoos

Source codes for the "Write your own Operating System" video-series on YouTube
http://wyoos.org
GNU General Public License v3.0
719 stars 222 forks source link

Error in keyboard driver #13

Open oj002 opened 4 years ago

oj002 commented 4 years ago

Multimedia keys send multiple interrupts when pressed. First the code 0xe0 and than a keycode. This would make the code incorect for e.g.:

(multimedia) mute pressed -> 0xE0, 0x20 -> This would call OnKeyDown('d'). (keypad) '/' -> 0xe0, 0x35 -> OnKeyDown('-').

I just wanted to put this out there cuzz it took me quite some time to figure this out.