surfansf28: Correct touchscreen operation
rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
| Newsgroups | gmane.comp.systems.archos.rockbox.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 3a4da9381eccf6273ef456c458adbb62127970db Author: Solomon Peachy <[email protected]> Date: Sat Jan 17 19:58:21 2026 -0500 surfansf28: Correct touchscreen operation Based on what's committed I don't see how it could have ever worked. Change-Id: I3c28e2c8791e75c494474183d1347426de9804fc 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; -- rockbox-cvs mailing list [email protected] https://lists.haxx.se/mailman/listinfo/rockbox-cvs