You are looking at an old revision of the page Keyboard. This revision was created by Nikolaus Schaller.
Table of Content
Keyboard mapping for the Mipsbook (by P. Boddie)
Keyboard
Driver
In the 2.6 kernel code, the keyboard driver is found in the drivers/input/keyboard/jz_keypad.c
file. It uses a timer to repeatedly scan the keyboard, tracking the previous state and comparing it with the current state to produce key events.
The driver also tracks the state of the Num Lock and Caps Lock keys, translating key presses when the Num Lock has been enabled. It also toggles the keyboard LEDs.