From 31b7668205c78350a6b7b3c713a6c353c72143bb Mon Sep 17 00:00:00 2001 From: Uttarayan Date: Sun, 11 Jun 2023 00:51:19 +0530 Subject: [PATCH] [feat] Add OpenTabletDriver for Linux and Use variable frame rate for hyprland --- config/OpenTabletDriver/settings.json | 82 +++++++++++++++++++++++++++ config/hypr/hyprland.conf | 1 + 2 files changed, 83 insertions(+) create mode 100644 config/OpenTabletDriver/settings.json diff --git a/config/OpenTabletDriver/settings.json b/config/OpenTabletDriver/settings.json new file mode 100644 index 00000000..2f10f38d --- /dev/null +++ b/config/OpenTabletDriver/settings.json @@ -0,0 +1,82 @@ +{ + "Profiles": [ + { + "Tablet": "Wacom CTL-472", + "OutputMode": { + "Path": "OpenTabletDriver.Desktop.Output.LinuxArtistMode", + "Settings": [], + "Enable": true + }, + "Filters": [], + "AbsoluteModeSettings": { + "Display": { + "Width": 2560.0, + "Height": 1440.0, + "X": 2720.0, + "Y": 1259.0, + "Rotation": 0.0 + }, + "Tablet": { + "Width": 152.0, + "Height": 95.0, + "X": 76.00001, + "Y": 47.500008, + "Rotation": 180.0 + }, + "EnableClipping": true, + "EnableAreaLimiting": false, + "LockAspectRatio": false + }, + "RelativeModeSettings": { + "XSensitivity": 10.0, + "YSensitivity": 10.0, + "RelativeRotation": 0.0, + "RelativeResetDelay": "00:00:00.1000000" + }, + "Bindings": { + "TipActivationThreshold": 0.0, + "TipButton": { + "Path": "OpenTabletDriver.Desktop.Binding.MouseBinding", + "Settings": [ + { + "Property": "Button", + "Value": "Left" + } + ], + "Enable": true + }, + "EraserActivationThreshold": 0.0, + "EraserButton": null, + "PenButtons": [ + { + "Path": "OpenTabletDriver.Desktop.Binding.LinuxArtistMode.LinuxArtistModeButtonBinding", + "Settings": [ + { + "Property": "Button", + "Value": "Pen Button 1" + } + ], + "Enable": true + }, + { + "Path": "OpenTabletDriver.Desktop.Binding.LinuxArtistMode.LinuxArtistModeButtonBinding", + "Settings": [ + { + "Property": "Button", + "Value": "Pen Button 2" + } + ], + "Enable": true + } + ], + "AuxButtons": [], + "MouseButtons": [], + "MouseScrollUp": null, + "MouseScrollDown": null + } + } + ], + "LockUsableAreaDisplay": false, + "LockUsableAreaTablet": true, + "Tools": [] +} \ No newline at end of file diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index 66b97f20..3a2b9f3b 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -126,3 +126,4 @@ device:epic-mouse-v1 { # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more +misc:vfr = true