Files
skogaby_OpeNITHM/Firmware/USBOutput.h
T
veroxzik 98e7b907d9 Fixes (again)
It didn't build but now it does
Fixed the USB def for switching between 32U4/328P
Fixes indents on all files
2019-06-24 20:44:07 -04:00

27 lines
461 B
C++

// USBOutput.h
#ifndef _USBOUTPUT_h
#define _USBOUTPUT_h
#include "Output.h"
#if defined(ARDUINO) && ARDUINO >= 100
#include "arduino.h"
#else
#include "WProgram.h"
#endif
#include <HID-Project.h>
class USBOutput : public Output
{
private:
float lastPosition;
public:
void sendKeyEvent(int key, bool pressed, bool doublePressed) override;
void sendSensorEvent(float position) override;
USBOutput();
};
#endif