Last active
December 12, 2020 04:52
-
-
Save KmolYuan/56fdfbf9979573c71628c0897b539d14 to your computer and use it in GitHub Desktop.
Huion tablet using Wacom driver in Linux Krita.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Wait for the GUI to be ready | |
while [[ ! $(pgrep plasmashell) ]]; do sleep 1; done | |
xsetwacom set "HID 256c:006d Pad pad" button 1 key 2 | |
xsetwacom set "HID 256c:006d Pad pad" button 2 key Ctrl S | |
xsetwacom set "HID 256c:006d Pad pad" button 3 key - | |
xsetwacom set "HID 256c:006d Pad pad" button 8 key + | |
xsetwacom set "HID 256c:006d Pad pad" button 9 key Ctrl Shift Z | |
xsetwacom set "HID 256c:006d Pad pad" button 10 key Ctrl Z | |
xsetwacom set "HID 256c:006d Pad pad" button 11 key Ctrl | |
xsetwacom set "HID 256c:006d Pad pad" button 12 key Shift | |
xsetwacom set "HID 256c:006d stylus" MapToOutput HEAD-0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment