From 3a4da9381eccf6273ef456c458adbb62127970db Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sat, 17 Jan 2026 19:58:21 -0500 Subject: [PATCH] surfansf28: Correct touchscreen operation Based on what's committed I don't see how it could have ever worked. Change-Id: I3c28e2c8791e75c494474183d1347426de9804fc --- firmware/export/config/surfansf28.h | 2 +- firmware/target/hosted/surfans/button-f28.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/export/config/surfansf28.h b/firmware/export/config/surfansf28.h index a86ee8f5eb..dad453fd32 100644 --- a/firmware/export/config/surfansf28.h +++ b/firmware/export/config/surfansf28.h @@ -30,7 +30,7 @@ #define CONFIG_KEYPAD SURFANS_F28_PAD /* define this if the target has volume keys which can be used in the lists */ -#define HAVE_VOLUME_IN_LIST +//#define HAVE_VOLUME_IN_LIST #define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE diff --git a/firmware/target/hosted/surfans/button-f28.c b/firmware/target/hosted/surfans/button-f28.c index 65c0173474..c066350f98 100644 --- a/firmware/target/hosted/surfans/button-f28.c +++ b/firmware/target/hosted/surfans/button-f28.c @@ -47,7 +47,7 @@ int button_map(int keycode) return BUTTON_PREV; case KEY_POWER: return BUTTON_POWER; - case KEY_KPMINUS: + case BTN_TOUCH: return BUTTON_TOUCH; default: return 0;