diff options
author | Ryan <fauxpark@gmail.com> | 2022-11-13 10:28:11 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-12 23:28:11 +0000 |
commit | 6cc9513ab0cd5e21354c51ab83a89af9f2eb517e (patch) | |
tree | f997df9ea4a7e066b049c2e906ccb2529db6b5b7 /tmk_core/protocol/report.h | |
parent | 8cecf7fad8614de2defd43f225250186cc517f38 (diff) |
Digitizer feature improvements (#19034)
Diffstat (limited to 'tmk_core/protocol/report.h')
-rw-r--r-- | tmk_core/protocol/report.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tmk_core/protocol/report.h b/tmk_core/protocol/report.h index 8bc4a57c0c..543c44e33c 100644 --- a/tmk_core/protocol/report.h +++ b/tmk_core/protocol/report.h @@ -226,9 +226,10 @@ typedef struct { #ifdef DIGITIZER_SHARED_EP uint8_t report_id; #endif - uint8_t tip : 1; - uint8_t inrange : 1; - uint8_t pad2 : 6; + bool in_range : 1; + bool tip : 1; + bool barrel : 1; + uint8_t reserved : 5; uint16_t x; uint16_t y; } __attribute__((packed)) report_digitizer_t; |