mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-30 09:37:53 -04:00
Add code for feature "Disable Touch"
This commit is contained in:
parent
ea251a87c0
commit
96879d3664
4 changed files with 12 additions and 1 deletions
|
@ -109,7 +109,7 @@ void Manager::feed(const Frame& frame) {
|
|||
|
||||
switch(state) {
|
||||
case State::NoTouch:
|
||||
if( touch_stable && touch_pressure ) {
|
||||
if( touch_stable && touch_pressure ) {//Add code for touch disabled
|
||||
if( point_stable() ) {
|
||||
state = State::TouchDetected;
|
||||
touch_started();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue