For Jamie, et al...

You can add keybindings for enlightenment to take certain actions on
the mouse wheel events.  I added Alt-Shift-MouseWheelUp to move one
virtual up, and Alt-Shift-MouseWheelDown to move one virtual down.
The default enlightement action for this is also Alt-Shift-Up/Down but
the up/down on the keyboard arrow keys.

Add this to your ~/.enlightenment/keybindings.cfg :

  __NEXT_ACTION
    __EVENT __MOUSE_PRESS
    __BUTTON 5
    __MODIFIER_KEY __ALT_SHIFT
    __ACTION __A_AREA_MOVE_BY 0 1
  __NEXT_ACTION
    __EVENT __MOUSE_PRESS
    __BUTTON 4
    __MODIFIER_KEY __ALT_SHIFT
    __ACTION __A_AREA_MOVE_BY 0 -1

in the area that begins with:

__ACLASS __BGN
  __NAME KEYBINDINGS
  __TYPE __TYPE_GLOBAL

Of course, this is all after adjusting XFree86 to map the mouse wheel
to the mouse buttons 4 and 5.

-Rob

Reply via email to