Skip to content

Commit

Permalink
click encoder not consuming all input
Browse files Browse the repository at this point in the history
  • Loading branch information
neu-rah committed Oct 14, 2017
1 parent f5a0e1a commit 1e14716
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/menuIO/clickEncoderIn.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ ex: -A0 means: pin A0 normally high, low when button pushed (reverse logic)
if (btn == ClickEncoder::DoubleClicked)
return options->navCodes[escCmd].ch;//menu::escCode;

btn=ClickEncoder::Open;//2017, must consume not used input to proceed

int d = pos - oldPos;
if (d <= -sensivity)
return options->navCodes[downCmd].ch;//menu::downCode;
Expand Down

0 comments on commit 1e14716

Please sign in to comment.