Skip to content

artixnous/veikk-s640-driver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Veikk S640 Drawing Tablet driver for Linux

Veikk S640 Tablet Driver "Hello World" with GIMP and Krita

v1.0

Note: Pen capabilities may also work on the Veikk A30 and A50 as it is identical to the S640, but the author of this repo does not own these devices to verify. Additional capabilities for other devices (e.g., tablet buttons) have yet to be added.

A simple driver for the Veikk S640 drawing tablet, using the usbhid HID API. This draws heavily off of the Wacom driver, and is simplified to tailor to the S640's capabilities.

The driver interfaces (absolute) cursor movement, pressure sensitivity, and the two stylus buttons. Full 32768x32768 cursor position sensitivity and 8192-level pressure sensitivity are included.

I also wrote a blog post about the development of this driver, which also acts as a no-prior-knowledge-necessary tutorial for writing Linux drivers. Check it out!


Setup instructions

Run the install instructions, and the driver should be set up! Woo hoo!

Check out the issues tab for known setup issues and solutions.


Install instructions

Make sure you have make and the appropriate linux headers installed (linux-headers-$(uname -r) on Ubuntu, linux-headers on Arch). See this for more details.

make
sudo make install clean

Uninstall instructions

sudo make uninstall

Future updates

  • Visual configuration interface (e.g., pressure sensitivity mapping)
  • Integration for more Veikk devices
  • Signing the module to allow with Safe Boot enabled (See this issue)

Disclaimers

This was hastily tailored for the S640 only (the author of this package can only afford the cheapest tablet), but PRs for other Veikk tablets are very welcome. It's reported that pen capabilities work for the A50 as well.

This is also my first Linux driver. If there are optimizations or conventions that would be optimal to follow, please let me know or create a PR.

I am also not an artist. My sister is the artist, and this is her tablet. If any of the input mappings are incorrect, or if there are any useful input mappings to implement for some artistic reason I wouldn't know, please reach out or make a PR.

About

Driver for the Veikk S640 drawing tablet

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 87.3%
  • Makefile 12.7%