The default scancodes-to-keycodes mapping file is /usr/lib/udev/hwdb.d/60-keyboard.hwdb. hwdb extension located in directories /usr/lib/udev/hwdb.d/, /run/udev/hwdb.d/ and /etc/udev/hwdb.d/. The database is compiled from files with. Udev provides a builtin function called hwdb to maintain the hardware database index in /etc/udev/hwdb.bin. See Keyboard input#Identifying scancodes for details. You need to know the scancodes of keys you wish to remap. It means that if your keyboard model has been found in the database, your keys are recognized out of the box. The preferred method is to use udev because it uses hardware information (which is a quite reliable source) to choose the keyboard model in a database. There are two ways of mapping scancodes to keycodes: Mapping scancodes to keycodes is achieved in a layer lower than Xorg and Linux console, which means that changes to this mapping will be effective in both. This page assumes that you have read Keyboard input, which provides wider context.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |