Being a fellow laptop user, I appreciate this usefull little bit of info ;)

Thanks.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Steve Downing
Sent: Wednesday, October 10, 2001 9:56 AM
To: [EMAIL PROTECTED]
Subject: Re: blackbox/bbkeys and keyboard mouse support?


At Wednesday, 10 October 2001, Steve Downing <[EMAIL PROTECTED]> 
wrote:

And in quick smart time, I answered my own question too!
FWIW, the solution is below

>I guess what I'm looking for (in bbkeys terms) would be like:
>KeyToGrab(Up), WithModifier(Control+Shift), WithAction(MousePointerUp)
>or even
>KeyToGrab(Up), WithModifier(Control+Shift), DoThis( ??A command which 
>moves the pointer?? )
>Is it possible?

There is a package which is called 'xwit' from which you can control 
tons of wierd things in XWindows.  Focus/iconify/scroll-up windows 
by name (or class?), and control the mouse pointer amongst other 
things.
Installed the package and added the following to my .bbkeysrc

KeyToGrab(Up), WithModifier(shift+control), WithAction(ExecCommand),
DoThis(xwit -rwarp 0 -10)
KeyToGrab(Down), WithModifier(shift+control), WithAction(ExecCommand),
DoThis(xwit -rwarp 0 10)
KeyToGrab(Left), WithModifier(shift+control), WithAction(ExecCommand),
DoThis(xwit -rwarp -10 0)
KeyToGrab(Right), WithModifier(shift+control), WithAction(ExecCommand),
DoThis(xwit -rwarp 10 0)

Now Shift+Control+Up moves the cursor 10 pixels up the screen.  Yay!

xwit and bbkeys make a deadly combination!

Steve


-- 
The most exciting phrase to hear in science,
the one that heralds new discoveries, is not
"Eureka!" but "That's funny..."' - Isaac Asimov

Reply via email to