How to use the IR remote control as mouse

Here is the correct sequence:
 – start “lircd” with the appropriate command.
 – start “lircmd”
 – start X

Configure xorg.conf as follows:

Put this section in your xorg.conf file to use the mouse in addition to your normal one.

Section "InputDevice"
        Identifier  "LIRC-Mouse"
        Driver      "mouse"
        Option      "Device" "/dev/lircm"
        Option      "Protocol" "IntelliMouse"
        Option      "SendCoreEvents"
        Option      "Buttons" "5"
        Option      "ZAxisMapping" "4 5"
EndSection

And add a line to the ServerLayout section like this:

Section "ServerLayout"<br />        ...<br />        InputDevice    "LIRC-Mouse"           <-- add this line<br />EndSection

I didn’t try yet, but an easier way should be:
# modprobe uinput
# lircmd –uinput

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s