fork/GramFirmware
git clone https://git.julia.blue/fork/GramFirmware
818d962
gram
1#ifndef _MODES_MELEE20BUTTON_HPP 2#define _MODES_MELEE20BUTTON_HPP 3 4#include "core/ControllerMode.hpp" 5#include "core/state.hpp" 6 7#include <config.pb.h> 8 9class Melee20Button :public ControllerMode { 10public : 11Melee20Button (); 12void SetConfig (GameModeConfig & config ,const MeleeOptions options ); 13bool isMelee () {return true;}; 14 15protected : 16void UpdateDigitalOutputs (const InputState & inputs ,OutputState & outputs ); 17void UpdateAnalogOutputs (const InputState & inputs ,OutputState & outputs ); 18 19private : 20MeleeOptions _options ; 21 22void HandleSocd (InputState & inputs ); 23}; 24 25#endif