1
0

trackpoints.rst 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. .. _trackpoints:
  2. ==============================================================================
  3. Trackpoints and Pointing Sticks
  4. ==============================================================================
  5. This page provides an overview of trackpoint handling in libinput, also
  6. referred to as Pointing Stick or Trackstick. The device itself is usually a
  7. round plastic stick between the G, H and B keys with a set of buttons below
  8. the space bar.
  9. .. figure:: button-scrolling.svg
  10. :align: center
  11. A trackpoint
  12. libinput always treats the buttons below the space bar as the buttons that
  13. belong to the trackpoint even on the few laptops where the buttons are not
  14. physically wired to the trackpoint device anyway, see :ref:`t440_support`.
  15. .. _trackpoint_buttonscroll:
  16. ------------------------------------------------------------------------------
  17. Button scrolling on trackpoints
  18. ------------------------------------------------------------------------------
  19. Trackpoint devices have :ref:`button_scrolling` enabled by default. This may
  20. interfere with middle-button dragging, if middle-button dragging is required
  21. by a user then button scrolling must be disabled.
  22. .. _trackpoint_range:
  23. ------------------------------------------------------------------------------
  24. Motion range on trackpoints
  25. ------------------------------------------------------------------------------
  26. It is difficult to associate motion on a trackpoint with a physical
  27. reference. Unlike mice or touchpads where the motion can be
  28. measured in mm, the trackpoint only responds to pressure. Without special
  29. equipment it is impossible to measure identical pressure values across
  30. multiple laptops.
  31. The values provided by a trackpoint are motion deltas, usually corresponding
  32. to the pressure applied to the trackstick. For example, pressure towards the
  33. screen on a laptop provides negative y deltas. The reporting rate increases
  34. as the pressure increases and once events are reported at the maximum rate,
  35. the delta values increase. The figure below shows a rough illustration of
  36. this concept. As the pressure
  37. decreases, the delta decrease first, then the reporting rate until the
  38. trackpoint is in a neutral state and no events are reported. Trackpoint data
  39. is hard to generalize, see
  40. `Observations on trackpoint input data
  41. <https://who-t.blogspot.com/2018/06/observations-on-trackpoint-input-data.html>`_
  42. for more details.
  43. .. figure:: trackpoint-delta-illustration.svg
  44. :align: center
  45. Illustration of the relationship between reporting rate and delta values on a trackpoint
  46. The delta range itself can vary greatly between laptops, some devices send a
  47. maximum delta value of 30, others can go beyond 100. However, the useful
  48. delta range is a fraction of the maximum range. It is uncomfortable to exert
  49. sufficient pressure to even get close to the maximum ranges.
  50. libinput provides a :ref:`Magic Trackpoint Multiplier
  51. <trackpoint_multiplier>` to normalize the trackpoint input data.