Skip to content

Commit 25e7525

Browse files
authored
Merge pull request #13 from cfalas/stable
feat: increase pen max resolution
2 parents 56bc064 + bb8bbd3 commit 25e7525

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/uinput/pentablet.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ static const std::map<int, int> btn_to_linux = {
2121
{PenTablet::TERTIARY, BTN_STYLUS3},
2222
};
2323

24-
static constexpr int MAX_X = 1920;
25-
static constexpr int MAX_Y = 1080;
26-
static constexpr int PRESSURE_MAX = 253;
24+
static constexpr int MAX_X = 19200;
25+
static constexpr int MAX_Y = 10800;
26+
static constexpr int PRESSURE_MAX = 4096;
2727
static constexpr int DISTANCE_MAX = 1024;
2828
static constexpr int RESOLUTION = 28;
2929

0 commit comments

Comments
 (0)