1
0

libinput-debug-events.man 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. .TH libinput-debug-events "1" "" "libinput @LIBINPUT_VERSION@" "libinput Manual"
  2. .SH NAME
  3. libinput\-debug\-events \- debug helper for libinput
  4. .SH SYNOPSIS
  5. .B libinput debug\-events \fI[options]\fB
  6. .PP
  7. .B libinput debug\-events \fI[options]\fB \-\-udev \fI<seat>\fB
  8. .PP
  9. .B libinput debug\-events \fI[options]\fB [\-\-device] \fI/dev/input/event0\fB [\fI/dev/input/event1\fB...]
  10. .SH DESCRIPTION
  11. .PP
  12. The
  13. .B "libinput debug\-events"
  14. tool creates a libinput context and prints all events from these devices.
  15. .PP
  16. This is a debugging tool only, its output may change at any time. Do not
  17. rely on the output.
  18. .PP
  19. This tool usually needs to be run as root to have access to the
  20. /dev/input/eventX nodes.
  21. .SH OPTIONS
  22. .TP 8
  23. .B \-\-compress\-motion\-events
  24. Compress repeated motion, axis, scroll, and gesture update
  25. events into a single line. This only takes effect if stdout is a TTY.
  26. .TP 8
  27. .B \-\-device \fI/dev/input/event0\fR
  28. Use the given device(s) with the path backend. The \fB\-\-device\fR argument may be
  29. omitted.
  30. .TP 8
  31. .B \-\-grab
  32. Exclusively grab all opened devices. This will prevent events from being
  33. delivered to the host system.
  34. .TP 8
  35. .B \-\-help
  36. Print help
  37. .TP 8
  38. .B \-\-quiet
  39. Only print libinput messages, don't print anything from this tool. This is
  40. useful in combination with --verbose for internal state debugging.
  41. .TP 8
  42. .B \-\-show\-keycodes
  43. Key events shown by this tool are partially obfuscated to avoid passwords
  44. and other sensitive information showing up in the output. Use the
  45. .B \-\-show\-keycodes
  46. argument to make all keycodes visible.
  47. .TP 8
  48. .B \-\-udev \fI<seat>\fR
  49. Use the udev backend to listen for device notifications on the given seat.
  50. The default behavior is equivalent to \-\-udev "seat0".
  51. .TP 8
  52. .B \-\-verbose
  53. Use verbose output
  54. .SS libinput configuration options
  55. .TP 8
  56. .B \-\-apply-to="pattern"
  57. Configuration options are only applied where the device name matches the
  58. pattern. This pattern has no effect on the \fB\-\-disable-sendevents\fR
  59. option.
  60. .TP 8
  61. .B \-\-disable-sendevents="pattern"
  62. Set the send-events option to disabled for the devices matching patterns.
  63. This option is not affected by the \fB\-\-apply-to="pattern"\fR option.
  64. .TP 8
  65. .B \-\-enable-drag|\-\-disable\-drag
  66. Enable or disable tap-and-drag
  67. .TP 8
  68. .B \-\-enable\-drag\-lock|\-\-disable\-drag\-lock
  69. Enable (in timeout mode) or disable drag-lock
  70. .B \-\-enable\-drag\-lock=[sticky|timeout]
  71. Enable drag-lock in sticky or timeout mode
  72. .TP 8
  73. .B \-\-enable\-dwt|\-\-disable\-dwt
  74. Enable or disable disable-while-typing
  75. .TP 8
  76. .B \-\-enable\-dwtp|\-\-disable\-dwtp
  77. Enable or disable disable-while-trackpointing
  78. .TP 8
  79. .B \-\-enable\-left\-handed|\-\-disable\-left\-handed
  80. Enable or disable left handed button configuration
  81. .TP 8
  82. .B \-\-enable\-middlebutton|\-\-disable\-middlebutton
  83. Enable or disable middle button emulation
  84. .TP 8
  85. .B \-\-enable\-natural\-scrolling|\-\-disable\-natural\-scrolling
  86. Enable or disable natural scrolling
  87. .TP 8
  88. .B \-\-enable\-scroll-button-lock|\-\-disable\-scroll-button-lock
  89. Enable or disable the scroll button lock
  90. .TP 8
  91. .B \-\-enable\-tap|\-\-disable\-tap
  92. Enable or disable tap-to-click
  93. .TP 8
  94. .B \-\-set\-area="x1/y1 x2/y2"
  95. Set the tablet area to the rectangle described by the two points x1/y1 and x2/y2. All
  96. coordinates must be in the range [0.0, 1.0].
  97. .TP 8
  98. .B \-\-set\-calibration="1.0 0.0 0.0 0.0 1.0 0.0"
  99. Set the first 6 elements of a 3x3 matrix to use for calibration. The third row of the
  100. matrix is always "0.0 0.0 0.1".
  101. .TP 8
  102. .B \-\-set\-click\-method=[none|clickfinger|buttonareas]
  103. Set the desired click method
  104. .TP 8
  105. .B \-\-set\-clickfinger\-map=[lrm|lmr]
  106. Set button mapping for clickfinger
  107. .TP 8
  108. .B \-\-set\-custom\-points="<value>;...;<value>"
  109. Sets the n points defining a custom acceleration function
  110. The points are defined in a semicolon-separated list of floating point
  111. non-negative numbers. Defaults to "0.0;1.0".
  112. This only applies to the custom profile.
  113. .TP 8
  114. .B \-\-set\-custom\-step=<value>
  115. Sets the distance along the x-axis between each point, starting from 0.
  116. Defaults to 1.0.
  117. This only applies to the custom profile.
  118. .TP 8
  119. .B \-\-set\-custom\-type=[fallback|motion|scroll]
  120. Sets the type of the custom acceleration function.
  121. Defaults to fallback.
  122. This only applies to the custom profile.
  123. .TP 8
  124. .B \-\-set\-eraser\-button\-button=[BTN_STYLUS|BTN_STYLUS2|BTN_STYLUS3]
  125. Sets the eraser button button to the given tablet tool button. Only
  126. takes effect if combined with
  127. .B \-\-set\-eraser\-button\-mode=on\-button\-down.
  128. .TP 8
  129. .B \-\-set\-eraser\-button\-mode=[default|on-button-down]
  130. Sets the eraser button mode to the given mode.
  131. .TP 8
  132. .B \-\-set\-pressure\-range=<min>:<max>
  133. Set the tablet tool pressure range to min:max. min and max must be in range [0.0, 1.0].
  134. .TP 8
  135. .B \-\-set\-profile=[adaptive|flat|custom]
  136. Set pointer acceleration profile
  137. .TP 8
  138. .B \-\-set\-rotation\-angle=<degrees>
  139. Set the rotation angle in degrees (0 to 360).
  140. .TP 8
  141. .B \-\-set\-scroll\-button=BTN_MIDDLE
  142. Set the button to the given button code
  143. .TP 8
  144. .B \-\-set\-scroll\-method=[none|twofinger|edge|button]
  145. Set the desired scroll method
  146. .TP 8
  147. .B \-\-set\-sendevents=[disabled|enabled|disabled-on-external-mouse]
  148. Set the given sendevents mode. This option overrides
  149. \fB\-\-disable-sendevents="pattern"\fR for any devices it matches
  150. via the \fB\-\-apply-to="pattern"\fR option.
  151. .TP 8
  152. .B \-\-set\-speed=<value>
  153. Set pointer acceleration speed. The allowed range is [-1, 1].
  154. This only applies to the flat or adaptive profile.
  155. .TP 8
  156. .B \-\-set\-tap\-map=[lrm|lmr]
  157. Set button mapping for tapping
  158. .SH NOTES
  159. .PP
  160. Events shown by this tool may not correspond to the events seen by a
  161. different user of libinput. This tool initializes a separate context.
  162. .SH LIBINPUT
  163. Part of the
  164. .B libinput(1)
  165. suite