joseluis / huion-linux-drivers

Linux user-space drivers for Huion Graphic Tablets
MIT License
168 stars 95 forks source link

Huion Kamvas pro 13 with Raspberry Pi4 #80

Open obook opened 4 years ago

obook commented 4 years ago

1/ Install uclogic

sudo apt install make automake gcc pkg-config libusb-1.0-0-dev

git clone https://github.com/DIGImend/uclogic-tools cd uclogic-tools/ autoreconf -i -f && ./configure --prefix=/usr/local/ && make sudo make install

2/ Install Python3 tools

sudo apt install xinput xserver-xorg-input-evdev python3-evdev python3-usb xdotool libnotify-bin arandr python3-numexpr

3/ Install Xorg device

sudo vi /usr/share/X11/xorg.conf.d/70-evdev-tablet.conf

Section "InputClass" Identifier "evdev tablet catchall" MatchIsTablet "on" MatchDevicePath "/dev/input/event*" Driver "evdev" EndSection

4/ Configuration file config.ini

current_tablet = [tablet_gt133] current_monitor_setup = [monitor_1] ... enable_calibration = true calibrate_min_x = 250 calibrate_max_x = 58250 # diminuer = curseur vers la droite calibrate_min_y = 300 calibrate_max_y = 33400 # diminuer = curseur vers le bas