fork/GramFirmware

git clone https://git.julia.blue/fork/GramFirmware

Jonathan HaylettSOCD revamp (#57)1f92ae6

v0.1.1
378 B22 linesraw
1#ifndef _CORE_INPUTMODE_HPP
2#define _CORE_INPUTMODE_HPP
3
4#include "socd.hpp"
5#include "state.hpp"
6
7class InputMode {
8  public:
9    InputMode();
10    virtual ~InputMode();
11
12  protected:
13    socd::SocdPair *_socd_pairs = nullptr;
14    size_t _socd_pair_count = 0;
15
16    virtual void HandleSocd(InputState &inputs);
17
18  private:
19    socd::SocdState *_socd_states = nullptr;
20};
21
22#endif