From bb8bbd3f498a7a597394552316bc8dc054a90649 Mon Sep 17 00:00:00 2001 From: Christos Falas Date: Sat, 10 Aug 2024 20:21:56 +0100 Subject: [PATCH] feat: increase pen max resolution --- src/uinput/pentablet.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/uinput/pentablet.cpp b/src/uinput/pentablet.cpp index 4f685f9..aa98e81 100644 --- a/src/uinput/pentablet.cpp +++ b/src/uinput/pentablet.cpp @@ -21,9 +21,9 @@ static const std::map btn_to_linux = { {PenTablet::TERTIARY, BTN_STYLUS3}, }; -static constexpr int MAX_X = 1920; -static constexpr int MAX_Y = 1080; -static constexpr int PRESSURE_MAX = 253; +static constexpr int MAX_X = 19200; +static constexpr int MAX_Y = 10800; +static constexpr int PRESSURE_MAX = 4096; static constexpr int DISTANCE_MAX = 1024; static constexpr int RESOLUTION = 28;