Driver settings reference

This document lists, in alphabetical order, the UPDD driver settings that relate to the usability of the driver and may warrant adjustment, with the scope and default value of each. It applies to UPDD 7 on Windows, macOS and Linux; most settings also exist in UPDD 6.

Each entry is a short summary. How a feature works, and when to change its settings, is described in the topic linked from the entry.

Using this reference

Scope: G = global (non-device) setting, D = device setting. Global settings are set with upddutils nodevice set <name> <value>, device settings with upddutils device N set <name> <value>, or in the UPDD Console, Advanced, Settings tab under General (global) or the device entry. See How UPDD settings work and upddutils.

Default: the default value defined for the setting in UPDD 7.1. A driver package can be built with a different value for a particular device, so to see the value in effect use upddutils get <name> or the Console. upddutils help <name> prints the full description held for a setting.

Settings maintained by the driver, such as those beginning private. and the calibration data, should not be changed by hand.

A to C

SettingScopeDefaultDescription
active_pointer_interfaceDautoUPDD 7. Selects the pointer interface used to deliver the device's touches to the operating system: auto, touch, pen or mouse. On Windows, with auto, HID touches reported as pen events are delivered as pen events and mouse and touch events are delivered as touches. On macOS auto is ignored. Shown in the UPDD Console as Pointer interface. Replaces active_touch_interface. See What UPDD is and how touch reaches your applications.
active_touch_interfaceDblankThe UPDD 6 interface setting (values such as tbupddsu, upddvh, uinput, xtouch). The UPDD 7 driver uses active_pointer_interface instead; UPDD Daemon still reads active_touch_interface to select the macOS single touch interfaces (simpletouch, simpletouch_cg) and the Windows w32_events interface. See What UPDD is and how touch reaches your applications.
anchor_mouse.enabledG0Set to 1 to return the system mouse pointer, after a touch, to the position immediately prior to the touch. See Cursor, anchor mouse and sound.
anchor_mouse.return_time_msG500The time lapse after a touch, in milliseconds, before the system mouse pointer is returned to its previous location. See Cursor, anchor mouse and sound.
anchor_mouse.sample_time_msG100The interval, in milliseconds, at which the current mouse position is sampled. See Cursor, anchor mouse and sound.
assisted_double_click.time_msD0 (off)Assisted double click generates the second touch of a double click at the location of the first when it ends within this time (ms) of the previous touch. In tests 750 typically gave good results. See Click behaviour.
assisted_double_click.width_pixelsD75The distance, in pixels in X or Y, within which the second touch must fall for assisted double click. See Click behaviour.
autoconfigureG0With 1, Identify runs on the next touch after installation and after any change to the geometry or number of monitors. UPDD Daemon must be running. See Automatic configuration.
bindmodeD5Bit mask of the fields used to distinguish USB devices of the same type when several are connected. See Hardware port binding.
calibration.force_geometryGscreenscreen or available: the monitor geometry used to place the calibration window. See Calibration settings.
calibration_cancelG0Show a cancel button beside the confirm button at the end of calibration. Only effective if calibration_confirm is on. See Calibration settings.
calibration_confirmG or D0Show a confirm button at the end of calibration; if it is not touched the previous calibration is restored. See Calibration settings.
calibration_confirm_textG0Show the text "Please press the button above to confirm calibration" when the confirm button is visible. See Calibration settings.
calibration_marginDset by calibrationThe margin (%) of the calibration points on which the current calibration is based. Maintained by the driver; do not change it. Use calibration_margin.next. See Calibration settings.
calibration_margin.nextD10The margin (%) from the edge of the calibrated area used for the next calibration. See Calibration settings.
calibration_min_deltaD0Number of raw points that must separate a calibration point from the previous one for it to be accepted. See Calibration settings.
calibration_pointsDset by calibrationThe number of points on which the current calibration is based. Maintained by the driver; do not change it. Use calibration_points.next. See Calibration settings.
calibration_points.nextD4The number of calibration points used by the next calibration: 4, 9, 11 or 25. See Calibration settings.
calibration_timeoutD10Seconds UPDD Calibrate waits without input before terminating; 0 waits indefinitely. See Calibration settings.
clear_remote_wakeupD1If 1, the Clear Remote Wakeup USB feature is sent during enumeration of the device (from 7.1.41). No effect on Windows for HID class devices. See Sleep, wake and touch after resume.
click_modeD00 Click and drag, 1 Move then click, 2 Point and click, 3 No click (movement only). See Click behaviour.
configure.invokes_calibrateGautoauto, always or never: whether Identify goes on to calibrate. See Identify.
console.no_daemon_checkG0If 1 the UPDD Console never shows "UPDD Daemon not connected", for systems configured not to run UPDD Daemon. Restart the Console after changing it. See Error displays.
contact_timeout_secsD0If non-zero, any contact longer than this number of seconds is cancelled (forced lift) and ignored until it ends. Can filter out constant ghost touches. See Touch data filtering.

