When using touch screens there can be a need to manipulate the system pointer (cursor) in a number of ways...
Cursor shape / appearance during touch
Operating systems utilise various mouse cursors. Most familiar is the traditional mouse cursor shown when a standard mouse device is used.
However, with the wide spread use of the touch interface it is considered that using this cursor was inappropriate to touch or a cursor/visual feedback should only be shown when actually touching (to show point of contact) or in some cases that a cursor is not desirable at all when using touch.
Currently our driver does little to affect the cursor shape and its usage, leaving it in the hands of the operating system and any related cursor configuration, except as described below:
||MacOS is not a touch aware OS so no cursor manipulation has been implemented specific to touch usage therefore, by default, a cursor is always present. However, we have implemented an option to 'Hide the mouse cursor during touch usage' in UPDD Gestures and UPDD Commander. The cursor is reenabled if a trackpad or mouse is subsequently used.
||When using the Gnome windows manager the cursor, by default, is hidden when touch is used. We have introduced a UPDD global settings 'gnome_default_touch_cursor_behaviour' to change this behaviour if required. 0 = Change default behaviour, 1 (or not defined) = keep default behaviour. Our tests were performed using Ubuntu 16.04LTS. Other distributions may have different defaults / behaviour.
The UPDD driver can be configured to post touch data on different system interfaces. This will of course likely affect the cursor usage as determined by the operating system.
Cursor reset after touch
In some cases, after a touch has been completed it is desirable to reset/return the cursor to its previous position prior to the touch or gesture being performed such that the cursor is not left in some random place. This is especially useful if the touch screen is on a secondary monitor and when used takes away the cursor from the primary monitor such that after touch the user has to constantly return the cursor back to its original position.
We cater for this requirement in a number of ways.
|When using the driver to handle the touch clicks there is a setting that indicates to the driver that the cursor is to be returned to it previous location once the touch sequence is complete. This setting is anchor_mouse.enabled and has two associated settings all of which are described here.
|| When using UPDD Commander there is a setting to 'Reset mouse cursor after a gesture ends' in the Settings dialog, general tab.