diff options
author | Jakob Haufe <sur5r@sur5r.net> | 2013-04-13 12:05:31 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-04-15 10:30:59 +0200 |
commit | e51909cdcbc762296e0e42789057c239ba483a83 (patch) | |
tree | c8356837be8924f1f833c7031f29401deebc08c5 | |
parent | 68d4760f2149f1b3c9517b7ac566287a9eb0299e (diff) | |
download | input-e51909cdcbc762296e0e42789057c239ba483a83.tar.gz |
Ignore KEY_MIN_INTERESTING in name.sh
KEY_MIN_INTERESTING is only a marker and not a real keycode, so ignore
it in name.sh to avoid reporting in e.g. print_event() and thus
input-events(8).
-rwxr-xr-x | name.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,7 +4,8 @@ TYPE="$1" INPUT="/usr/include/linux/input.h" awk " + /KEY_MIN_INTERESTING/ {next}; /EV_VERSION/ { next }; /_MAX/ { next }; /#define $1_/ { printf(\"\t[ %-16s ] = \\\"%s\\\",\n\", \$2, \$2); } -" < $INPUT
\ No newline at end of file +" < $INPUT |