D to I

SettingScopeDefaultDescription
deglitch.cal_points
deglitch.packets
Dblank (off)Together control the deglitch filter, which ignores isolated packets whose co-ordinates jump by more than deglitch.cal_points (on a 0-65535 range). A zero in either turns the filter off. See Touch data filtering.
disable_remote_wakeupD1The UPDD 6 name for clear_remote_wakeup; still honoured by the macOS USB reader in UPDD 7. See Sleep, wake and touch after resume.
edge_adjust_marginD2The size in % of the margin around the touch area (monitor, desktop or segment) used by edge adjust; 0 turns edge adjust off. See Touch data filtering.
enabledD1If 0 touch is turned off for this device. The device remains connected, but its data is not delivered to the API or the touch interface. Device disabled takes priority over global enabled. See Disabling and prioritising touch.
enabledG1If 0 touch is disabled for all devices. Global disabled takes priority over a device enabled. The UPDD Console General entry, Enabled. See Disabling and prioritising touch.
filter.low_pass.gainD0 (off)A non-zero value enables low pass filtering, which smooths jitter at the cost of some lag. Values around 5 typically give good results; over about 20 give extreme lag. See Touch data filtering.
firmware_pageGblankNames the firmware page to be shown in the UPDD Console, e.g. zxy100-usb. See UPDD Console, Firmware.
hid.report_descriptor.crcDcalculatedThe CRC of the device's HID report descriptor. Set it blank (upddutils setall hid.report_descriptor.crc "") to make the driver re-read the descriptor and recalculate the values deduced from it, such as the default calibration. See Calibration.
hid.width.mapDblankWith the pointer interface set to auto, maps the width element of a HID report to pen, touch or eraser, one rule per line: <from-width>-<to-width>=<type>,<width>. See UPDD Console, Touch.
hide_systemtray_iconG0If 1 the UPDD Daemon system tray / menu bar icon is not shown. Restart UPDD Daemon to make it effective. See UPDD Daemon.
identifiedDset by IdentifyRun time flag set when the device has been identified (associated with a monitor). See Identify notification.
ignore_multi_touchD0If 1, multi-touch events are discarded when posting to the operating system, so only single touch is delivered; the events are still passed to the API. See Touch data filtering.
ignore_tip_switchD0If 1, the tip switch (lift) bit from the device is ignored. Normally used with a non-zero liftoff_time_ms, otherwise the driver never generates a pen up. See Touch data filtering.
interactive_touchDOffOff, Immediate, Drag or Latched (0 and 1 are accepted for Off and Immediate): a long press generates a right click. Not applicable to pen devices. See Click behaviour.
interactive_touch.time_msD550The time in milliseconds a steady press must be held before interactive touch generates a right click. See Click behaviour.
interactive_touch.visualD1If 1, a circle is drawn during a long press to show the time before the right click. Interactive touch must be on and UPDD Daemon running. See Click behaviour.
interlockDNoneNone, Interlock or Admin: the touch priority of the device when several devices are touched at the same time. See Disabling and prioritising touch.
interlock_release_timeD0If greater than 0, the time in milliseconds for which a device keeps interlock control after a touch ends. See Disabling and prioritising touch.

L to O

