There is a "Huion Driver" in the Digimend project. It works pretty fine and installation is pretty simple, really (one just have to do "make" and "sudo make install" in the directory where he stored the sources).

This driver allows for the full spatial resolution of the tablet (way finer than 2047, and it shows when you work at low zoom).

Unfortunately, I do not know how much configurable it is...

By the way, the digimend Huion driver coexist without problems with the driver for Wacom, too...