[mythtv-users] LIRC remote as mouse?

Joseph A. Caputo jcaputo1 at comcast.net
Sun Apr 11 12:19:28 EDT 2004


Matt Hannan wrote:
> I just found this at fedoranews.org in an article about setting up the
> ATI Remote Wonder in Linux.
> http://fedoranews.org/contributors/youssef_makki/remotewonder/
> 
> Do you think this could be modified to work with the grey Hauppauge
> remote?
> 
> #######################################################################
> In order to use the remote as a mouse in XFree86, add the following
> section to your X configuration (/etc/X11/XF86Config):
> 
> Section "InputDevice"
>         Identifier  "LIRC-Mouse"
>         Driver      "mouse"
>         Option      "Device" "/dev/lircm"
>         Option      "Protocol" "IMPS/2"
>         Option      "SendCoreEvents"
>         Option      "Buttons" "5"
>         Option      "ZAxisMapping" "4 5"
> EndSection
> 
> Add the following to your ServerLayout section in XF86Config, it should
> look something like this:
> 
> Section "ServerLayout"
>     Identifier "ServerLayout"
>     Screen "Screen0"
>     InputDevice "Mouse1" "CorePointer"
>     InputDevice "LIRC-mouse" "CorePointer"
>     InputDevice "Keyboard1" "CoreKeyboard"
> EndSection
> ########################################################################
> #

IIRC, any remote that you can use with lircd can also be used with lircm 
(simultaneously)... you can configure any buttons you want as the 
direction & left/right mouse buttons.  At one point I had this 
configured with my Hauppauge WinTV 401 dbx remote & IR sensor.  You 
configure a single button to transition your remote in/out of "mouse mode".

-JAC



More information about the mythtv-users mailing list