Assume a palm threshold of
.I N.
The threshold has to be in device-specific pressure values.
+.TP 8
+.B \-\-thumb\-threshold=\fIN\fR
+Assume a thumb threshold of
+.I N.
+The threshold has to be in device-specific pressure values.
.PP
If the touch-thresholds or the palm-threshold are not provided,
this tool uses the thresholds provided by the device quirks (if any) or the
'--palm-threshold', metavar='t', type=int,
help='Threshold when a touch is a palm'
)
+ parser.add_argument(
+ '--thumb-threshold', metavar='t', type=int,
+ help='Threshold when a touch is a thumb'
+ )
args = parser.parse_args()
try:
if args.palm_threshold is not None:
device.palm = args.palm_threshold
+ if args.thumb_threshold is not None:
+ device.thumb = args.thumb_threshold
+
loop(device)
except KeyboardInterrupt:
print('\r\033[2K{}'.format(fmt.separator()))