# Mouse Gestures

**URL:** https://forum.kirupa.com/t/mouse-gestures/282253
**Category:** flash
**Created:** [February 19, 2009, 12:27pm UTC](https://forum.kirupa.com/t/mouse-gestures/282253 "2009-02-19T12:27:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![grandpaw\_broon](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/grandpaw_broon/32/3985_2.png) [@grandpaw\_broon](https://forum.kirupa.com/u/grandpaw_broon)
#### Post date: [February 19, 2009, 12:27pm UTC](https://forum.kirupa.com/t/mouse-gestures/282253/1 "2009-02-19T12:27:49Z")

</div>

Hi All 😃

A new day, a new question!

Not having a right mouse button for my application is pretty annoying and i believe with Macs there is no middle button?

Well i already use the left mouse click and i dont to make the keyboard optional.

Consider the application is a simple line drawing one. It draws a line between each click of the mouse. Well i want to be able to cancel that line drawing and i think what i would like to do is shake the mouse left to right (Almost like black and white when you drop the beasts leash).

I was wondering if anyone knew of any projects using mouse gestures in AS3? Or perhaps a port-able Java one?

If not, does anyone have any ideas on how to check if the mouse has been “shaked” from left to right? Any approach is worth a try.

Cheers,
