fork/GramFirmware

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

CarVacrebase to configurator818d962

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