How to add support for a new tablet #3213
-
Hello. I became the owner of a Huion inspiroy 2 m (H951P) graphics tablet and I am not very happy with the proprietary driver offered by Huion. I would like to help add support for this tablet to the driver. Having read the source code a little, I came to the conclusion that in order for you to support you need to create a configuration file. Can you describe how the process of adding support for a new tablet occurs and where to get information for the configuration file? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is no documentation for creating configurations at the moment and the the process isn't exactly very streamlined to begin with, however, a configuration already exists for this tablet and its pending release into a new version, see #2927. You may use this file, but on
You should also replace the just replace it with the "code" above and place the finished file in in Its worth noting that the group keys will work as regular auxiliary buttons, but if the configuration doesn't work well at all you will either need to wait for the next release of OpenTabletDriver, backport the changes yourself or use a development build which is very experimental and is unstable. |
Beta Was this translation helpful? Give feedback.
There is no documentation for creating configurations at the moment and the the process isn't exactly very streamlined to begin with, however, a configuration already exists for this tablet and its pending release into a new version, see #2927.
You may use this file, but on
0.6.x
pen buttons are defined differently. So you need to change the pen button definition to this:You should also replace the
ReportParser
with"OpenTabletDriver.Configurations.Parsers.UCLogic.UCLogicTiltReportParser
.just replace it with the "code" above and place the finished file in in
%localappdata%\OpenTabletDrive…