summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-templates/templates/remotes/favorites/mce/lircrc-mceusb
blob: a6a8c48e6d34f25488235fe8fd8d063a3f5439df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
# /home/mythtv/.mythtv/lircrc
#
# From Knoppmyth R5.5 - Copied by UniCav
#
# Media Center Edition Remote Control and 
# Remote Control Keys on Media Center Keyboard
#
##############################################################################
# For use with the USB MCE ir receiver
# MythTV LIRC config file for the mceusb2 or lirc_mod_mce module

# Info about lircrc statment
#begin
#  prog    = ... Program controlled, irxevent, irexec, mythtv, mplayer, 
#                xine, or others
#  remote  = ... mceusb, or what ever you happen to have or want to call it
#  button  = ... remote keys names from your lircd.conf file
#  repeat  = ... repeat = 2 is fast, repeat = 4 is slower
#  delay   = ... delay before repeat, 1 is short, 4 is longer
#  config  = ... output key presses to key bindings editor
#  mode    = ...
#  flags   = ...
#end

# Test your new Lirc settings
#   /etc/init.d/lirc restart    To restart Lirc
#   ctrl-alt-backspace          To restart the frontend

# Updated January 30th 2008 BAK
# for the Knoppmyth project

################################### irexec ###################################
# the lirc irexec program must be running for this section

# Will perform a complete shutdown
#begin
#       prog   = irexec
#       button = Power
#       config = /usr/bin/sudo halt
#end

############################### Mythtv Section ###############################
# MythTV Key Binding Editor     location
# Mythtv Menu >>Utilities / Setup >>Edit Keys
# Key Bindings can also be found in Myth Web

# Record
begin
  prog   = mythtv
  button = Record
  config = R
end

# Stop
begin
  prog   = mythtv
  button = Stop
  config = Esc
end

# Pause
begin
  prog   = mythtv
  button = Pause
  config = P
end

# Rewind (while viewing)
begin
  prog   = mythtv
  button = Rewind
  repeat = 0
  delay  = 1
  config = <
end

# Fast forward (while viewing)
begin
  prog   = mythtv
  button = Forward
  repeat = 0
  delay  = 1
  config = >
end

# Play
begin
  prog   = mythtv
  button = Play
  config = L
end

# Skip backward (1 min default)
begin
  prog   = mythtv
  button = Replay
  repeat = 4
  delay  = 4
  config = PgUp
end

# Skip forward (1 min default)
begin
  prog   = mythtv
  button = Skip
  repeat = 4
  delay  = 4
  config = PgDown
end

#<><><><><><><><><><><> Mythtv Control <><><><>

# Escape/Exit/Back
begin
  prog   = mythtv
  button = Back
  config = Esc
end

# Bring up OSD info
begin
  prog   = mythtv
  button = More
  config = I
end

begin
  prog   = mythtv
  button = Left
  repeat = 2
  delay  = 4
  config = Left
end

begin
  prog   = mythtv
  button = Right
  repeat = 2
  delay  = 4
  config = Right
end

begin
  prog   = mythtv
  button = Up
  repeat = 2
  delay  = 4
  config = Up
end

begin
  prog   = mythtv
  button = Down
  repeat = 2
  delay  = 4
  config = Down
end

# OK/Select
begin
  prog   = mythtv
  button = OK
  config = Return
end

# The Start Button is really just a Menu key
begin
  prog   = mythtv
  button = Start
  config = M
end

#<><><><><><><><><><><><><><><>

# Volume-Up
begin
  prog   = mythtv
  button = VolumeUp
  repeat = 1
  config = ]
end

