mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-28 03:59:58 -07:00
Bozo moment
This commit is contained in:
@@ -61,13 +61,18 @@ bool desktop_main_input_callback(InputEvent* event, void* context) {
|
|||||||
main_view->callback(DesktopMainEventOpenFavoritePrimary, main_view->context);
|
main_view->callback(DesktopMainEventOpenFavoritePrimary, main_view->context);
|
||||||
}
|
}
|
||||||
// Right key is handled by animation manager
|
// Right key is handled by animation manager
|
||||||
} else if(event->type == InputTypeLong) {
|
} else if(event->type == InputTypeLong) {
|
||||||
if(event->key == InputKeyDown) {
|
if(event->key == InputKeyOk) {
|
||||||
main_view->callback(DesktopMainEventOpenDebug, main_view->context);
|
main_view->callback(DesktopAnimationEventNewIdleAnimation, main_view->context);
|
||||||
} else if(event->key == InputKeyLeft) {
|
} else if(event->key == InputKeyUp) {
|
||||||
main_view->callback(DesktopMainEventOpenFavoriteSecondary, main_view->context);
|
main_view->callback(DesktopMainEventOpenFavoriteSecondary, main_view->context);
|
||||||
|
} else if(event->key == InputKeyDown) {
|
||||||
|
main_view->callback(DesktopMainEventOpenFavoritePrimary, main_view->context);
|
||||||
|
} else if(event->key == InputKeyLeft) {
|
||||||
|
main_view->callback(
|
||||||
|
DesktopMainEventOpenSubRemote, main_view->context); // OPENS SUBGHZ REMOTE
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if(event->key == InputKeyBack) {
|
if(event->key == InputKeyBack) {
|
||||||
if(event->type == InputTypePress) {
|
if(event->type == InputTypePress) {
|
||||||
|
|||||||
Reference in New Issue
Block a user