~ubuntu-branches/debian/stretch/input-utils/stretch

« back to all changes in this revision

Viewing changes to .pc/use-system-input.h/lirc.sh

  • Committer: Bazaar Package Importer
  • Author(s): Marcus Better, Steve Langasek, Marcus Better
  • Date: 2010-08-02 22:16:30 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100802221630-mf73m64mow67w8f6
Tags: 0.0.20081014-1
[ Steve Langasek ]
* debian/patches/show-numeric-key-values: always output the numeric
  value for keycodes in addition to the symbolic name
* debian/control: Vcs-Browser, not Vcs-Browse.
* debian/patches/stdout-not-stderr: informational messages should
  always go to stdout by convention, only errors to stderr.
  LP: #307513.

[ Marcus Better ]
* New upstream version.
* debian/rules: convert to debhelper 7.
* debian/control: bump Standards-Version to 3.9.1 (no changes).
* Switch to dpkg-source 3.0 (quilt) format
* debian/copyright: DEP-5 copyright format.
* DEP-3 patch format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
INPUT="linux-input.h"
 
3
cat <<EOF
 
4
begin remote
 
5
        name linux-input-layer
 
6
        bits 32
 
7
        begin codes
 
8
EOF
 
9
awk "
 
10
        /_MAX/                  { next };
 
11
        /KEY_RESERVED/          { next };
 
12
        /#define (KEY|BTN)_/    { gsub(/KEY_/,\"\",\$2);
 
13
                                  printf(\"\t\t%-20s 0x%04x\n\",
 
14
                                         \$2,0x10000+strtonum(\$3)) } 
 
15
" < $INPUT
 
16
cat <<EOF
 
17
        end codes
 
18
end remote
 
19
EOF