FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Tools
(Moderator: REAS)
   mouse gestures
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: mouse gestures  (Read 1063 times)
benelek

35160983516098 WWW Email
mouse gestures
« on: Nov 1st, 2003, 1:03pm »

this one's a fairly simple concept which is implemented in the Opera browser. it makes life much easier, and puts a level of intelligence in everyday control operations.
 
mouse gestures are broken down into two movements: horizontal and vertical. when these are considered in sequence, a large number of gesture types can be read: left-down, down-left, etc, as well as things like left-centre and down-centre (where the main movement occurs only in one direction).
 
http://users.bigpond.net.au/schwartz/mouseGesture/applet/
 
mflux

fluxhavoc WWW
Re: mouse gestures
« Reply #1 on: Nov 2nd, 2003, 11:31pm »

Interesting, but I'm not really certain of the application for this. Couldn't you just have recorded a direction for the mouse motion when it is clicked?
 
Glen Murphy

WWW Email
Re: mouse gestures
« Reply #2 on: Nov 3rd, 2003, 8:41am »

On a related note, I find the following program to be indespensible:
 
http://www.tcbmi.com/strokeit/
 
Going to a system without it is like going to a computer without a scrollwheel mouse. *shudder*
 
benelek

35160983516098 WWW Email
Re: mouse gestures
« Reply #3 on: Nov 4th, 2003, 12:23am »

wow, that's impressive. it's pretty much an application of handwriting recognition. i'd imagine it would be much easier to use with a graphics tablet.
 
Quote:
Interesting, but I'm not really certain of the application for this. Couldn't you just have recorded a direction for the mouse motion when it is clicked

actually, my sketch does exactly that - except that it also roughly records the sequence of movements in the two axes. what this does, is differentiate between (for example) right-down and down-right. so the number of recognised movements nearly doubles.
 
the application of this in java, might be similar to what arielm's done with his controller popups:
http://proce55ing.net/discourse/yabb/board_Tools_action_display__num_1067559864.html
feel free, anyone, to use my sketch in your own implementations of some kind of controller.
 
arielm

WWW
Re: mouse gestures
« Reply #4 on: Nov 4th, 2003, 1:09am »

benelek, do you mean implementing a kind of mouse-gesture-sensitive-scratch-pad area in the Controller popup?
 
sounds like something useful... what kind of output this component could return?
 

Ariel Malka | www.chronotext.org
Koenie

170825270170825270koeniedesign WWW Email
Re: mouse gestures
« Reply #5 on: Nov 4th, 2003, 4:50pm »

Maybe it could be some kind of small wacom board like thingy, just for mouse input.
 

http://koeniedesign.com
benelek

35160983516098 WWW Email
Re: mouse gestures
« Reply #6 on: Nov 4th, 2003, 10:44pm »

on Nov 4th, 2003, 1:09am, arielm wrote:
benelek, do you mean implementing a kind of mouse-gesture-sensitive-scratch-pad area in the Controller popup
 
sounds like something useful... what kind of output this component could return

 
a scratch-pad could probably be used quite effectively in your pop-ups. if you take a peek inside my code, there's a method called submit(). inside that method, you can specify what each gesture triggers.
 
gestures are broken down into three variables which are passed into submit() - { String x, String y, boolean horzFirst }. the strings' values are either { "left", "center", "right" } for x, and { "up", "center", "down" } for y. the boolean value is set to true if the horizontal action occurs first, and false if the vertical action occurs first. by putting any number of if() statements inside submit(), you can control what happens when each gesture is completed.
 
Koenie: the great thing about mouse gestures, is that they're so simple and axial that you don't need a graphics tablet i suppose they're the virtual equivalent of ye ol' tablet.
 
Arielm: one of the best things about mouse gestures, is that they don't require you to put your cursor anywhere in particular. so they're less fiddly than check boxes, for instance.
 
Pages: 1 

« Previous topic | Next topic »