diff options
Diffstat (limited to 'meta-extras/packages/lirc/files/lircrc_nslu2')
| -rw-r--r-- | meta-extras/packages/lirc/files/lircrc_nslu2 | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/meta-extras/packages/lirc/files/lircrc_nslu2 b/meta-extras/packages/lirc/files/lircrc_nslu2 new file mode 100644 index 0000000000..0669d90b09 --- /dev/null +++ b/meta-extras/packages/lirc/files/lircrc_nslu2 | |||
| @@ -0,0 +1,113 @@ | |||
| 1 | # This is the default files read by all lirc clients | ||
| 2 | # (see also /etc/lircd.conf) | ||
| 3 | |||
| 4 | # I run /sbin/buzzer before every command to get an audible feedback | ||
| 5 | |||
| 6 | ## Here LIRC could shutdown your system | ||
| 7 | #begin | ||
| 8 | # prog = irexec | ||
| 9 | # remote = RC5 | ||
| 10 | # repeat = 0 | ||
| 11 | # button = vcr2-standby | ||
| 12 | # config = /sbin/buzzer; /sbin/halt | ||
| 13 | #end | ||
| 14 | |||
| 15 | |||
| 16 | ## Here LIRC controls your mpd music deamon | ||
| 17 | begin | ||
| 18 | prog = irexec | ||
| 19 | remote = RC5 | ||
| 20 | repeat = 0 | ||
| 21 | button = vcr2-pause | ||
| 22 | config = /sbin/buzzer; mpc toggle | ||
| 23 | end | ||
| 24 | begin | ||
| 25 | prog = irexec | ||
| 26 | remote = RC5 | ||
| 27 | repeat = 0 | ||
| 28 | button = vcr2-step+ | ||
| 29 | config = /sbin/buzzer; mpc next | ||
| 30 | end | ||
| 31 | begin | ||
| 32 | prog = irexec | ||
| 33 | remote = RC5 | ||
| 34 | repeat = 0 | ||
| 35 | button = vcr2-step- | ||
| 36 | config = /sbin/buzzer; mpc prev | ||
| 37 | end | ||
| 38 | begin | ||
| 39 | prog = irexec | ||
| 40 | remote = RC5 | ||
| 41 | repeat = 0 | ||
| 42 | button = vcr2-scan_forward | ||
| 43 | config = /sbin/buzzer; mpc seek +00:00:30 | ||
| 44 | end | ||
| 45 | begin | ||
| 46 | prog = irexec | ||
| 47 | remote = RC5 | ||
| 48 | repeat = 0 | ||
| 49 | button = vcr2-scan_reverse | ||
| 50 | config = /sbin/buzzer; mpc seek -00:00:30 | ||
| 51 | end | ||
| 52 | begin | ||
| 53 | prog = irexec | ||
| 54 | remote = RC5 | ||
| 55 | repeat = 0 | ||
| 56 | button = vcr2-brightness+ | ||
| 57 | config = /sbin/buzzer; mpc volume +20 | ||
| 58 | end | ||
| 59 | begin | ||
| 60 | prog = irexec | ||
| 61 | remote = RC5 | ||
| 62 | repeat = 0 | ||
| 63 | button = vcr2-brightness- | ||
| 64 | config = /sbin/buzzer; mpc volume -20 | ||
| 65 | end | ||
| 66 | |||
| 67 | |||
| 68 | ## Here LIRC acts as an repeater | ||
| 69 | begin | ||
| 70 | prog = irexec | ||
| 71 | remote = RC5 | ||
| 72 | repeat = 0 | ||
| 73 | button = vcr2-volume+ | ||
| 74 | config = /sbin/buzzer; irsend SEND_ONCE RC5 amp1-volume+ | ||
| 75 | end | ||
| 76 | begin | ||
| 77 | prog = irexec | ||
| 78 | remote = RC5 | ||
| 79 | repeat = 0 | ||
| 80 | button = vcr2-volume- | ||
| 81 | config = /sbin/buzzer; irsend SEND_ONCE RC5 amp1-volume- | ||
| 82 | end | ||
| 83 | |||
| 84 | |||
| 85 | ## Here LIRC is the input device for your LC display software | ||
| 86 | begin | ||
| 87 | prog = lcdd | ||
| 88 | remote = RC5 | ||
| 89 | repeat = 0 | ||
| 90 | button = vcr2-1 | ||
| 91 | config = A | ||
| 92 | end | ||
| 93 | begin | ||
| 94 | prog = lcdd | ||
| 95 | remote = RC5 | ||
| 96 | repeat = 0 | ||
| 97 | button = vcr2-2 | ||
| 98 | config = B | ||
| 99 | end | ||
| 100 | begin | ||
| 101 | prog = lcdd | ||
| 102 | remote = RC5 | ||
| 103 | repeat = 0 | ||
| 104 | button = vcr2-3 | ||
| 105 | config = C | ||
| 106 | end | ||
| 107 | begin | ||
| 108 | prog = lcdd | ||
| 109 | remote = RC5 | ||
| 110 | repeat = 0 | ||
| 111 | button = vcr2-4 | ||
| 112 | config = D | ||
| 113 | end | ||
