src/gui/skydiveorbust/skydiveorbust_disciplinelist.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_sdobDisciplineListButtonSetFuncs() {
  lib_buttonsSetCallbackFunc(E_BUTTON_ROTARY_CW, &pg_sdobDisciplineListButtonRotaryCW);
  lib_buttonsSetCallbackFunc(E_BUTTON_ROTARY_CCW, &pg_sdobDisciplineListButtonRotaryCCW);
  lib_buttonsSetCallbackFunc(E_BUTTON_LEFT_RELEASED, &pg_sdobDisciplineListButtonLeftPressed);
  lib_buttonsSetCallbackFunc(E_BUTTON_RIGHT_RELEASED, &pg_sdobDisciplineListButtonRightPressed);
  lib_buttonsSetCallbackFunc(E_BUTTON_ROTARY_RELEASED, &pg_sdobDisciplineListButtonRotaryPressed);
  lib_buttonsSetCallbackFunc(E_BUTTON_LEFT_HELD, &pg_sdobDisciplineListButtonLeftHeld);
  lib_buttonsSetCallbackFunc(E_BUTTON_RIGHT_HELD, &pg_sdobDisciplineListButtonRightHeld);
}
void pg_sdobDisciplineListButtonSetFuncs ( ) { lib_buttonsSetCallbackFunc ( E_BUTTON_ROTARY_CW , & pg_sdobDisciplineListButtonRotaryCW ) ; lib_buttonsSetCallbackFunc ( E_BUTTON_ROTARY_CCW , & pg_sdobDisciplineListButtonRotaryCCW ) ; lib_buttonsSetCallbackFunc ( E_BUTTON_LEFT_RELEASED , & pg_sdobDisciplineListButtonLeftPressed ) ; lib_buttonsSetCallbackFunc ( E_BUTTON_RIGHT_RELEASED , & pg_sdobDisciplineListButtonRightPressed ) ; lib_buttonsSetCallbackFunc ( E_BUTTON_ROTARY_RELEASED , & pg_sdobDisciplineListButtonRotaryPressed ) ; lib_buttonsSetCallbackFunc ( E_BUTTON_LEFT_HELD , & pg_sdobDisciplineListButtonLeftHeld ) ; lib_buttonsSetCallbackFunc ( E_BUTTON_RIGHT_HELD , & pg_sdobDisciplineListButtonRightHeld ) ; }
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