fork/GramFirmware

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

CarVacrebase to configurator818d962

gram
478 B21 linesraw
1#ifndef _COMMS_DINPUTBACKEND_HPP
2#define _COMMS_DINPUTBACKEND_HPP
3
4#include "core/CommunicationBackend.hpp"
5#include "core/InputSource.hpp"
6#include "stdlib.hpp"
7
8#include <TUGamepad.hpp>
9
10class DInputBackend : public CommunicationBackend {
11  public:
12    DInputBackend(InputState &inputs, InputSource **input_sources, size_t input_source_count);
13    ~DInputBackend();
14    CommunicationBackendId BackendId();
15    void SendReport();
16
17  private:
18    TUGamepad _gamepad;
19};
20
21#endif