25 #ifndef ACE_BUTTON_LADDER_BUTTON_CONFIG_H
26 #define ACE_BUTTON_LADDER_BUTTON_CONFIG_H
28 #include "ButtonConfig.h"
31 class LadderButtonConfig_extractIndex;
33 namespace ace_button {
62 uint8_t numButtons,
AceButton*
const buttons[],
63 uint8_t defaultReleasedState = HIGH);
94 return mNumLevels - 1;
108 friend class ::LadderButtonConfig_extractIndex;
118 static uint8_t extractIndex(uint8_t numLevels, uint16_t
const levels[],
124 uint8_t
const mNumLevels;
125 uint8_t
const mNumButtons;
126 uint8_t
const mPressedState;
127 uint16_t
const*
const mLevels;