You can also define gestures that involve only the motion of a pointing device such as a mouse, or an alternative pointing device, such as a head pointer or trackball. The syntax of the gesture does not change depending on whether you are using a mouse or an alternative pointing device.
If the dwellmouselistener GtkModule is loaded, alternative pointing devices are temporarily latched to the core pointer. This means that if the user moves the alternative pointing device, the onscreen pointer moves.
The following line starts GOK
in dwell mode
when the user moves the onscreen pointer from inside the login dialog through
the top edge, back into the dialog through the top edge, out of the dialog
through the left edge, back into the dialog through the left edge, and similarly
through the bottom and right edges of the dialog in a cross pattern:
TTLLBBRR O 10000 gok --login --access-method=dwellselection --input-device=MOUSE[3]
Note that the --input-device parameter specified in the gesture must match the name of the user input device as specified in /etc/X11/XF86Config.
The above line must be displayed as a single line in the AccessKeyMouseEvents file without line breaks. The formatting of this guide might display the line over two lines.