diff options
author | Riku Isokoski <riksu9000@gmail.com> | 2021-08-28 17:19:49 +0300 |
---|---|---|
committer | Riku Isokoski <riksu9000@gmail.com> | 2021-08-28 17:19:49 +0300 |
commit | d2d97319e0252ebd90fe1bbf4d3c7d8539711d56 (patch) | |
tree | 6a9b7cb5e194f90263933e091b0718636c910187 /src/drivers/Cst816s.h | |
parent | 780a811f0559a9abd000f36d3fe49cbbb233b632 (diff) | |
parent | fab49f8557ef8ff38fe4f607e33b18fb5a1aeb9a (diff) |
Merge branch 'develop' into update_touch_driver
Diffstat (limited to 'src/drivers/Cst816s.h')
-rw-r--r-- | src/drivers/Cst816s.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/drivers/Cst816s.h b/src/drivers/Cst816s.h index 5b2e4e46..a1c1214e 100644 --- a/src/drivers/Cst816s.h +++ b/src/drivers/Cst816s.h @@ -19,9 +19,8 @@ namespace Pinetime { struct TouchInfos { uint16_t x = 0; uint16_t y = 0; - uint8_t action = 0; - bool touching = false; Gestures gesture = Gestures::None; + bool touching = false; bool isValid = true; }; @@ -52,7 +51,7 @@ namespace Pinetime { // Unused/Unavailable commented out static constexpr uint8_t gestureIndex = 1; static constexpr uint8_t touchPointNumIndex = 2; - static constexpr uint8_t touchEventIndex = 3; + //static constexpr uint8_t touchEventIndex = 3; static constexpr uint8_t touchXHighIndex = 3; static constexpr uint8_t touchXLowIndex = 4; //static constexpr uint8_t touchIdIndex = 5; |