Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for issue #414 (update rotaryEventIn.h) #439

Merged
merged 1 commit into from
Nov 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/menuIO/rotaryEventIn.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,14 @@ template<class T> constexpr inline T& operator^= (T& a, T b) { return (T&)((int&
BUTTON_DOUBLE_CLICKED = 1 << 1,
BUTTON_LONG_PRESSED = 1 << 2,

ROTARY_CW = 1 << 3,
ROTARY_CW = 1 << 5, // fix for issue #414
ROTARY_CCW = 1 << 4,
};
/*
EventType values should be different for codes defined as:
const navCodesDef Menu::defaultNavCodes (menuBase.cpp file)
and special cases in textField::parseInput (items.cpp file) function
*/

EventType config;
EventType events; // we could do a fifo if we miss events
Expand Down