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:
@@ -894,11 +894,22 @@ void check_intmodule_heartbeat()
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(HARDWARE_TOUCH)
|
||||
struct TouchState simTouchState = {};
|
||||
bool simTouchOccured = false;
|
||||
|
||||
bool touchPanelEventOccured()
|
||||
{
|
||||
if(simTouchOccured)
|
||||
{
|
||||
simTouchOccured = false;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void touchPanelRead()
|
||||
struct TouchState touchPanelRead()
|
||||
{
|
||||
return simTouchState;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user