Mouse gestures

Mouse gestures makes it possible to use mouse movements to complete frequently-performed browsing operations. Most mouse gestures can be configured by modifying the input.ini file, while a few are predefined.

Configurable mouse gestures

Gestures like GestureUp, GestureRight, GestureDown, GestureLeft, FlipBack and FlipForward can be configured by adding action stings under the [Browser Window] section in the input.ini file. The action strings are in the following format:

'Key value' = 'Action value'

For general information regarding input configuration, please see the input.ini settings section.

Key values

The key values that can be used in the input.ini file are as follows:

Key value How to do it
GestureUp Hold right button and move mouse up
GestureRight Hold right button and move mouse right
GestureDown Hold right button and move mouse down
GestureLeft Hold right button and move mouse left
FlipBack Hold right button and click left button
FlipForward Hold left button and click right button

Combining gestures

In addition to the simple gestures listed above, it is also possible to create new gestures by combining two or more gestures. The following example shows how this can be done:

[Browser Window]
GestureUp, GestureDown  = Reload

To trigger the reload action in this example, the user holds down the right button and moves the mouse up and then down before releasing the right button.

Enable mouse gestures

To enable mouse gestures in your integration, change the opera.ini setting Enable Gesture to 1.

Non-configurable mouse gestures

In addition to the regular mouse gestures that are triggered when the mouse is moved while holding down the right mouse button, or while clicking a button while holding down the other button, there are some other predefined gestures that can not be configured by editing the input.ini file, which are listed in the tables below.

Wheel gestures

Action How to do it
Scroll up and down Roll the wheel back and forth
Zoom in and out Hold Ctrl key down and roll wheel
Move back and forth in page history Hold Shift key down and roll wheel

Another predefined mouse gesture

Action How to do it
Go to home page Double-click in empty window