[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: IR remote control as mouse
From:       johnea <xorg () johnea ! net>
Date:       2012-12-14 3:09:16
Message-ID: 50CA9875.8090409 () johnea ! net
[Download RAW message or body]

On 2012-12-13 11:58, Tormod Volden wrote:
> On Wed, Dec 12, 2012 at 3:32 AM, johnea wrote:
> > On 2012-12-07 21:00, johnea wrote:
> > > 
> > > Hello,
> > > 
> > > I've previously used LIRC for IR remote control of multimedia software, as well \
> > > as configuring the arrow keys, of the remote, to function as a mouse. 
> > > Can both of these functions be implemented via xorg configuration?
> > > 
> > > Remapping the buttons to control the media player is working, but without \
> > > access to key codes greater than 255. 
> > > Is there a way to configure the arrow and enter keys to function as an evdev \
> > > mouse?
> 
> If you want to make an evdev device, look at the uinput interface
> http://thiemonge.org/getting-started-with-uinput (unless you want to
> make a kernel driver).
> 
> Alternatively, I think you can rather easily make a small lircd client
> which calls xdotool (or uses libxdo itself).
> http://www.lirc.org/html/lircd.html
> http://www.semicomplete.com/projects/xdotool/xdotool.xhtml#mouse_commands
> http://www.semicomplete.com/files/xdotool/docs/html/xdo_8h.html#aa15b8082764bbd889545c30364f18145
>  
> Regards,
> Tormod

Great tips Tormod. Thank You!

johnea
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic