tablet config
This commit is contained in:
parent
139aac8fef
commit
42dd72f1d4
3 changed files with 151 additions and 4 deletions
143
config/tablet.json
Normal file
143
config/tablet.json
Normal file
|
|
@ -0,0 +1,143 @@
|
|||
{
|
||||
"Revision": "0.6.6.2",
|
||||
"Profiles": [
|
||||
{
|
||||
"Tablet": "Huion H1060P",
|
||||
"OutputMode": {
|
||||
"Path": "OpenTabletDriver.Desktop.Output.LinuxArtistMode",
|
||||
"Settings": [],
|
||||
"Enable": true
|
||||
},
|
||||
"Filters": [],
|
||||
"AbsoluteModeSettings": {
|
||||
"Display": {
|
||||
"Width": 1920.0,
|
||||
"Height": 1080.0,
|
||||
"X": 960.0,
|
||||
"Y": 540.0,
|
||||
"Rotation": 0.0
|
||||
},
|
||||
"Tablet": {
|
||||
"Width": 254.0,
|
||||
"Height": 158.75,
|
||||
"X": 127.0,
|
||||
"Y": 79.375,
|
||||
"Rotation": 0.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.KeyBinding",
|
||||
"Settings": [
|
||||
{
|
||||
"Property": "Key",
|
||||
"Value": "E"
|
||||
}
|
||||
],
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"Path": "OpenTabletDriver.Desktop.Binding.LinuxArtistMode.LinuxArtistModeButtonBinding",
|
||||
"Settings": [
|
||||
{
|
||||
"Property": "Button",
|
||||
"Value": "Pen Button 1"
|
||||
}
|
||||
],
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"AuxButtons": [
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
{
|
||||
"Path": "OpenTabletDriver.Desktop.Binding.MultiKeyBinding",
|
||||
"Settings": [
|
||||
{
|
||||
"Property": "Keys",
|
||||
"Value": "Control+Plus"
|
||||
}
|
||||
],
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"Path": "OpenTabletDriver.Desktop.Binding.MultiKeyBinding",
|
||||
"Settings": [
|
||||
{
|
||||
"Property": "Keys",
|
||||
"Value": "Control+Subtract"
|
||||
}
|
||||
],
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"Path": "OpenTabletDriver.Desktop.Binding.KeyBinding",
|
||||
"Settings": [
|
||||
{
|
||||
"Property": "Key",
|
||||
"Value": "Space"
|
||||
}
|
||||
],
|
||||
"Enable": true
|
||||
},
|
||||
null,
|
||||
{
|
||||
"Path": "OpenTabletDriver.Desktop.Binding.MultiKeyBinding",
|
||||
"Settings": [
|
||||
{
|
||||
"Property": "Keys",
|
||||
"Value": "Control+Z"
|
||||
}
|
||||
],
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"Path": "OpenTabletDriver.Desktop.Binding.MultiKeyBinding",
|
||||
"Settings": [
|
||||
{
|
||||
"Property": "Keys",
|
||||
"Value": "Control+Shift+Z"
|
||||
}
|
||||
],
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"MouseButtons": [],
|
||||
"MouseScrollUp": null,
|
||||
"MouseScrollDown": null,
|
||||
"DisablePressure": false,
|
||||
"DisableTilt": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"LockUsableAreaDisplay": true,
|
||||
"LockUsableAreaTablet": true,
|
||||
"Tools": []
|
||||
}
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
rebuild-test = "sudo nixos-rebuild test --flake ~/Documents/Nix/pc-config/nixos#daniel";
|
||||
rebuild-dry = "nixos-rebuild dry-run --flake ~/Documents/Nix/pc-config/nixos#daniel";
|
||||
|
||||
to-public = "ssh -r danielk.me:/var/www/danielk.me/public";
|
||||
cppublic = "scp \"!*\" danielk.me:/var/www/danielk.me/public";
|
||||
};
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
|
|
|||
|
|
@ -7,8 +7,6 @@
|
|||
localsend
|
||||
krita
|
||||
aseprite
|
||||
godot
|
||||
godotPackages.export-template
|
||||
audacity
|
||||
steam
|
||||
libreoffice
|
||||
|
|
@ -20,6 +18,12 @@
|
|||
programs.zsh.enable = true;
|
||||
programs.git.enable = true;
|
||||
programs.firefox.enable = true;
|
||||
programs.direnv.enable = true;
|
||||
programs.direnv.nix-direnv.enable = true;
|
||||
|
||||
hardware.opentabletdriver.enable = true;
|
||||
hardware.uinput.enable = true;
|
||||
boot.kernelModules = [ "uinput" ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
neovim
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue