touch on/off with backlight on/off is now working for TX16s, untested, but implemented for NV14

simulator for tX16s and NV14 works
This commit is contained in:
gagarinlg
2021-11-16 11:21:04 +10:00
committed by Peter Feerick
parent ced9df9510
commit 8360434516
8 changed files with 82 additions and 58 deletions
+3 -2
View File
@@ -540,8 +540,9 @@ void checkBacklight()
resetBacklightTimeout();
}
}
#if defined(HARDWARE_TOUCH) && defined(PCBNV14)
if (touchPanelEventOccured() && (g_eeGeneral.backlightMode & e_backlight_mode_keys)) {
#if defined(HARDWARE_TOUCH) /*&& defined(PCBNV14)*/
if (MainWindow::instance()->touchEventOccured() && (g_eeGeneral.backlightMode & e_backlight_mode_keys)) {
resetBacklightTimeout();
}
#endif