Streamzap Remote

From MythTV Official Wiki
Jump to: navigation, search


Author Elloco
Description Basic lircrc and lircd.conf file for use with MythTV and Streamzap remotes
Supports



Script.png ~/.mythtv/lircrc

# OK/Select

begin
remote = * 
prog = mythtv
button = OK1 
repeat = 2
config = Space
end

# Play
begin
remote = *
prog = mythtv
button = PLAY 
config = Return
repeat = 2
end

# Stop
begin
remote = *
prog = mythtv
button = STOP 
config = Esc
repeat = 2
end

# Escape/Exit/Back
begin
remote = *
prog = mythtv
button = EXIT 
config = Esc
repeat = 2
end


# Pause
begin
remote = *
prog = mythtv
button = PAUSE 
repeat = 3
config = P
end

begin
remote = *
prog = mythtv
button = << 
repeat = 2
config = Left
end

# Rewind (10 sec default)
begin
remote = *
prog = mythtv
button = >> 
repeat = 2
config = Right
end

# Skip forward (10 min default)
begin
remote = *
prog = mythtv
button = >>| 
repeat = 2
config = PgDown
end

# Skip backward (10 min default)
begin
remote = *
prog = mythtv
button = |<< 
repeat = 2
config = PgUp
end

# Record
begin
remote = *
prog = mythtv
button = RECORD 
repeat = 2
config = R
end

# Widescreen
begin
remote = *
prog = mythtv
button = RED 
repeat = 2
config = W
end

# Display EPG while in live TV,
# View selected show while in EPG
begin
remote = *
prog = mythtv
button = MENU 
repeat = 2
config = M
end

# Scroll Right
begin
remote = *
prog = mythtv
button = RIGHT 
repeat = 2
config = Right
end

# Scroll Left
begin
remote = *
prog = mythtv
button = LEFT 
repeat = 2
config = Left
end

# Scroll Up
begin
remote = *
prog = mythtv
button = UP 
repeat = 2
config = Up
end

# Scroll down
begin
remote = *
prog = mythtv
button = DOWN 
repeat = 2
config = Down
end

# Info 
begin
remote = *
prog = mythtv
button = GREEN 
repeat = 2
config = I
end

# Seek to previous commercial cut point
begin
remote = *
prog = mythtv
button = YELLOW 
repeat = 2
config = Q
end

# Seek to next commercial cut point
begin
remote = *
prog = mythtv
button = BLUE 
repeat = 2
config = Z
end


Script.png lircd.conf

begin remote

  name  Streamzap_PC_Remote
  bits            16
  flags RC5|CONST_LENGTH
  eps            30
  aeps          100

  pre_data_bits  16 
  pre_data      0x0001
        post_data_bits  32
        post_data       0x00000001
 
  gap         132799 
  toggle_bit     0 


      begin codes
          0                        0x00
          1                        0x01
          2                        0x02
          3                        0x03
          4                        0x04
          5                        0x05
          6                        0x06
          7                        0x07
          8                        0x08
          9                        0x09
          POWER                    0x0A
          MUTE                     0x0B
          CH_UP                    0x0C
          VOL_UP                   0x0D
          CH_DOWN                  0x0E
          VOL_DOWN                 0x0F
          UP                       103 
          LEFT                     105 
          OK1                       0x160 
          RIGHT                    106 
          DOWN                     108 
          MENU                     139 
          EXIT                     174 
          PLAY                     207 
          PAUSE                    119 
          STOP                     128 
          |<<                     158 
          >>|                     159 
          RECORD                  167 
          <<                      168 
          >>                       208 
          RED                     0x18e 
          GREEN                   0x18f 
          YELLOW                   0x22
          BLUE                     0x23
      end codes

end remote