diff options
author | Marcus Better <marcus@better.se> | 2011-07-20 13:23:31 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-07-20 16:29:41 +0200 |
commit | 5551a6d6a391f19d3f1d1bc2574c1d4f7fc96824 (patch) | |
tree | 2620431e11d7e775e4ff1ec852c8e649ae0b08e7 | |
parent | 07cac7fcea269a074bdeda8d1ff5ad41b1da9697 (diff) | |
download | input-5551a6d6a391f19d3f1d1bc2574c1d4f7fc96824.tar.gz |
use system input.h
This will automatically bring newly defined keys and buttons,
and won't be older than the 3 years old one currently shipped.
http://bugs.debian.org/447550
-rw-r--r-- | input.h | 2 | ||||
-rwxr-xr-x | lirc.sh | 2 | ||||
-rwxr-xr-x | name.sh | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ #include <inttypes.h> #include <sys/ioctl.h> -#include "linux-input.h" +#include <linux/input.h> #define ev_name(code) ((code) < EV_MAX && EV_NAME[code] ? EV_NAME[code] : "???") #define ev_type_name(type, code) ((code) < EV_TYPE_MAX[type] && EV_TYPE_NAME[type][code] ? EV_TYPE_NAME[type][code] : "???") @@ -1,5 +1,5 @@ #!/bin/sh -INPUT="linux-input.h" +INPUT="/usr/include/linux/input.h" cat <<EOF begin remote name linux-input-layer @@ -1,7 +1,7 @@ #!/bin/sh TYPE="$1" -INPUT="linux-input.h" +INPUT="/usr/include/linux/input.h" awk " /EV_VERSION/ { next }; |