How does Linux handle keyboard input?

Nguyễn Trà

New member
How does Linux handle keyboard input?
Answer
Keyboard input
  1. The keyboard sends a scancode to the computer.
  2. The Linux kernel maps the scancode to a keycode, see Map scancodes to keycodes.
  3. The keyboard layout maps the keycode to a symbol or keysym, depending on what modifier keys are pressed. For the Linux console, see Linux console/Keyboard configuration.
 

Tìm kiếm

Back
Top