This commit is contained in:
Brian Hrebec 2024-04-01 16:48:04 -05:00
parent 9f4634735b
commit f4e95668ce
4 changed files with 19 additions and 19 deletions

View file

@ -21,6 +21,13 @@ struct icm_result_t {
float roll;
};
enum Slider : uint8_t {
SLIDER_PITCH_BEND = 0,
SLIDER_EXTRA = 1,
SLIDER_LEVER = 2,
};
void initHardware();
void updateFilters(preset_t &preset);
bool checkButtonState(uint8_t mask); // return true if the given buttons are pressed
@ -107,10 +114,4 @@ icm_result_t readICM();
#define leverSliderPin2 8
#define extraSliderPin1 2
#define extraSliderPin2 3
enum Slider : uint8_t {
SLIDER_PITCH_BEND = 0,
SLIDER_EXTRA = 1,
SLIDER_LEVER = 2,
};
#endif