1# 2# Sample .lirc file for usage with irpty and ncmpc 3# 4# $ irpty ./ncmpc.lirc -- ncmpc 5# 6 7 8 9Begin 10 remote = * 11 button = CD_VOL- 12 prog = irpty 13 repeat = 1 14 config = - 15end 16 17begin 18 remote = * 19 button = CD_VOL+ 20 prog = irpty 21 repeat = 1 22 config = + 23end 24 25Begin 26 remote = * 27 button = CD_SEEK_BACK 28 prog = irpty 29 repeat = 1 30 config = b 31end 32 33begin 34 remote = * 35 button = CD_SEEL_FORW 36 prog = irpty 37 repeat = 1 38 config = f 39end 40 41begin 42 remote = * 43 button = CD_STOP 44 prog = irpty 45 repeat = 0 46 config = s 47end 48 49begin 50 remote = * 51 button = CD_NEXT 52 prog = irpty 53 repeat = 0 54 config = > 55end 56 57begin 58 remote = * 59 button = CD_PREV 60 prog = irpty 61 repeat = 0 62 config = < 63end 64 65begin 66 remote = * 67 button = CD_PAUSE 68 prog = irpty 69 repeat = 0 70 config = P 71end 72 73begin 74 remote = * 75 button = CD_PLAY 76 prog = irpty 77 repeat = 0 78 config = \r 79end 80 81# Switch screen (Playlist/Browse) 82begin 83 remote = * 84 button = CD_EJECT 85 prog = irpty 86 repeat = 0 87 config = \x9 88end 89 90 91# move: Up 92begin 93 remote = * 94 button = CD_2 95 prog = irpty 96 repeat = 2 97 config = k 98end 99 100# move: Down 101begin 102 remote = * 103 button = CD_8 104 prog = irpty 105 repeat = 2 106 config = j 107end 108 109# move: Center (update) 110begin 111 remote = * 112 button = CD_5 113 prog = irpty 114 repeat = 0 115 config = u 116end 117 118# Auto center 119begin 120 remote = * 121 button = CD_CHECK 122 prog = irpty 123 config = U 124end 125 126 127# move: home 128begin 129 remote = * 130 button = CD_1 131 prog = irpty 132 repeat = 0 133 config = \A 134end 135 136# move: end 137begin 138 remote = * 139 button = CD_7 140 prog = irpty 141 repeat = 0 142 config = \E 143end 144 145# move: PgUp 146begin 147 remote = * 148 button = CD_3 149 prog = irpty 150 repeat = 0 151 config = A 152end 153 154# move: PgDn 155begin 156 remote = * 157 button = CD_9 158 prog = irpty 159 repeat = 0 160 config = B 161end 162 163 164# Add/Select song 165begin 166 remote = * 167 button = CD_INDEX_NEXT 168 prog = irpty 169 repeat = 0 170 config = \x20 171end 172 173# Delete song 174begin 175 remote = * 176 button = CD_INDEX_PREV 177 prog = irpty 178 repeat = 0 179 config = d 180end 181 182# Clear playlist 183begin 184 remote = * 185 button = CD_CLEAR 186 prog = irpty 187 repeat = 0 188 config = c 189end 190 191# Random 192begin 193 remote = * 194 button = CD_RANDOM 195 prog = irpty 196 repeat = 0 197 config = z 198end 199 200# repeat 201begin 202 remote = * 203 button = CD_REPEAT 204 prog = irpty 205 repeat = 0 206 config = r 207end 208 209# crossfade 210begin 211 remote = * 212 button = CD_TIME_FADE 213 prog = irpty 214 repeat = 0 215 config = x 216end 217 218begin 219 remote = * 220 button = CD_TIME 221 prog = irpty 222 repeat = 0 223 config = t 224end 225 226