[mythtv-users] first remote button press is ignored

Joey Morris rjmorris.list at zoho.com
Sat Jan 20 13:32:52 UTC 2018


Greg Oliver <oliver.greg at gmail.com> wrote on Fri, Jan 19, 2018 at 09:51:03PM -0600:
> Run irw in a terminal.  If the 1st button press does not show any results,
> but subsequent do, then your remote is to blame.  If the 1 does, then post
> your lircrc file for mythtv.

All button presses show results in irw. Attached is my lircrc file for mythtv.
-------------- next part --------------
#
# lircrc config file for the Microsoft Media Center Edition Remote, model 1039
#
# @url       $URL$
# @date      $Date: 2008-03-08 23:30:22 -0500 (Sat, 08 Mar 2008) $
# @version   $Revision: 16474 $
# @author    $Author: kormoc $
#
# This file is intended to complement the lircd.conf.mceusb file included with
# lirc 0.8 and above.
#
# Save this file in ~/.mythtv/lircrc
#

#
# Program Navigation
#

begin
    prog   = mythtv
    button = KEY_HOME
    config = M
end

begin
    prog   = mythtv
    button = RecTV
    config = Alt+R
end

begin
    prog   = mythtv
    button = Guide
    config = Alt+G
end

begin
    prog   = mythtv
    button = LiveTV
    config = Alt+T
end

begin
    prog   = mythtv
    button = KEY_VIDEO
    config = Alt+V
end

#
# Menu Navigation
#

begin
    prog   = mythtv
    button = KEY_BACK
    config = Esc
end

# Use Return so that pressing the button in a text field will bring up
# the onscreen keyboard instead of entering a space character.
begin
    prog   = mythtv
    button = KEY_OK
    #config = Space
    config = Return
end

begin
    prog   = mythtv
    button = More
    config = I
end

begin
    prog   = mythtv
    button = KEY_LEFT
    config = Left
    repeat = 1
    delay  = 3
end

begin
    prog   = mythtv
    button = KEY_RIGHT
    config = Right
    repeat = 1
    delay  = 3
end

begin
    prog   = mythtv
    button = KEY_UP
    config = Up
    repeat = 1
    delay  = 3
end

begin
    prog   = mythtv
    button = KEY_DOWN
    config = Down
    repeat = 1
    delay  = 3
end

#
# TV Control
#

begin
    prog   = mythtv
    button = KEY_VOLUMEDOWN
    config = F3
    repeat = 1
    delay  = 3
end

begin
    prog   = mythtv
    button = KEY_VOLUMEUP
    config = F4
    repeat = 1
    delay  = 3
end

begin
    prog   = mythtv
    button = KEY_MUTE
    config = F2
end

begin
    prog   = mythtv
    button = KEY_CHANNELDOWN
    config = PgDown
    repeat = 1
    delay  = 3
end

begin
    prog   = mythtv
    button = KEY_CHANNELUP
    config = PgUp
    repeat = 1
    delay  = 3
end

#
# Video Navigation
#

begin
    prog   = mythtv
    button = KEY_PLAY
    config = P
end

begin
    prog   = mythtv
    button = KEY_PAUSE
    config = P
end

begin
    prog   = mythtv
    button = KEY_STOP
    config = Esc
end

begin
    prog   = mythtv
    button = KEY_FORWARD
    config = >
end

begin
    prog   = mythtv
    button = KEY_REWIND
    config = <
end

begin
    prog   = mythtv
    button = KEY_AGAIN
    config = Q
end

begin
    prog   = mythtv
    button = KEY_NEXT
    config = Z
end

begin
    prog   = mythtv
    button = KEY_RECORD
    config = R
end

#
# Miscellaneous
#

begin
    prog   = mythtv
    button = Star
    config = _
end

# Upcoming Recordings jump point. Requires setting up the Alt+M
# keybinding in MythTV's keyboard setup.
begin
    prog   = mythtv
    button = Hash
    config = Alt+M
end

# Main Menu jump point.
begin
    prog   = mythtv
    button = KEY_CLEAR
#    config = Esc
    config = Alt+Home
end

begin
    prog   = mythtv
    button = KEY_ENTER
    config = Space
end

begin
    prog   = mythtv
    button = Teletext
    config = T
end

#
# Numbers
#

begin
    prog   = mythtv
    button = KEY_0
    config = 0
end

begin
    prog   = mythtv
    button = KEY_1
    config = 1
end

begin
    prog   = mythtv
    button = KEY_2
    config = 2
end

begin
    prog   = mythtv
    button = KEY_3
    config = 3
end

begin
    prog   = mythtv
    button = KEY_4
    config = 4
end

begin
    prog   = mythtv
    button = KEY_5
    config = 5
end

begin
    prog   = mythtv
    button = KEY_6
    config = 6
end

begin
    prog   = mythtv
    button = KEY_7
    config = 7
end

begin
    prog   = mythtv
    button = KEY_8
    config = 8
end

begin
    prog   = mythtv
    button = KEY_9
    config = 9
end


#
# Colors
#

#begin
#    prog   = mythtv
#    button = KEY_RED
#    config = [handled by irexec]
#end
    
#begin
#    prog   = mythtv
#    button = KEY_GREEN
#    config = [handled by irexec]
#end

begin
    prog   = mythtv
    button = KEY_BLUE
    config = E
end


More information about the mythtv-users mailing list