Skip to content

Commit a9badfc

Browse files
authored
Update rotaryEventIn.h
fix for issue neu-rah#414
1 parent 9ef1e26 commit a9badfc

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎src/menuIO/rotaryEventIn.h‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,14 @@ template<class T> constexpr inline T& operator^= (T& a, T b) { return (T&)((int&
4242
BUTTON_DOUBLE_CLICKED = 1 << 1,
4343
BUTTON_LONG_PRESSED = 1 << 2,
4444

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

4954
EventType config;
5055
EventType events; // we could do a fifo if we miss events

0 commit comments

Comments
 (0)