From 1a425cce587506889a726a9ebd7aa648a8f31c5f Mon Sep 17 00:00:00 2001 From: Th3maz1ng Date: Sun, 1 Oct 2023 19:40:05 +0200 Subject: [PATCH] Now vibrating the watch on a menu item click if it is configured to do so --- src/W800_SDK_v1.00.10/app/gfx/menu_screen.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/W800_SDK_v1.00.10/app/gfx/menu_screen.c b/src/W800_SDK_v1.00.10/app/gfx/menu_screen.c index 6e0f913..1ed510a 100644 --- a/src/W800_SDK_v1.00.10/app/gfx/menu_screen.c +++ b/src/W800_SDK_v1.00.10/app/gfx/menu_screen.c @@ -15,6 +15,9 @@ static void menu_item_cb(lv_event_t *e) uint32_t icon_id = (uint32_t)e->user_data; LV_LOG_USER("Menu icon pressed : %u", icon_id); + // Give some user feedback that an item was clicked + common_screen_onclick_vibration(); + switch(icon_id) { case 0: