ubuntu:mouse:determine_the_mouse_properties
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:mouse:determine_the_mouse_properties [2021/10/25 08:54] – peter | ubuntu:mouse:determine_the_mouse_properties [2021/10/26 13:01] (current) – peter | ||
---|---|---|---|
Line 71: | Line 71: | ||
<WRAP info> | <WRAP info> | ||
- | **NOTE: | + | **NOTE: |
+ | |||
+ | * **libinput** is an Xorg input driver based on libinput. | ||
+ | * It therefore supports all input devices that libinput can handle, including most mice, keyboards, tablets and touchscreens. | ||
</ | </ | ||
---- | ---- | ||
+ | |||
+ | ===== Descriptions of the Mouse Properties ===== | ||
+ | |||
+ | ^Property^Description^ | ||
+ | |Coordinate Transformation Matrix|This is a 3x3 coordinate transformation matrix. | ||
+ | |:::|⎡ 1 0 0 ⎤| | ||
+ | |:::|⎜ 0 1 0 ⎥| | ||
+ | |:::|⎣ 0 0 1 ⎦| | ||
+ | |libinput Accel Profiles Available|2 boolean values (8 bit, 0 or 1), in order " | ||
+ | |libinput Accel Profile Enabled|2 boolean values (8 bit, 0 or 1), in order " | ||
+ | |libinput Accel Speed|1 32-bit float value, defines the pointer speed. Value range -1, 1| | ||
+ | |libinput Button Scrolling Button|1 32-bit value. Sets the button number to use for button scrolling. This setting is independent of the scroll method, to enable button scrolling the method must be set to button-scrolling and a valid button must be set.| | ||
+ | |libinput Button Scrolling Button Lock Enabled|1 boolean value. If true, the scroll button lock is enabled. | ||
+ | |libinput Calibration Matrix|9 32-bit float values, representing a 3x3 calibration matrix, order is row 1, row 2, row 3.| | ||
+ | |libinput Click Methods Available|2 boolean values (8 bit, 0 or 1), in order " | ||
+ | |libinput Click Methods Enabled|2 boolean values (8 bit, 0 or 1), in order " | ||
+ | |libinput Drag Lock Buttons|Either one 8-bit value specifying the meta drag lock button, or a list of button pairs. See section below **Button Drag Lock** for details.| | ||
+ | |libinput Horizontal Scrolling Enabled|1 boolean value (8 bit, 0 or 1). Indicates whether horizontal scrolling events are enabled or not.| | ||
+ | |libinput Left Handed Enabled|1 boolean value (8 bit, 0 or 1). Indicates if left-handed mode is enabled or disabled.| | ||
+ | |libinput Middle Emulation Enabled|1 boolean value (8 bit, 0 or 1). Indicates if middle emulation is enabled or disabled.| | ||
+ | |libinput Natural Scrolling Enabled|1 boolean value (8 bit, 0 or 1). 1 enables natural scrolling.| | ||
+ | |libinput Rotation Angle|1 32-bit float value [0.0 to 360.0). Sets the rotation angle of the device, clockwise of its natural neutral position.| | ||
+ | |libinput Scroll Methods Available|3 boolean values (8 bit, 0 or 1), in order " | ||
+ | |libinput Scroll Method Enabled|3 boolean values (8 bit, 0 or 1), in order " | ||
+ | |libinput Scroll Pixel Distance|1 32-bit value (nonzero, with additional implementation-defined range checks). Changes the movement distance required to trigger one logical wheel click.| | ||
+ | |libinput Send Events Modes Available|2 boolean values (8 bit, 0 or 1), in order " | ||
+ | |libinput Send Events Mode Enabled|2 boolean values (8 bit, 0 or 1), in order " | ||
+ | |libinput Tablet Tool Pressurecurve|4 32-bit float values [0.0 to 1.0]. See section below **Tablet Tool Pressure Curve**.| | ||
+ | |libinput Tablet Tool Area Ratio|2 32-bit values, corresponding to width and height. Special value 0, 0 resets to the default ratio. See section below **Tablet Tool Area Ratio** for more information.| | ||
+ | |libinput Tapping Enabled|1 boolean value (8 bit, 0 or 1). 1 enables tapping.| | ||
+ | |libinput Tapping Button Mapping Enabled|2 boolean value (8 bit, 0 or 1), in order " | ||
+ | |libinput Tapping Drag Lock Enabled|1 boolean value (8 bit, 0 or 1). 1 enables drag lock during tapping.| | ||
+ | |libinput Disable While Typing Enabled|1 boolean value (8 bit, 0 or 1). Indicates if disable while typing is enabled or disabled.| | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * If a property is not listed against the device, does not imply that the feature is not available on the device. | ||
+ | * It the property is not showing, usually mean that this same option can not be changed or configured. | ||
+ | |||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Button Drag Lock ===== | ||
+ | |||
+ | Button drag lock holds a button logically down even when the button itself has been physically released since. | ||
+ | |||
+ | Button drag lock comes in two modes: | ||
+ | |||
+ | - **meta mode**: | ||
+ | * A button click in the future will keep that button held logically down until a subsequent click of that same button. | ||
+ | * The meta button events themselves are discarded. | ||
+ | * A separate meta button click is required each time a drag lock should be activated for a button in the future. | ||
+ | - **pairs mode**: | ||
+ | * On button click, the target lock button is held logically down until the next click of the same button. | ||
+ | * The button events themselves are discarded and only the target button events are sent. | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Tablet Tool Pressurecurve ===== | ||
+ | |||
+ | The pressure curve affects how stylus pressure is reported. | ||
+ | |||
+ | * By default, the hardware pressure is reported as-is. | ||
+ | * By setting a pressure curve, the feel of the stylus can be adjusted to be more like e.g. a pencil or a brush. | ||
+ | |||
+ | The pressure curve is a cubic Bezier curve, drawn within a normalized range of 0.0 to 1.0 between the four points provided. | ||
+ | |||
+ | * This normalized range is applied to the tablets pressure input so that the highest pressure maps to 1.0. | ||
+ | * The points must have increasing x coordinates, | ||
+ | * If x3 is less than 1.0, all pressure values higher than x3 are equivalent to y3. | ||
+ | |||
+ | The input for a linear | ||
+ | |||
+ | * a slightly depressed curve (firmer) might be " | ||
+ | * a slightly raised curve (softer) might be " | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Tablet Tool Area Ratio ===== | ||
+ | |||
+ | By default, a tablet tool can access the whole sensor area and the tablet area is mapped to the available screen area. | ||
+ | |||
+ | * For external tablets, the height: | ||
+ | |||
+ | To avoid this skew of input data, an area ratio may be set to match the ratio of the screen device. | ||
+ | |||
+ | * For example, a ratio of 4:3 will reduce the available area of the tablet to the largest available area with a ratio of 4:3. | ||
+ | * Events within this area will scale to the tablets announced axis range, the area ratio is thus transparent to the X server. | ||
+ | * Any events outside this area will send events equal to the maximum value of that axis. | ||
+ | * The area always starts at the devices origin in its current rotation, i.e. it takes left-handed-ness into account. | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== References ===== | ||
+ | |||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
ubuntu/mouse/determine_the_mouse_properties.1635152054.txt.gz · Last modified: 2021/10/25 08:54 by peter