2006-11-03

Gesturing freely


Once again quard (Irek Khasyanov) has performed miracles. The trunk contains a version of the mouse gesture recognizer that can match movements live - no need for a special activation key - just pick a distinct enough gesture and it all works. Visit the repo at http://code.google.com/p/mouse-gesture-recognizer/source .

7 Comments:

At 2:20 PM, Anonymous S. said...

Oooh, sweetness. Will this make it into KDE 4? Can it be linked into KAction perchance? It'd be wonderful if we could allocate gestures to actions in the same way we do keyboard shortcuts!

 
At 2:25 PM, Blogger Johan Thelin said...

It has its own action-like object right now, so integration should not be a problem. Check out http://doc.trolltech.com/qq/qq18-mousegestures.html for a closer look.

 
At 3:49 PM, Anonymous Anonymous said...

Sounds cool! I'm missing one thing in mouse gestures in kde. I'd like to have gesture like down, left, (up|down). When moving mouse up or down at last movent, volume would increase or decrease.

 
At 11:47 AM, Anonymous S. said...

Wonderful, Johan. Thanks! :)
How hard would it be to add an interface to KDE's shortcut edition dialogs so that we could add mouse gestures in lieu of (or in addition to) the usual keyboard shortcut? I've been hoping for such a feature for, without exaggeration, years. (And now you're personally one step away from delivering. I'm considering making you one of my personal heroes. :D)

 
At 11:50 AM, Blogger Johan Thelin said...

It would not be impossible - but there is still more functionality needed - if nothing else, a gesture designer widget is missing.

Also, you must remember that all applications using this needs to have an event filter installed and then the KAction class has to be extended.

 
At 4:27 PM, Anonymous S. said...

Okay. Thanks for the explanations, Johan. :)
Do you think the steps you listed would be feasible, or are they just a pipe dream?
Also, silly question but... When you make a gesture, is it full-screen, or do you have to keep it within the bounding rectangle of the concerned application?
Thanks. :)

 
At 4:31 PM, Blogger Johan Thelin said...

It is not impossible, but I cannot do the work in the forseable future. Going outside the application's area is just a matter of grabbing the mouse, etc.

I aim to make the mgesturer more "productified" in the near future - a lib with examples and good documentation. From there, the posibilities are endless :-)

 

Post a Comment

<< Home