SettingScopeDefaultDescription
legacy.*Ddefined for the deviceThe touch data structure of a legacy (non-HID) serial device: 0mask, 1mask, invertmask, tipmask, tipshift, xmask, xshift, ymask, yshift. Set in the driver production system; do not change. See Serial (RS232) devices.
liftoff_time_msD500If non-zero, a lift off is injected when no touch packet is seen within this time (ms) of the previous one. Use 0 for delta mode controllers. See Touch data filtering.
merge_contact_idsG0From 7.1.220. If 1, contact ids are made unique across all controllers. See Multiple controllers in one application.
merge_contact_ids.max_contactsG256From 7.1.220. The size of the merged contact id space (1-256). See Multiple controllers in one application.
minimum_notify_levelG00 shows all notifications, 1 warnings and critical only, 2 critical (including evaluation) only. See Disabling notifications.
monitor.mapping_eventG2Windows. When the virtual HID devices are mapped to monitors: 0 never, 1 once only at installation, 2 as required. See Virtual HID device association.
monitor_bind.display_nameDblankA display name substring (or resolution, or disp=primary / disp=secondary) that binds the device to a monitor. Windows and macOS. See Monitor name binding.
monitor_bind.display_name.v7DblankUPDD 7. As monitor_bind.display_name with multi-token rules, one rule per line. See Monitor name binding.
monitor_numberD1The monitor number associated with this device. See Monitor number.
monitor_segmentD1The monitor segment associated with this device. See Segments.
monitor_segment_mapG1x1The layout of segments on each monitor, e.g. 2x1, or custom segments x:n:[l,t,r,b]. monitor_segment_map.N applies to monitor N only. See Segments.
monitor_setup_modeGautoWindows, from 7.1.43. auto or manual: whether monitor setup runs each time the monitor layout changes or only from the Setup Monitors menu option. See Manually request update.
monitorsetupmetricsGset automaticallyThe monitor layout as known to the driver. See Monitor metrics.
monitorsetupmetrics.manualG0If 1, monitorsetupmetrics is not updated automatically, so it can be set manually. See Manual definition.
monitorsetupmetrics.sortG1If 1, the monitors reported by the OS are sorted left to right, top to bottom, to give consistent monitor numbering. Windows (from 7.0.82) and macOS (from 7.1.57). See Automatic definition.
override.screen_rotation.angleDblankOverrides private.screen_rotation.angle, so that a rotation angle can be defined and the one from the OS ignored. See Screen rotation.

P to S

SettingScopeDefaultDescription
port_typeDdefined for the deviceThe hardware interface of the device: usb, serial, i2c, hidi2c or hidusb. See Serial (RS232) devices.
power.reenumerate_after_wakeD0macOS. If 1 the driver re-enumerates all connected USB devices after a power management wake event, simulating an unplug / replug. See Sleep, wake and touch after resume.
power.stop_after_wakeD0macOS and Windows. If 1 the driver process is terminated after a wake event and restarted by the OS launcher, for a full software reset. See Sleep, wake and touch after resume.
private.screen_rotation.angleD0The current screen rotation angle, set by UPDD Daemon. Should not normally be changed manually. See Screen rotation.
propagate.touch_interfaceG0If 1, a change to the touch interface in the settings dialog applies to all devices, and newly connected devices use the same interface. See UPDD Console, Touch.
remote_wakeup_modeDnoneFrom 7.1.43, macOS. none, partial (low power when the OS goes to sleep) or full (low power after 60 seconds without touch). See Sleep, wake and touch after resume.
rs232.baudrate
rs232.databits
rs232.parity
rs232.stopbits
rs232.port
Ddefined for the deviceThe serial communication parameters and the port name (or auto). See Serial (RS232) devices.
rs232.macro
rs232.macro.keepalive
rs232.macro.keepalive.ms
Ddefined for the device; keepalive.ms 10000The initialisation macro, and an optional heartbeat macro with its interval in milliseconds. See Serial (RS232) devices.
rs232.probe
rs232.probe.ack
rs232.reset.byte
DblankPort auto-detection probe and expected reply; a byte that, received from the device, makes the driver resend rs232.macro. See Serial (RS232) devices.
sample_rateD100The percentage of position packets passed to the OS and the API, in blocks of 10 packets; only multiples of 10 are useful. See Touch data filtering.
set_remote_wakeupD0If 1, the Set Remote Wakeup USB feature is sent during enumeration of the device (from 7.1.41). No effect on Windows for HID class devices. See Sleep, wake and touch after resume.
sound.file.nGblankWindows. Names a .wav file used by the sound options; <app> and <win> stand for the UPDD and Windows system folders. See Cursor, anchor mouse and sound.
sound.touch
sound.lift
DblankWindows. The number n of the sound.file.n to play when a touch starts / ends. See Cursor, anchor mouse and sound.
stabilizationD0 (off)Ignores movements smaller than this value (raw controller co-ordinates) during a steady touch, replaying them once the movement exceeds it. Shown in the UPDD Console Touch page. See Touch data filtering.
startup.disable_touch_untilGblankAt driver start, when the global enabled setting is set: client (when the first client, e.g. UPDD Daemon, connects), a number of seconds, or any other value to leave touch disabled until enabled is set by other means. USB devices only. See Disabling and prioritising touch.
synthesize.delta_modeD0If 1, only packets that represent movement or a change of contact state are delivered to the OS and the API. See Touch data filtering.
systemtray_icon_registration_onlyG0If 1, the UPDD Daemon menu offers only the registration option, and only until the driver is registered. See UPDD Daemon.

