From 445e0abb0b570dc485614e9d8deb3e6ae68934ae Mon Sep 17 00:00:00 2001 From: David Capello Date: Sat, 30 May 2020 16:54:35 -0300 Subject: [PATCH] [win] Add Tablet section on Edit > Preferences and restore old wintab behavior Now on Windows it's more clear the different APIs to use (Windows Pointer vs Wintab), the Wintab API works as before (generates mouse events on WM_MOUSE message instead for each packet), and there is a new Wintab mode to create events directly from packets (still a little buggy with some tablets, but might be useful in other tablets to get more precision for fast strokes). --- data/pref.xml | 3 + data/strings/en.ini | 9 +-- data/widgets/options.xml | 29 ++++++--- laf | 2 +- src/app/app.cpp | 9 ++- src/app/commands/cmd_options.cpp | 100 +++++++++++++++++++++++++++++-- 6 files changed, 132 insertions(+), 20 deletions(-) diff --git a/data/pref.xml b/data/pref.xml index b91a6039e..06e8712a4 100644 --- a/data/pref.xml +++ b/data/pref.xml @@ -184,6 +184,9 @@