surfansf28: Correct touchscreen operation

Based on what's committed I don't see how it could have ever worked.

Change-Id: I3c28e2c8791e75c494474183d1347426de9804fc
This commit is contained in:
Solomon Peachy 2026-01-17 19:58:21 -05:00
parent f0d99391de
commit 3a4da9381e
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@
#define CONFIG_KEYPAD SURFANS_F28_PAD #define CONFIG_KEYPAD SURFANS_F28_PAD
/* define this if the target has volume keys which can be used in the lists */ /* 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 #define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE

View file

@ -47,7 +47,7 @@ int button_map(int keycode)
return BUTTON_PREV; return BUTTON_PREV;
case KEY_POWER: case KEY_POWER:
return BUTTON_POWER; return BUTTON_POWER;
case KEY_KPMINUS: case BTN_TOUCH:
return BUTTON_TOUCH; return BUTTON_TOUCH;
default: default:
return 0; return 0;