FingerWheel and Toolbar

Rob Bradford rob at o-hand.com
Thu Apr 26 20:34:33 CEST 2007


On Wed, 2007-04-25 at 23:23 +0200, magon at dobaledova.net wrote:

> > How does that sound? I'll give you all the help you need to implement
> > this. 
> 	Thanks, I will probably need some help with making button events.

My resident X hacker (& boss) has told me that faking these kind of
mouse events is pretty horrible and the resident GTK hacker says they'll
be filtered anyway. Instead we can just simulate the keyboard up/down
arrows.

Code is attached. Compile with: 

gcc -o scroll-magic `pkg-config --cflags --libs gtk+-2.0 libfakekey`
scroll-magic.c

Enjoy.

Cheers,

Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scroll-magic.c
Type: text/x-csrc
Size: 3362 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/framework-devel/attachments/20070426/b17d9857/scroll-magic.c


More information about the framework-devel mailing list