JonnyHaystack / HayBox

Modular cross-platform firmware for digital or mixed analog/digital game controllers
GNU General Public License v3.0
174 stars 197 forks source link

Configurator Branch - Inputs for mode change / default mode #73

Open glicnak opened 1 month ago

glicnak commented 1 month ago

I've been trying to make my own modes using the configurator branch, but I can't seem to find where to change the default modes when plugging into switch / pc (it used to be in config.cpp in setup () )... and I also can't find where to change the button inputs to change modes on the fly... There is no "mode_selection.hpp" in config... and the one in core (both src and include) doesn't seem to have this.. Any help would be appreciated!!

glicnak commented 1 month ago

Note: I am able to make a new mode and have it compile... I just don't know where to set the inputs to change to it.. also I'd want it to be the default for Xinput config, but I can't find that either :\

JonnyHaystack commented 1 month ago

You can do this through the configurator now. Hold c-down on plugin for configurator mode and see https://github.com/JonnyHaystack/haybox-cli and https://haybox.dev/proto for documentation on config format