kurikaesu / userspace-tablet-driver-daemon

Linux device drivers for non-wacom (XP-Pen, Huion, Gaomon) graphics tablets and pen displays
GNU General Public License v3.0
65 stars 16 forks source link

Add "-fsigned-char" to compiler flags, fixes bugs when compiling for ARM #81

Closed retrotails closed 11 months ago

retrotails commented 11 months ago

char is unsigned by default on ARM, unlike x86, which causes a few problems such as tilt values being wildly incorrect. technically, the "correct" way to fix this is to be explicit and replace all char with signed char, but this compiler flag works too.

kurikaesu commented 11 months ago

This works for me! Interesting to know how the different platform compilers behave.