Moved X/Y binds to extra controls menu, allowing C+Left/Right to reappear

This commit is contained in:
MysterD 2022-03-11 20:56:41 -08:00
parent 5544be21a3
commit 312c328865
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
#include "src/pc/configfile.h"
void djui_panel_controls_extra_create(struct DjuiBase* caller) {
f32 bindBodyHeight = 28 * 6 + 1 * 5;
f32 bindBodyHeight = 28 * 8 + 1 * 7;
f32 bodyHeight = bindBodyHeight + 16 + 64;
struct DjuiBase* defaultBase = NULL;
@ -21,6 +21,8 @@ void djui_panel_controls_extra_create(struct DjuiBase* caller) {
djui_bind_create(&bindBody->base, "D Down", configKeyDDown);
djui_bind_create(&bindBody->base, "D Left", configKeyDLeft);
djui_bind_create(&bindBody->base, "D Right", configKeyDRight);
djui_bind_create(&bindBody->base, "X", configKeyX);
djui_bind_create(&bindBody->base, "Y", configKeyY);
}
struct DjuiButton* buttonBack = djui_button_create(&body->base, "Back");

View File

@ -21,8 +21,6 @@ void djui_panel_controls_n64_create(struct DjuiBase* caller) {
djui_bind_create(&bindBody->base, "Right", configKeyStickRight);
djui_bind_create(&bindBody->base, "A", configKeyA);
djui_bind_create(&bindBody->base, "B", configKeyB);
djui_bind_create(&bindBody->base, "X", configKeyX);
djui_bind_create(&bindBody->base, "Y", configKeyY);
djui_bind_create(&bindBody->base, "Start", configKeyStart);
djui_bind_create(&bindBody->base, "L", configKeyL);
djui_bind_create(&bindBody->base, "R", configKeyR);