TouchHandler: default buttonUnlocksOn to false

This commit is contained in:
Reinhold Gschweicher 2024-09-30 21:22:20 +02:00
parent 8f3b7b1f41
commit f0211e5fcb

View file

@ -24,7 +24,7 @@ namespace Pinetime {
bool touching; bool touching;
}; };
TouchProcessReply ProcessTouchInfo(Drivers::Cst816S::TouchInfos info, bool buttonUnlocksOn); TouchProcessReply ProcessTouchInfo(Drivers::Cst816S::TouchInfos info, bool buttonUnlocksOn = false);
bool IsTouching() const { bool IsTouching() const {
return currentTouchPoint.touching; return currentTouchPoint.touching;