# Volume-Down
begin
  prog   = mythtv
  button = VolumeDown
  repeat = 1
  config = [
end

# Mute
begin
  prog   = mythtv
  button = Mute
  config = |
end

# Channel Up
begin
  prog   = mythtv
  button = ChannelUp
  repeat = 3
# delay  = 1
  config = Up
end

# Channel Down
begin
  prog   = mythtv
  button = ChannelDown
  config = Down
  repeat = 3
# delay  = 1
end

# Numbers 0-9 <><><><><><><><><><><>

begin
  prog   = mythtv
  button = One
# repeat = 2
  config = 1
end

begin
  prog   = mythtv
  button = Two
# repeat = 2
  config = 2
end

begin
  prog   = mythtv
  button = Three
# repeat = 2
  config = 3
end

begin
  prog   = mythtv
  button = Four
# repeat = 2
  config = 4
end

begin
  prog   = mythtv
  button = Five
# repeat = 2
  config = 5
end

begin
  prog   = mythtv
  button = Six
# repeat = 2
  config = 6
end

begin
  prog   = mythtv
  button = Seven
# repeat = 2
  config = 7
end

begin
  prog   = mythtv
  button = Eight
# repeat = 2
  config = 8
End

begin
  prog   = mythtv
  button = Nine
# repeat = 2
  config = 9
end

begin
  prog   = mythtv
  button = Zero
# repeat = 2
  config = 0
end

#<><><><><><><><><><><><><><><><><><><><>
# Seek to previous commercial cut point
# or remove all cut points from the Editing Cutlist
begin
  prog   = mythtv
  button = Star
  config = Q
end

# Seek to next commercial cut point
# or add commericial cut points to the Editing Cutlist
begin
  prog   = mythtv
  button = Hash
  config = Z
end

# Brings up the delete box
begin
  prog   = mythtv
  button = Clear
  repeat = 0
  config = D
end

# Toggle Editing Cutlist on or off
begin
  prog   = mythtv
  button = Enter
  repeat = 0
  config = E
end

#<><><><><><><><> Additional Remote Commands <><><><><><><><>
# All buttons in this section must be configured using
# MythTV's KeyBindings JumpPoints editor.
# >>> Utilities/ Setup >>> Edit Keys >>> JumpPoints >>>

# Listen to Myth Music
begin
  prog   = mythtv
  button = Music
  config = Ctrl+Alt+M
end

# at this time connects to MythStreem
begin
  prog = mythtv
  button = Radio
  config = Ctrl+Alt+S
end

# View Pictures
begin
  prog   = mythtv
  button = Pictures
  config = Ctrl+Alt+P
end

# Watch Videos
begin
  prog   = mythtv
  button = Videos
  config = Ctrl+Alt+V
end

# Watch Live TV with Live TV Guide open
begin
  prog   = mythtv
  button = TV
  config = Ctrl+Alt+K
end

# Watch Live TV
begin
  prog   = mythtv
  button = LiveTV
  config = Ctrl+Alt+L
end

# Recorded TV Programs
begin
  prog   = mythtv
  button = RecordedTV
  config = Ctrl+Alt+R
end

# Program Guide
begin
  prog   = mythtv
  button = Guide
  config = Ctrl+Alt+G
end

# Play DVD
# There must be a disk in the DVD drive or it dos nothing
begin
  prog   = mythtv
  button = DVDMenu
  config = Ctrl+Alt+D
end

# unused key
#begin
#  prog   = mythtv
#  button = Messenger
#  config = Ctrl+Alt+A
#end

# <><><><><><><><><><><><><> Teletext Buttons <><><><><><><><><><><>

# Teletext = Show interactive MHEG screens
begin
  prog   = mythtv
  button = Teletext
  config = F7
end

# Red = Red button for interactive screens.
begin
  prog   = mythtv
  button = Red
  config = F2
end

# Green = Green button for interactive screens.
begin
  prog   = mythtv
  button = Green
  config = F3
end

# Yellow = Yellow button for interactive screens.
begin
  prog   = mythtv
  button = Yellow
  config = F4
end

# Blue = Blue button for interactive screens.
begin
  prog   = mythtv
  button = Blue
  config = F5
end


######################## MPlayer Section #####################################
# "mplayer -input keylist" Prints all keys that can be bound to commands.
# "mplayer -input cmdlist" Prints all commands that can be bound to keys
# "man mplayer" Prints documentation for MPlayer

# Show OSD
begin
  prog   = mplayer
  button = OK
  config = osd
end

# Pause playback
begin
  prog   = mplayer
  button = Pause
  config = pause
end

# If paused, resume playing
begin
  prog   = mplayer
  button = Play
  config = pause
end

# Stop playback and exit
begin
  prog   = mplayer
  button = Stop
  config = quit
end

# Volume-Up
begin
  prog   = mplayer
  button = VolumeUp
  repeat = 2
  config = volume +1
end

# Volume-Down
begin
  prog   = mplayer
  button = VolumeDown
  repeat = 2
  config = volume -1
end

# Mute
begin
  prog   = mplayer
  button = Mute
  config = mute
end

# Seek back 60 seconds
begin
  prog   = mplayer
  button = Left
  repeat = 2
  config = seek -60
end

# Seek forward 60 seconds
begin
  prog   = mplayer
  button = Right
  repeat = 2
  config = seek +60
end

# Seek back 10 seconds
begin
  prog   = mplayer
  button = Rewind
  repeat = 2
  config = seek -10
end

# Seek forward 30 seconds
begin
  prog   = mplayer
  button = Forward
  repeat = 2
  config = seek +30
end

# Quit
begin
  prog   = mplayer
  button = Back
  config = quit
end

# Seek forward 10 minutes
begin
  prog   = mplayer
  button = Skip
  repeat = 2
  config = seek +600
end

# Seek backward 10 minutes
begin
  prog   = mplayer
  button = Replay
  repeat = 2
  config = seek -600
end

# increase brightness
begin
  prog   = mplayer
  button = ChannelUp
  repeat = 2
  config = brightness +1
end

# decrease brightness
begin
  prog   = mplayer
  button = ChannelDown
  repeat = 2
  config = brightness -1
end

# Toggle full-screen
#begin
#  prog   = mplayer
#  button = #???????????????????????????
#  repeat = 2
#  config = vo_fullscreen
#end


########################## XINE Section ######################################
#
# For a compleate list of Xine's Lirc Keybindings use comand
#        xine --keymap=lirc>.lircrc.xine.keybindings
# This creates a file in current directory called ".lircrc.xine.keybindings"
# Note: Xine has diferent sets of keybindings for lirc and keyboard

##  01/14/2008
# xine key bindings.
# Automatically generated by xine-ui version 0.99.6cvs.

#<><><><><><><><><><> Xine Video Movement <><><><>

# start playback
begin
  prog   = xine
  button = Play
  config = Play
end

# playback pause toggle
begin
  prog   = xine
  button = Pause
  config = Pause
end

# stop playback
begin
  prog   = xine
  button = Stop
  config = Stop
end

# take a snapshot
#begin
#   prog   = xine
#   button = Record
#   repeat = 2
#   config = Snapshot
#end

begin
  prog   = xine
  button = Forward
  repeat = 2
# delay  = 1
  config = SeekRelative+7
end

begin
  prog   = xine
  button = Rewind
  repeat = 2
# delay  = 1
  config = SeekRelative-7
end

# set position to -60 seconds in current stream
begin
  prog   = xine
  button = Replay
  repeat = 2
  delay  = 1
  config = SeekRelative-60
end

# set position to +60 seconds in current stream
begin
  prog   = xine
  button = Skip
  repeat = 2
  delay  = 1
  config = SeekRelative+60
end
#<><><><><><><><><><><><>Xine Control<><><><><><><><><>

# quit the program
begin
  prog   = xine
  button = Back
  config = Quit
end

#display stream information using OSD
begin
  prog   = xine
  button = More
  config = OSDStreamInfos
end

# menu navigate up
begin
  prog   = xine
  button = Up
  repeat = 2
  delay  = 2
  config = EventUp
end

# menu navigate down
begin
  prog   = xine
  button = Down
  repeat = 2
  delay  = 2
  config = EventDown
end

# menu navigate left
begin
  prog   = xine
  button = Left
  repeat = 2
  delay  = 2
  config = EventLeft
end

# menu navigate right
begin
  prog   = xine
  button = Right
  repeat = 2
  delay  = 2
  config = EventRight
end

# menu select
begin
  prog   = xine
  button = OK
  config = EventSelect
end

# jump to Root Menu
begin
  prog   = xine
  button = Start
  config = Menu
end

#<><><><><><><><><><><><><><><><><><><> Xine Volume / Channel <><><><><><><><>

# increment audio volume
begin
  prog   = xine
  button = VolumeUp
  repeat = 1
  config = Volume+
end

# decrement audio volume
begin
  prog   = xine
  button = VolumeDown
  repeat = 1
  config = Volume-
end

# audio muting toggle
begin
  prog   = xine
  button = Mute
  config = Mute
end

# increase brightness by 10
begin
  prog   = xine
  button = ChannelUp
  config = BrightnessControl+
end

# decrease brightness by 10
begin
  prog   = xine
  button = ChannelDown
  config = BrightnessControl-
end

#<><><><><><><><><><><><><><><><><> Xine Menu <><><><>

# unused key
#begin
#   prog   = xine
#   button = RecordedTV
#   config = ????????
#end

# visibility toggle of stream info window
begin
  prog   = xine
  button = Guide
  config = SetupShow
end

# unused key
#begin
#  prog   = xine
#  button = LiveTV
#  config = ????????
#end

# jump to Title Menu
begin
  prog   = xine
  button = DVDMenu
  config = RootMenu
end

#<><><><><><><><><><><><><><><><><> Xine Stream Position <><><><>

# set position in current stream

begin
  prog   = xine
  button = Zero
  config = SetPosition0%
end

begin
  prog   = xine
  button = One
  config = SetPosition10%
end

begin
  prog   = xine
  button = Two
  config = SetPosition20%
end

begin
  prog   = xine
  button = Three
  config = SetPosition30%
end

begin
  prog   = xine
  button = Four
  config = SetPosition40%
end

begin
  prog   = xine
  button = Five
  config = SetPosition50%
end

begin
  prog   = xine
  button = Six
  config = SetPosition60%
end

begin
  prog   = xine
  button = Seven
  config = SetPosition70%
end

begin
  prog   = xine
  button = Eight
  config = SetPosition80%
end

begin
  prog   = xine
  button = Nine
  config = SetPosition90%
end

#<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

# decrement playback speed (slow motion slowdown)
begin
  prog   = xine
  button = Star
  config = SpeedSlower
end

# increment playback speed (slow motion speedup)
begin
  prog   = xine
  button = Hash
  config = SpeedFaster
end

# reset playback speed
begin
  prog   = xine
  button = Clear
  config = SpeedReset
end

# set position to -30 seconds in current stream     config = SeekRelative-30
# set position to +30 seconds in current stream     config = SeekRelative+30
# eject the current medium                          config = Eject
# zoom in                                           config = ZoomIn
# zoom out                                          config = ZoomOut
# fullscreen toggle                                 config = ToggleFullscreen

##
# End of xine .
##