diff options
| author | JF002 <JF002@users.noreply.github.com> | 2021-08-28 13:06:03 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-28 13:06:03 (GMT) |
| commit | 969de9a8bccfa97da29de2eac61be9325dd2fdaa (patch) | |
| tree | 820a3bbe74993ff6ce6b7f430d187a397a46f363 /src/displayapp/screens/Tile.cpp | |
| parent | df8ea7fe523bb9ec0ac3e24f0b1bebe5743d90cc (diff) | |
| parent | 85c99797dad39348976d92ecf935536f362ee2c5 (diff) | |
Merge pull request #492 from Riksu9000/new_touch_handler
New touch handler
Diffstat (limited to 'src/displayapp/screens/Tile.cpp')
| -rw-r--r-- | src/displayapp/screens/Tile.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/displayapp/screens/Tile.cpp b/src/displayapp/screens/Tile.cpp index 777b5bb..2ffbfbc 100644 --- a/src/displayapp/screens/Tile.cpp +++ b/src/displayapp/screens/Tile.cpp @@ -95,6 +95,7 @@ Tile::Tile(uint8_t screenID, lv_obj_set_style_local_pad_inner(btnm1, LV_BTNMATRIX_PART_BG, LV_STATE_DEFAULT, 10); for (uint8_t i = 0; i < 6; i++) { + lv_btnmatrix_set_btn_ctrl(btnm1, i, LV_BTNMATRIX_CTRL_CLICK_TRIG); if (applications[i].application == Apps::None) { lv_btnmatrix_set_btn_ctrl(btnm1, i, LV_BTNMATRIX_CTRL_DISABLED); } |
