Pen tilt is 0..90 not -90..90

This commit is contained in:
Cameron Gutman committed 2023-06-25 00:24:55 -05:00
1 parent c8aac7f71c
commit 44c8b95400
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -1194,7 +1194,7 @@ int LiSendTouchEvent(uint8_t eventType, uint32_t pointerId, float x, float y, fl
int LiSendPenEvent(uint8_t eventType, uint8_t toolType, uint8_t penButtons,
float x, float y, float pressure,
uint16_t rotation, int8_t tilt) {
uint16_t rotation, uint8_t tilt) {
PPACKET_HOLDER holder;
int err;