t-watch-updates: Add canned message free text via touch keyboard and watch face frames to T-Watch S3 (#3941)

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
andrew-moroz
2024-05-23 08:21:27 -04:00
committed by GitHub
parent 1a253dccc3
commit 2f9dc813d3
8 changed files with 967 additions and 37 deletions

View File

@@ -49,6 +49,10 @@ void TouchScreenImpl1::onEvent(const TouchEvent &event)
{
InputEvent e;
e.source = event.source;
e.touchX = event.x;
e.touchY = event.y;
switch (event.touchEvent) {
case TOUCH_ACTION_LEFT: {
e.inputEvent = static_cast<char>(meshtastic_ModuleConfig_CannedMessageConfig_InputEventChar_RIGHT);