summaryrefslogtreecommitdiffstats
path: root/keymap
Commit message (Collapse)AuthorAgeFilesLines
* keymap: Add Samsung R560Martin Pitt2009-06-021-1/+1
| | | | | Reported on hal ML as hal-info patch by Francis Russell <francis@unchartedbackwaters.co.uk>.
* keymap: Update Fujitsu Esprimo V5Martin Pitt2009-06-021-0/+2
| | | | | Reported by Stefan Kriwanek <kriwanek@physik.hu-berlin.de> as hal-info patch on hal ML.
* keymap: include unistd.h for read(2)Dan Williams2009-05-261-0/+1
|
* keymap: ensure module rules match on the input deviceMartin Pitt2009-05-251-4/+4
| | | | | | Add a KERNEL=="input*" check to the input module matches, to ensure that the ATTRS{name} check is really done against the input device, not to any random name attached to a subdevice. Thanks to Kay Sievers!
* keymap: more efficient udev rulesMartin Pitt2009-05-241-41/+43
| | | | | | | | Read [dmi/id]sys_vendor just once into a variable and only use the variable in all the rules. Short-circuit rules file if vendor is empty. Also fix the ThinkPad/Asus Extra Buttons rules to check parent's name as well, for more robustness.
* keymap: fix selection of event devicesMartin Pitt2009-05-231-2/+3
| | | | | | | Using DEVNAME=="..." is invalid, we mean KERNEL=="..." here. Instead of adding this to individual rules, short-circuit the entire keymap rules file for non-event devices.
* keymap: fix Sony rulesMartin Pitt2009-05-191-2/+3
| | | | | | The name "Sony Vaio Keys" is attached to the parent input device (like "input5"), the evdev device which we actually want (input/event5) is a child of it. Update udev rules accordingly.
* keymap: install README.keymap.txtMartin Pitt2009-05-151-0/+2
|
* keymap: add README with documentation and "how to fix" guideMartin Pitt2009-05-151-0/+100
|
* keymap: add findkeyboards scriptMartin Pitt2009-05-142-0/+46
| | | | | | findkeyboards prints out the device names of all "real" keyboards (atkbd and the separate modules as found in ThinkPads or Sonys). This makes it much easier to use a tool like keymap -i or do other debugging.
* keymap: distribute check-keymaps.shMartin Pitt2009-05-141-1/+1
| | | | This was forgotten to be added to EXTRA_DIST for building source distributions.
* keymap: add --interactive modeMartin Pitt2009-05-141-7/+62
| | | | | | | | | Add -i/--interactive mode to keymap tool, for easy debugging of unknown and wrong keymaps. Use like sudo /lib/udev/keymap -i input/event4 and note down the wrong/missing keys.
* keymap: add ThinkPad X200 TabletMartin Pitt2009-05-123-0/+8
| | | | | Reported in https://launchpad.net/bugs/356019 by Roger E Critchlow Jr <rec@elf.org>.
* keymap: check Makefile.am completeness in check-keymaps.shMartin Pitt2009-05-111-0/+4
| | | | Verify that we have added all key map files to Makefile.am's _DATA list.
* keymap: fix wrong Sony map file nameMartin Pitt2009-05-111-2/+2
|
* keymap: check maps existance in check-keymaps.shMartin Pitt2009-05-111-1/+11
| | | | Verify that maps referred to in the rules files actually exist in keymaps/.
* keymap: fix tests for separate build treeMartin Pitt2009-05-111-1/+1
| | | | | | Fix thinko in keymap/check-keymaps.sh: keys.txt is not in ${srcdir}, but in the build dir. This broke "make check" when using a separate build tree.
* keymap: explicitly list all keymap files in keymaps/Martin Pitt2009-05-111-1/+41
| | | | | Automake falls over with the previous glob when building in a separate build tree.
* keymap: Add HP TX2Martin Pitt2009-05-112-0/+4
| | | | | Add keymap for HP TX2, as reported on the hal ML by Stephen Sugden <glurgle@gmail.com>. Translated from hal-info patch.
* keymap: Fix HP autobrightness keyMartin Pitt2009-05-111-1/+1
| | | | | | | | Fix the "auto brightness" substitute key on HP from f21 to f23 to be consistent with other mappings, as per recommendation on http://people.freedesktop.org/~hughsient/quirk/quirk-keymap-try.html. Reported on hal ML by Stephen Sugden.
* keymap: Add Samsung P560Martin Pitt2009-05-111-1/+1
| | | | As reported on hal ML.
* keymap: add check for valid namesMartin Pitt2009-05-102-0/+17
| | | | | | | Add keymap/check-keymaps.sh and run it in make check. This verifies that all key names in keymap/keymaps/* are known in the current <linux/input.h>.
* detect awk in configure (used by keymap)Martin Pitt2009-05-101-3/+3
| | | | | | keymap's Makefile uses awk. Instead of hardcoding it, use AC_PROG_AWK properly and use the detected one in the Makefiles. Thanks to Dan Nicholson for the suggestion.
* keymap/Makefile.am: use configure-detected gperf pathMartin Pitt2009-05-101-1/+1
| | | | | We detect gperf presence and path in configure, so we should use it in keymap's Makefile. Thanks to Dan Nicholson for noticing!
* keymap: add .gitignore and replace whitespaceKay Sievers2009-05-092-179/+194
|
* keymap: fix distributed sourcesMartin Pitt2009-05-091-1/+3
| | | | Do not ship generated keys_{from,to}_name.h, ship keymap files.
* keymap: Add misc rules (from hal-info)Martin Pitt2009-05-0920-0/+122
| | | | Converted from 30-keymap-misc.fdi from hal-info 2009-05-08.
* keymap: Add Sony Vaio rules (from hal-info)Martin Pitt2009-05-093-0/+14
| | | | Converted from 30-keymap-module-sony-laptop.fdi from hal-info 2009-05-07.
* keymap: Add Asus rules (from hal-info)Martin Pitt2009-05-092-0/+12
| | | | Converted from 30-keymap-module-asus-laptop.fdi from hal-info 2009-05-07.
* keymap: Add "ThinkPad Extra Buttons" module rules (from hal-info)Martin Pitt2009-05-093-0/+45
| | | | Converted from 30-keymap-module-thinkpad-acpi.fdi from hal-info 2009-05-07.
* keymap: Add Acer rules (from hal-info)Martin Pitt2009-05-096-0/+39
| | | | Converted from 30-keymap-acer.fdi from hal-info 2009-05-07.
* keymap: Add HP rules (from hal-info)Martin Pitt2009-05-096-0/+32
| | | | Converted from 30-keymap-hp.fdi from hal-info 2009-05-07.
* keymap: Add Lenovo rules (from hal-info)Martin Pitt2009-05-093-0/+16
| | | | Converted from 30-keymap-lenovo.fdi from hal-info 2009-05-07.
* keymap: Add Compaq rules (from hal-info)Martin Pitt2009-05-092-0/+5
| | | | Converted from 30-keymap-compaq.fdi from hal-info 2009-05-07.
* keymap: Add Dell rules (from hal-info)Martin Pitt2009-05-092-0/+37
| | | | | | | | | Converted from 30-keymap-dell.fdi from hal-info 2009-05-07. The "Latitude XT" product case was merged into the general dell map, since there were no overlaps. The "Dell USB Keyboard Hub" was not converted yet.
* keymap: add fdi2rules.pyMartin Pitt2009-05-091-0/+179
| | | | | | | | | Tool to convert hal keymap FDIs into udev rules and key map files. Please note that this is far from perfect, since the mapping between fdi and udev rules is not straightforward (and impossible in some cases). After running this, the result should be cleaned up, and errors from unknown operators etc. corrected manually.
* add keymap directory and toolMartin Pitt2009-05-092-0/+311
keymap assigns keycodes to scancodes, or dumps the current mapping of an evdev keyboard device. It replaces hal-setup-keymap. The former keymap fdi files from hal-info will be converted to udev rules for vendor/product matching, and simple text files for mapping scancodes to keycodes. See this discussion for details: http://lists.freedesktop.org/archives/devkit-devel/2009-May/000152.html