Page 1 of 1

How do I implement a scan code table?

Posted: Thu Oct 12, 2017 8:38 pm
by safsom2
Hello, I am new to OS development. I have just followed the 'Bare Bones' tutorial, and I am now seeking to add keyboard input to it. I am trying to use the functions inb() and outb() and the getScanCode() function provided in the PS/2 article. However, it says I need a 'scan code table' to do this. How exactly do I declare one of these 'scan code tables'?

Re: How do I implement a scan code table?

Posted: Thu Oct 12, 2017 11:59 pm
by iansjack
As an array. Hence the [...] in the example code.