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 /meson.build | |
parent | 74335c6fd697a60976d52786598a7dd4ba17405a (diff) |
Implement tablet tool pressure range support
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 4c2a821..101ee89 100644 --- a/meson.build +++ b/meson.build @@ -57,6 +57,10 @@ if cc.has_function('libinput_config_accel_create', dependencies: dep_libinput) config_h.set('HAVE_LIBINPUT_CUSTOM_ACCEL', 1) endif +if cc.has_function('libinput_tablet_tool_config_pressure_range_set', + dependencies: dep_libinput) + config_h.set('HAVE_LIBINPUT_PRESSURE_RANGE', 1) +endif dir_headers = get_option('sdkdir') if dir_headers == '' |