[mythtv-users] asking for help to get remote-control pressed key code from source code

Bill Williamson bill at bbqninja.com
Fri Mar 23 07:11:30 UTC 2007


On 3/23/07, Xi Jiarong <XiJiarong at sp.edu.sg> wrote:
>
>
> Many thanks for your rapid reply!
> But, my question is for how to get the pressed key code from mythtv source
> code or others when user press remote control.
> it's  not about lircd.conf and lircrc
> I have compiled myth source code, and my lirc remote control can also work
> properly.
> I just want to get the remote-control pressed key code when user press
> remote control!
> But, i don't know how to get this? I find some related function,such as
> lirc.cpp and lircevent.cpp, but still confused about how to get the user
> pressed key code?
> thanks for you!


To clarify:
Are you writing your own mythtv plugin, and want to have the remote
control work for this plugin?

Or

Are you writing your own standalone program, and want to know how lirc
works so that your own program can use lirc?


More information about the mythtv-users mailing list