Fix signness of pen tilt parameters

This commit is contained in:
Cameron Gutman committed 2023-06-24 15:14:17 -05:00
1 parent 812ec0e2b7
commit 5cbb6f210d
3 files changed
+4 -4

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, uint8_t tiltX, uint8_t tiltY) {
uint16_t rotation, int8_t tiltX, int8_t tiltY) {
PPACKET_HOLDER holder;
int err;