rearrange hello face, documentation reasons
This commit is contained in:
parent
9628379382
commit
311cfdb5f4
@ -42,18 +42,18 @@ bool hello_there_face_loop(movement_event_t event, movement_settings_t *settings
|
|||||||
state->current_word = (state->current_word + 1) % 2;
|
state->current_word = (state->current_word + 1) % 2;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case EVENT_MODE_BUTTON_UP:
|
|
||||||
// when the user presses 'mode', we tell movement to move to the next watch face.
|
|
||||||
// movement will call our resign function, clear the screen, and transfer control
|
|
||||||
// to the next watch face in the list.
|
|
||||||
movement_move_to_next_face();
|
|
||||||
break;
|
|
||||||
case EVENT_LIGHT_BUTTON_UP:
|
case EVENT_LIGHT_BUTTON_UP:
|
||||||
// when the user presses 'light', we illuminate the LED. We could override this if
|
// when the user presses 'light', we illuminate the LED. We could override this if
|
||||||
// our UI needed an additional button for input, consuming the light button press
|
// our UI needed an additional button for input, consuming the light button press
|
||||||
// but not illuminating the LED.
|
// but not illuminating the LED.
|
||||||
movement_illuminate_led();
|
movement_illuminate_led();
|
||||||
break;
|
break;
|
||||||
|
case EVENT_MODE_BUTTON_UP:
|
||||||
|
// when the user presses 'mode', we tell movement to move to the next watch face.
|
||||||
|
// movement will call our resign function, clear the screen, and transfer control
|
||||||
|
// to the next watch face in the list.
|
||||||
|
movement_move_to_next_face();
|
||||||
|
break;
|
||||||
case EVENT_ALARM_BUTTON_UP:
|
case EVENT_ALARM_BUTTON_UP:
|
||||||
// when the user presses 'alarm', we toggle the state of the animation. If animating,
|
// when the user presses 'alarm', we toggle the state of the animation. If animating,
|
||||||
// we stop; if stopped, we resume.
|
// we stop; if stopped, we resume.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user