> From: "Ag. D. Hatzimanikas" <[EMAIL PROTECTED]>
> To: [email protected]
> Subject: Re: mouse/joystick to generate keyboard events (in console & X)
> Date: Sat, 12 May 2007 17:40:53 +0300
> 
> On Sat, May 12, at 11:07 Lauri Kasanen wrote:
> > Hi ya'all.
> >
> > I've been trying to find out how to do that for months. Asked in
> > linuxquestions.org, and many other forums, no-one knows.  It's for a
> > digital pic frame project, where I'll leave only touchpad for control.
> > (Joystick is for to-be-nes-pc) I've already found a program that can
> > capture any events (from any input dev) and execute a program on them,
> > that works in both console and X (keybjar). That's close, but I need
> > keyboard events, like moving mouse up causes the up key to be pressed,
> > or left click causes enter..
> >
> 
> This solution (dirty) requires X, fvwm (with stroke support) and the xte
> command from xautomation [1].
> 
> xte is a command that can generate fake input,eg:
> 
> xte -x :0.0 "key Home"
> 
> A quick (I have to go out) test in firefox seems to work.
> There are also available the following.
> 
> Left
> Up
> Right
> Down
> Page_Up
> Page_Down
> End
> Return
> Backspace
> Tab
> Escape
> Delete
> Shift_L
> Shift_R
> Control_L
> Control_R
> Meta_L
> Meta_R
> Alt_L
> Alt_R
> 
> What you have to do then is to run a script with some arguments (to 
> any of these actions),
> and use the stroke capabilities from fvwm to start this script with 
> a specific argument,
> by using only the touchpad.
> 
> Quite ironically you are an opera user which this feature is a built in.
> 
> That was a quick thought and possible with flaws but I think it will work.
> 
> 
> PS. I don't know which application you are going to use as a 
> picture viewer, but I found
> feh [2] to be almost perfect.
> It has as dependencies (besides X, lib{png,jpeg...}, imlib2 and 
> giblib by the same author.
> 
> 1. http://hoopajoo.net/projects/xautomation.html
> 2. http://linuxbrit.co.uk/feh/

I'll be using Zgv. Opera will be included, and I know it has mouse gestures, 
but the frame will only use X for web & IM. So it's mostly console....
Any other solutions?

Lauri

-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

Powered by Outblaze
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to