[mythtv] patch to add native lirc support

Scott Beck sbeck at gossamer-threads.com
Mon Aug 4 14:02:07 EDT 2003


Hi,

This patch adds native lirc support to mythtv. I have one small/strange
bug with it. On the exit screen (after you escape all the way out of
myth) where you have to select what to do, for some reason the Space key
event I send to MythMainWindow does not work.

I've hardcoded the lircrc file to be $HOME/.mythtv/lircrc.

I've attached the patch and the extra files (lirc.{cpp,h}). I'm also
attaching my lircrc.

Cheers,

Scott
-- 
Scott Beck <sbeck at gossamer-threads.com>
Gossamer Threads
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lirc.diff
Type: text/x-patch
Size: 2872 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20030804/e174f3f1/lirc.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lirc.cpp
Type: text/x-c++
Size: 1693 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20030804/e174f3f1/lirc-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lirc.h
Type: text/x-c-header
Size: 450 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20030804/e174f3f1/lirc-0002.bin
-------------- next part --------------
begin
	prog = mythtv
	button = guide
    repeat = 1
	config = m
end

begin
	prog = mythtv
	button = last
	config = H
end

begin
	prog = mythtv
	button = info
	config = i
end

begin
	prog = mythtv
	button = exit
	config = Esc
end

begin
	prog = mythtv
	button = up
	repeat = 2
	config = Up
end

begin
	prog = mythtv
	button = down
	repeat = 2
	config = Down
end

begin
	prog = mythtv
	button = left
	repeat = 2
	config = Left
end

begin
	prog = mythtv
	button = right
	repeat = 2
	config = Right
end

begin
	prog = mythtv
	button = select
	config = Space
end

begin
	prog = mythtv
	button = vol+
	repeat = 1
	config = ]
end

begin
	prog = mythtv
	button = vol-
	repeat = 1
	config = [
end

begin
	prog = mythtv
	button = chan+
	repeat = 2
	config = Up
end

begin
	prog = mythtv
	button = chan-
	repeat = 2
	config = Down
end

begin
	prog = mythtv
	button = mute
	config = shift+\
end

begin
	prog = mythtv
	button = 1
	config = 1
end

begin
	prog = mythtv
	button = 2
	config = 2
end

begin
	prog = mythtv
	button = 3
	config = 3
end

begin
	prog = mythtv
	button = 4
	config = 4
end

begin
	prog = mythtv
	button = 5
	config = 5
end

begin
	prog = mythtv
	button = 6
	config = 6
end

begin
	prog = mythtv
	button = 7
	config = 7
end

begin
	prog = mythtv
	button = 8
	config = 8
end

begin
	prog = mythtv
	button = 9
	config = 9
end

begin
	prog = mythtv
	button = 0
	config = 0
end

begin
	prog = mythtv
	button = enter
	config = Return
end

begin
	prog = mythtv
	button = rew
	repeat = 1
	config = Left
end

begin
	prog = mythtv
	button = few
	repeat = 1
	config = Right
end

begin
	prog = mythtv
	button = pause
	config = P
end

begin
	prog = mythtv
	button = play
	config = Return
end

begin
	prog = mythtv
	button = stop
	config = Esc
end

begin
	prog = mythtv
	button = rec
	config = R
end






More information about the mythtv-dev mailing list