Skip to content

Commit

Permalink
Merge pull request #13 from cfalas/stable
Browse files Browse the repository at this point in the history
feat: increase pen max resolution
  • Loading branch information
ABeltramo authored Aug 11, 2024
2 parents 56bc064 + bb8bbd3 commit 25e7525
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/uinput/pentablet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ static const std::map<int, int> 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;

Expand Down

0 comments on commit 25e7525

Please sign in to comment.