title: Scan the keyboard to obtain scan codes
body: <p>So I'm learning how to make an OS.
  The problem is that every website says to scan the keyboard to obtain the scancodes in order to detect input.
  How do I 'scan' the keyboard?
  I know this question seems very ridiculous, but I really don't know how to do that, and I need help. I also have to mention that I googled it a lot.</p>