mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-29 15:33:01 +00:00
Changing controller/keyboard binds will now apply immediately
This commit is contained in:
parent
cd913345ca
commit
1917c6231b
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ static void djui_bind_button_on_bind(struct DjuiBase* caller) {
|
||||||
djui_text_set_text(button->text, keyStr);
|
djui_text_set_text(button->text, keyStr);
|
||||||
djui_interactable_set_binding(NULL);
|
djui_interactable_set_binding(NULL);
|
||||||
play_sound(SOUND_MENU_CHANGE_SELECT, gDefaultSoundArgs);
|
play_sound(SOUND_MENU_CHANGE_SELECT, gDefaultSoundArgs);
|
||||||
|
controller_reconfigure();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void djui_bind_destroy(struct DjuiBase* base) {
|
static void djui_bind_destroy(struct DjuiBase* base) {
|
||||||
|
|
Loading…
Reference in a new issue