fork/GramFirmware
git clone https://git.julia.blue/fork/GramFirmware
3ab6a9b
v0.1.0
1#ifndef _INPUT_NUNCHUKINPUT_HPP 2#define _INPUT_NUNCHUKINPUT_HPP 3 4#include "core/InputSource.hpp" 5 6#include <ArduinoNunchuk.hpp> 7#include <Wire.h> 8 9class NunchukInput :public InputSource { 10public : 11NunchukInput (int detect_pin = -1 ); 12 ~NunchukInput (); 13InputScanSpeed ScanSpeed (); 14void UpdateInputs (InputState & inputs ); 15 16protected : 17ArduinoNunchuk * _nunchuk ; 18}; 19 20#endif