General | Hardware | Click Mode | Properties | Calibration | Toolbars | Status
# Mouse emulation and related issues
## Emulation Modes Most pointer devices emulate the actions of the mouse; pen down, cursor movement, pen up to generate left clicks, right clicks, double clicks etc. These actions have to be derived from the events generated from the pointer device. In the case of a touch screen these events are initial touch, movement, stationary touch and last touch - effectively a complete touch sequence. The driver implements a number of different mouse emulation modes to cater for the different ways mouse emulation is likely to be used. These emulation modes are shown in the UPDD Console, Click Mode dialog and the table below shows the mouse pen sequences defined for the different modes:
Emulation mode | Initial touch | Movement | Stationary for short period | Last touch | Primary Mouse Click | Secondary Mouse Click | UPDD Version 3 reference
Click and drag | Pen down | Move with pen down | None | Pen up | Left | Right | Touchdown Left
Drag then click | None | Move | None | Pen down/up | Left | Right | Liftoff Left
Point and click | Pen down | None | None | Pen up | Left | Right | N/A
Interactive Touch | Left Pen down | Move with pen down | Left Pen up Right pen down / up | Pen up or no action | Fixed | N/A | Interactive Touch
When the stylus is used, the pen actions will, by default, be performed against the primary mouse click as shown above. However, in some circumstances it is required to perform the pen actions against the secondary mouse click and this is achieved by using the Event Selector to switch between Primary and Secondary states. ## Event Selector Under Windows the Event selector facility allows for the Event State (an internal driver setting) to be toggled between Primary and Secondary states. These states are normally set to Left and Right click emulation respectively. The Event Selector can be invoked in various ways: ● Single click the UPDD System Tray Utility and select ‘Event Selector’ from the menu items; ● Directly calling the Event Selector (TBalt.exe) from an application, desktop icon or, as shown below, the Windows Program Manager; Two presentations of the event selector are available; one implemented as a standard Windows application and one implemented as a function of a Toolbar: Application Event Selector The application Event Selector is invoked if a toolbar Event Selector (looks for a toolbar called Event-Selector) is not defined in the system. The Event Selector application will be shown on the screen and will toggle between the two event states when touched:
Primary | Secondary
The Event Selector settings can be changed in the Event Selector menu. The menu can be viewed by clicking on the title bar mouse icon on the desktop Event Selector: One hit: Indicates if the Event Selector automatically switches to the Primary setting after a single secondary use. Icon: Indicates the size of the mouse icon displayed in the desktop event selector. Text mode: Indicates that text be shown instead of a mouse icon. The Event Selector can be moved to a different position via the application’s title bar. Toolbar Event Selector The Event Selector function is implemented as a Toolbar Action. The Event Selector toolbar can be created from the UPDD Extensions, Event Selector dialog. (A toolbar, called Event-Selector, is created with an action of ‘UPDD Action’ and the Action being ‘Event Selector’. Normal and Toggled toolbar images are set to represent the Primary and Secondary states (mouse with left click and mouse with right click) and the toggled image is linked to the Alt State Active signal). Once the Event Selector toolbar is created the Event Selector will be shown on the screen and will toggle between the two event states when touched:
Primary | Secondary
The Event Selector extension also contains the Event Selector settings. One Hit: indicates if the Event Selector automatically switches to the Primary state after a single secondary use. The Event Selector can be moved by touching the Event Selector image for a short period of time and moving it to the desired position. System Tray Event State toggle A Windows system tray Event State toggle () is also offered to toggle between primary and secondary event states and reflects the current setting.