T to Z

SettingScopeDefaultDescription
touch_interface_lockedG0If 1, the touch interface option in the settings dialog cannot be changed. See UPDD Console, Touch.
touchdown_filterD0If non-zero, the first N touching packets of each touch are filtered as set by touchdown_filter_mode. See Touch data filtering.
touchdown_filter_modeDdiscarddiscard or no_contact (motion only): what happens to the packets filtered by touchdown_filter. See Touch data filtering.
uinput.multi_touchG0Linux. If 1 the driver sends multi-touch events to the kernel. See Linux touch delivery.
uinput.single_touchG1Linux. If 1 the driver sends standard single touch events to the kernel. See Linux touch delivery.
uinput.single_touch.mouseG0Linux. If 1 the uinput device reports BTN_LEFT instead of BTN_TOUCH for the contact state (found to be required on Alpine). See Linux touch delivery.
uinput.sleep_usG200Linux. Pause in microseconds between events passed to the touch interface; 0 disables it. See Linux touch delivery.
uinput.virtual_input_pathGblankLinux. The device path of the uinput device; if blank /dev/uinput, /dev/input/uinput and /dev/misc/uinput are tried. See Linux touch delivery.
upddvh.keep_aliveG1Windows. If 1, keep-alive packets are injected for a touching contact so that Windows does not generate a pen up on delta mode or slow controllers. See Touch data filtering.
upddvh.keep_alive_interval_msG15Windows. The gap in milliseconds after which keep-alive packets are injected. See Touch data filtering.
usb.enum_delay_after_force_claimG5Seconds to wait before re-enumeration after a forced claim (reset) of a device that could not be opened. See Hardware interfaces.
use_input_injectionG0Windows 10 1809 and later, from 7.1.220. If 1, touch and pen from all controllers are delivered through one Windows synthetic pointer interface driven by UPDD Daemon. See Unified pointer injection.
use_native_screen_rotationG1Windows 10 and 11 with the virtual HID interface. Set to 0 to make UPDD map co-ordinates for a rotated display, as some third party video drivers require. See Screen rotation.
watchdog.eventsGblank (none)A comma separated list of watchdog events to monitor: usbenum, usberror, maxreaderrors. See Watchdog and recovery script.
xhost.enableGSI:localhost:rootLinux. The argument UPDD Daemon passes to xhost to let the driver open the X interface. See UPDD Daemon.

Settings described elsewhere

These groups of settings are described with their features:

SettingsDescribed in
annotate_*UPDD Annotate
upddcommander.*Commander settings reference
toolbar.*Toolbars
eeprom.*EEPROM and controller firmware functions
toip.*Virtual devices, Touch over IP and Touch Split
Bootstrap file entries (updd.ini)How UPDD settings work

For review

Defaults on this page are the default values defined for each setting in the settings file of a UPDD 7.1.235 Windows package (the default_value column of updd_setting, which the driver uses whenever a setting has no value of its own: 07_01 updd/settings.cpp:22 and :69, coalesce(value, default_value)). Several differ from what the replaced articles said, which were mostly the fallbacks in the code: interactive_touch.time_ms 550 (article and code fallback 500), interactive_touch.visual 1 (article 0), interactive_touch Off (article immediate), anchor_mouse.sample_time_ms 100 (article 500), liftoff_time_ms 500 (article 0), sample_rate 100 (article 0), bindmode 5 (article 32767). Please confirm these are the defaults the team wants published, and whether any are set differently for Linux or macOS packages.

Scope changed from the articles where the settings file says otherwise: calibration_timeout and calibration_points.next are device settings (50129 marked calibration_timeout global); calibration_confirm is read from both global and device (calibrate/calibdlg.cpp:606); hid.width.map is a device setting (50696 said global).

xhost.enable: the settings file defines SI:localhost:root, while the code fallback when the setting is blank is SI:localuser:root (daemon/mymainwindow.cpp:342-346). "localhost" is not a valid xhost server-interpreted type, so the defined default looks wrong. Please check on a Linux install which one is used.

Left out: interactive_touch.latched (obsolete since 6.0.483); the "Live Annotate" and "Multi Monitor / Segments" pointer rows of 50415; the note under enabled suggesting active_touch_interface = "none" to turn off the touch interface only, which could not be confirmed for UPDD 7.