Having some issues with power button being the latching switch and button 2 as aux.
Using this configuration but the aux button acts as a power button.
#ifdef CONFIG_BUTTONS
LatchingButton PowerButton(BUTTON_POWER, powerButtonPin, “pow”);
Button AuxButton(BUTTON_AUX, auxPin, “aux”);
#endif
No shorts. I checked. I tried reprogramming and no saved state listed. It Keeps using both buttons as power…but the latching effect does work for button 1.