diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2024-06-07 11:08:50 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2024-06-10 09:27:57 +0000 |
commit | 72c8eb25f80fa286d945bc5ab086ba1978446687 (patch) | |
tree | 40baebe8443c8cce13d694cc22174b47209ce063 /include/libinput-properties.h | |
parent | 74335c6fd697a60976d52786598a7dd4ba17405a (diff) |
Implement tablet tool pressure range support
Diffstat (limited to 'include/libinput-properties.h')
-rw-r--r-- | include/libinput-properties.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libinput-properties.h b/include/libinput-properties.h index d5b5197..505259f 100644 --- a/include/libinput-properties.h +++ b/include/libinput-properties.h @@ -222,6 +222,15 @@ */ #define LIBINPUT_PROP_TABLET_TOOL_PRESSURECURVE "libinput Tablet Tool Pressurecurve" +/* Tablet tool pressure range: float, 2 values, 32 bit + * Value range is [0.0, 1.0] for min and max physical pressure to map to the logical range + * Default value: 0.0 1.0 + */ +#define LIBINPUT_PROP_TABLET_TOOL_PRESSURE_RANGE "libinput Tablet Tool Pressure Range" + +/* Tablet tool pressure range: float, 2 values, 32 bit, read-only */ +#define LIBINPUT_PROP_TABLET_TOOL_PRESSURE_RANGE_DEFAULT "libinput Tablet Tool Pressure Range Default" + /* Tablet tool area ratio: CARD32, 2 values, w and h */ #define LIBINPUT_PROP_TABLET_TOOL_AREA_RATIO "libinput Tablet Tool Area Ratio" |