userinterface: Reverse click and double-click events (#67)

* Double-click is select
* Single-click is back
pull/69/head
Rene Stange 3 years ago committed by GitHub
parent 646c17a12b
commit f915ce6b01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/userinterface.cpp

@ -186,11 +186,11 @@ void CUserInterface::EncoderEventHandler (CKY040::TEvent Event)
break;
case CKY040::EventSwitchClick:
m_Menu.EventHandler (CUIMenu::MenuEventSelect);
m_Menu.EventHandler (CUIMenu::MenuEventBack);
break;
case CKY040::EventSwitchDoubleClick:
m_Menu.EventHandler (CUIMenu::MenuEventBack);
m_Menu.EventHandler (CUIMenu::MenuEventSelect);
break;
case CKY040::EventSwitchHold:

Loading…
Cancel
Save