mouse gestures
- From: <tpgww@xxxxxxxxxxx>
- To: emelfm2@xxxxxxxxxxxxx
- Date: Thu, 11 Sep 2008 13:33:06 +1000
Update:
http://svn.emelfm2.net/offcuts now includes files to make pointer (mouse)
gestures usable and configurable (and optional). There's still some polishing
to do, one known thing not working (configuring multiple buttons for a gesture)
and I have to presume there are undiscovered bugs, but hopefully they won't be
serious.
Design parameters were:
* support > 1 pointer device (MPX is due in the next Xorg, I understand)
* support 1 to 32 buttons, and any combination thereof, per device (yes, I
know, but there's 32 bits needed, easiest to enable them all)
* support 0 to however-many-there-are modifier keys, and any combination thereof
To try this, you'll need to:
1. get current code from svn
2. edit emeflm2.h. There's a line
//#define E2_MOUSECUSTOM
which needs to be un-commented
3. get from offcuts, and place in the src dir in code tree, these extra files
e2_mousebinding.h
e2_mousebinding.c
e2_mousegesture.c
stroke.h
stroke.c
4. get from offcuts, and place in the src/dialogs dir (or anywhere in code
tree, really)
e2_gesture_dialog.c
5. clean and rebuild
6. backup any config data you want to retain
7. run, open config dialog and click the "default" button
Click on a gesture cell on config page to open a dialog. New or revised
gestures can be 'drawn' and/or entered/edited manually. Gestures are described
by sequences of grid-numbers. Currently it uses 3X3 grid so 1 = top-left, 9 =
bottom-right. I put in a few default gestures for example purposes, maybe
better ones will be suggested or identified.
Remember that events in some part of the main window also apply to the window
as a whole, so careful about conflicting gestures between the "general"
category and anything more specific.
Regards
Tom
--
Users can unsubscribe from the list by sending email to
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by
logging into the web interface.
- Follow-Ups:
- Re: mouse gestures
- From: Charles A Edwards
- Re: mouse gestures
- From: tpgww
Other related posts:
- » mouse gestures
- » Re: mouse gestures
- » Re: mouse gestures
- » Re: mouse gestures
- » Re: mouse gestures
- » Re: mouse gestures
- » Re: mouse gestures
- » Re: mouse gestures
- » Re: mouse gestures
- » Re: mouse gestures
- Re: mouse gestures
- From: Charles A Edwards
- Re: mouse gestures
- From: tpgww