|
Re: inputlirc: zeroconf LIRC daemon using Linux input event devices: msg#00050hardware.lirc
Diese Nachricht enthaelt eine MIME-codierte Binaerdatei. Falls Ihr Mailer die Datei nicht decodieren kann, verwenden Sie dafuer bitte ein Tool wie 'munpack' oder 'udec'. This message contains a MIME encoded binary file. If your mailer cannot decode the file, please use a decoding tool like 'munpack'. Hi! Buzz "buzz-zim0Ek+YwzE@xxxxxxxxxxxxxxxx" wrote: > I don't know why this hasn't been done. But then again, I don't know how > to do this either.... So maybe everyone else is in the same boat? Ok, what about the script attached? Christoph #! /bin/sh TYPES="KEY BTN" file=${1:-/usr/include/linux/input.h} cat <<EOF begin remote name dev/input bits 16 eps 30 aeps 100 pre_data_bits 16 pre_data 0x8001 gap 132799 toggle_bit 0 begin codes EOF for type in $TYPES; do grep "^#define ${type}_" < $file|while read; do sed --expression="s/^#define \(.*\)/ \1/" done done cat <<EOF end codes end remote EOF |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: mode2 reports noise values: 00050, Russ Weeks |
|---|---|
| Next by Date: | Hauppage 150 mce and the ir blaster that ships with it: 00050, Nick Sklavenitis |
| Previous by Thread: | RE: inputlirc: zeroconf LIRC daemon using Linux input event devicesi: 00050, Buzz |
| Next by Thread: | mode2 reports noise values: 00050, Russ Weeks |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |