1
0

libinput-measure-touch-size.man 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. .TH libinput-measure-touch-size "1"
  2. .SH NAME
  3. libinput\-measure\-touch-size \- measure touch size and orientation of devices
  4. .SH SYNOPSIS
  5. .B libinput measure touch\-size [\-\-help] [options]
  6. [\fI/dev/input/event0\fI]
  7. .SH DESCRIPTION
  8. .PP
  9. The
  10. .B "libinput measure touch\-size"
  11. tool measures the size and orientation of a touch as provided by the kernel.
  12. This is an interactive tool. When executed, the tool will prompt the user to
  13. interact with the touch device. On termination, the tool prints a summary of the
  14. values seen. This data should be attached to any
  15. touch\-size\-related bug report.
  16. .PP
  17. This is a debugging tool only, its output may change at any time. Do not
  18. rely on the output.
  19. .PP
  20. This tool usually needs to be run as root to have access to the
  21. /dev/input/eventX nodes.
  22. .SH OPTIONS
  23. If a device node is given, this tool opens that device node. Otherwise, this
  24. tool searches for the first node that looks like a touch-capable device and
  25. uses that node.
  26. .TP 8
  27. .B \-\-help
  28. Print help
  29. .TP 8
  30. .B \-\-touch\-thresholds=\fI"down:up"\fR
  31. Set the logical touch size thresholds to
  32. .I down
  33. and
  34. .I up,
  35. respectively. When a touch exceeds the size in
  36. .I down
  37. it is considered logically down. If a touch is logically down and goes below
  38. the size in
  39. .I up,
  40. it is considered logically up. The thresholds have to be in
  41. device-specific pressure values and it is required that
  42. .I down
  43. >=
  44. .I up.
  45. .TP 8
  46. .B \-\-palm\-threshold=\fIN\fR
  47. Assume a palm threshold of
  48. .I N.
  49. The threshold has to be in device-specific pressure values.
  50. .PP
  51. If the touch-thresholds or the palm-threshold are not provided,
  52. this tool uses the thresholds provided by the device quirks (if any) or the
  53. built-in defaults.
  54. .SH LIBINPUT
  55. Part of the
  56. .B libinput(1)
  57. suite