summaryrefslogtreecommitdiff
path: root/extras/keymap/keymap.c
AgeCommit message (Collapse)Author
2012-01-06merge udev/, libudev/, systemd/ files in src/; move extras/ to src/Kay Sievers
2012-01-05build-sys: use --libexecdir=/usr/lib instead of /usr/lib/udevKay Sievers
2011-08-22keymap: Support keymap overrides in /etc/udev/keymapsThomas Hood
Prefer reading keymaps from /etc/udev/keymaps/ so that it's easy to just locally fix a key or two by copying the existing keymap file from /lib/udev/keymaps/. This works similarly to udev rules. http://bugs.debian.org/556045
2011-04-15fix more warningsKay Sievers
2011-03-24keymap: continue reading keymap after invalid scancodesSeth Forshee
Reading of keymaps is aborted when EINVAL is returned from EVIOCGETKEYCODE. Scan codes are not always continuous ranges of values starting at 0, so this can result in not getting the full keymap for a device. Instead, continue processing if EINVAL is returned.
2011-01-16keymap: Explain how to end the programMartin Pitt
Pressing Escape will only actually work if keymap is currently examining the primary keyboard. For other devices the user needs to press Control-C instead.
2011-01-16keymap: More robust state machineMartin Pitt
Some drivers, like thinkpad_acpi, do not send a scan code at all (for known keys), and some send the key code first, then the scan code. Implement a better state machine which acceps them in any order and wait until a SYN event. If the driver does not send SYN events, keymap will also handle this and print out that fact. Thanks to Seth Forshee for pointing out how this really works! https://launchpad.net/bugs/702407
2011-01-16keymap: Move reading of event in separate functionMartin Pitt
2010-01-25keymap: include linux/limits.hKay Sievers
2009-08-08fix spellingAlan Jenkins
Fix spelling in docbook comments, code comments, and a local variable name. Thanks to "ispell -h" for docbook HTML and "scspell" for source code. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2009-07-23extras/keymap: Fix crash for unknown keysMartin Pitt
The keymap table has some holes in it, which caused the interactive mode to crash for unknown keys. In these cases, print the numeric key code instead.
2009-07-18keymap tool: support scancode/keycode pair argumentsMartin Pitt
This avoids having to create and parse an entire keymap file for cases where just one or two keys have to be remapped.
2009-07-18keymap tool: improve helpMartin Pitt
Do not duplicate help strings, and add missing calling variant for interactivity.
2009-06-17extras/keymap: use LIBEXECDIR instead /lib/udevKay Sievers
2009-06-17keymap: move from udev-extrasMartin Pitt