OAK CODERS - Home Page
root@oakcoders:~# Dear Visitor, please leave a comment!
"When I read commentary about suggestions for where C should go, I often think back
and give thanks that it wasn't developed under the advice of a worldwide crowd." Dennis Ritchie.

Thursday, February 02, 2012

How the computer processes keyboard signals.

For example, when you type, your typing goes through several programs before it hits your editor.

First, the kernel is what handles your hardware, so it is the first to receive notice about the keypress.

The keyboard sends in scancodes to the kernel, which then converts them to the actual letters, numbers, and symbols they represent.

If you are using a windowing system, then the windowing system reads the keypress from the kernel, and delivers it to whatever program is currently in focus on the user's display.

Example:
Keyboard -> Kernel -> Windowing System -> Application Program

---------------------
Regards, utroz.
E-mail Contact: utroz (at) oakcoders (dot) com

No comments:

Post a Comment