Limit the Number of Touches
Overview
DISPLAX Service allows you to limit the maximum number of simultaneous touches reported by a touch controller. This is useful for performance optimization, application compatibility, and filtering out unintended or excessive touch input.
By defining a maximum touch count, the system will ignore any additional touches beyond the configured limit.
When to Limit the Number of Touches
You may want to set a touch limit when:
-
Running applications that support only a fixed number of touches
-
Optimizing performance on low-resource systems
-
Reducing unintended multi-touch input
-
Using touch sensors in public or high-traffic environments
-
Testing or debugging touch behavior
Check the Current Touch Limit
To see the current maximum number of touches reported by the device, run:
displaxservice -a 127.0.0.1 --tmax
This command returns the current touch limit configured for the connected device.
Set the Maximum Number of Touches
To limit the number of reported touches to 10, run:
displaxservice -a 127.0.0.1 --tmax 10
The device will now report a maximum of 10 simultaneous touches.
Important Notes
-
Touches beyond the defined limit are ignored, not queued.
-
The optimal value depends on both the hardware capabilities and the target application.
-
Some operating systems or applications may impose their own touch limits.
-
Changes take effect immediately unless otherwise specified by the device firmware.
Best Practices
-
Match the touch limit to the maximum supported by your application, otherwise leave it at the maximum (factory default).
-
Reboot or reinitialize the touch controller if behavior appears inconsistent after changes.
Related Articles
What is DISPLAX Service?
DISPLAX Service Overview DISPLAX Service is a background process (agent/daemon) installed alongside DISPLAX Connect that enables low-level communication with your DISPLAX Touch Controllers. It acts as a command-line interface, allowing advanced ...
Touch operation mode
Overview By default, DISPLAX Touch Controllers automatically select the correct touch operation mode for the operating system in use. In most cases, no manual configuration is required. However, if your application or environment requires a specific ...
Count Number of Current Touches
Overview The Current Number of Touches command reports how many touches are being detected at this exact moment. This is particularly helpful for: Detecting ghost or false touches Verifying palm or object rejection Monitoring live touch activity How ...
Gain
Overview The Gain setting in DISPLAX Service controls the amplification level of the touch signal injected by the DISPLAX touch controller. Proper Gain adjustment is essential for achieving accurate touch detection while avoiding noise, false ...
Shield
Overview The Shield feature in DISPLAX Service is used to reduce the effects of electromagnetic interference (EMI) on a touch sensor. Increasing the Shield value helps suppress noise that can cause false touches or unstable touch behavior, especially ...