src/gui/skydiveorbust/skydiveorbust_submit.c
// Setup Button Functions
// Rem out any you don't want to overwrite, only one function cb per enum
Setup Button Functions
Rem out any you don't want to overwrite, only one function cb per enum
Setup Button Functions Rem out any you don ' t want to overwrite only one function cb per enum
void pg_sdobSubmitButtonSetFuncs() {
  lib_buttonsSetCallbackFunc(E_BUTTON_ROTARY_CW, &pg_sdobSubmitButtonRotaryCW);
  lib_buttonsSetCallbackFunc(E_BUTTON_ROTARY_CCW, &pg_sdobSubmitButtonRotaryCCW);
  lib_buttonsSetCallbackFunc(E_BUTTON_LEFT_RELEASED, &pg_sdobSubmitButtonLeftPressed);
  lib_buttonsSetCallbackFunc(E_BUTTON_RIGHT_RELEASED, &pg_sdobSubmitButtonRightPressed);
  lib_buttonsSetCallbackFunc(E_BUTTON_ROTARY_RELEASED, &pg_sdobSubmitButtonRotaryPressed);
  lib_buttonsSetCallbackFunc(E_BUTTON_LEFT_HELD, &pg_sdobSubmitButtonLeftHeld);
  lib_buttonsSetCallbackFunc(E_BUTTON_RIGHT_HELD, &pg_sdobSubmitButtonRightHeld);
}
void pg_sdobSubmitButtonSetFuncs ( ) { lib_buttonsSetCallbackFunc ( E_BUTTON_ROTARY_CW , & pg_sdobSubmitButtonRotaryCW ) ; lib_buttonsSetCallbackFunc ( E_BUTTON_ROTARY_CCW , & pg_sdobSubmitButtonRotaryCCW ) ; lib_buttonsSetCallbackFunc ( E_BUTTON_LEFT_RELEASED , & pg_sdobSubmitButtonLeftPressed ) ; lib_buttonsSetCallbackFunc ( E_BUTTON_RIGHT_RELEASED , & pg_sdobSubmitButtonRightPressed ) ; lib_buttonsSetCallbackFunc ( E_BUTTON_ROTARY_RELEASED , & pg_sdobSubmitButtonRotaryPressed ) ; lib_buttonsSetCallbackFunc ( E_BUTTON_LEFT_HELD , & pg_sdobSubmitButtonLeftHeld ) ; lib_buttonsSetCallbackFunc ( E_BUTTON_RIGHT_HELD , & pg_sdobSubmitButtonRightHeld ) ; }
Setup Button Functions
Rem out any you don't want to overwrite, only one function cb per enum
Setup Button Functions Rem out any you don ' t want to overwrite only one function cb per enum