fork/GramFirmware
git clone https://git.julia.blue/fork/GramFirmware
818d962
gram
1#ifndef _MODES_MELEE18BUTTON_HPP 2#define _MODES_MELEE18BUTTON_HPP 3 4#include "core/ControllerMode.hpp" 5#include "core/state.hpp" 6 7typedef struct { 8bool crouch_walk_os = false; 9}Melee18ButtonOptions ; 10 11class Melee18Button :public ControllerMode { 12public : 13Melee18Button (Melee18ButtonOptions options = {}); 14 15private : 16Melee18ButtonOptions _options ; 17bool horizontal_socd ; 18 19void HandleSocd (InputState & inputs ); 20void UpdateDigitalOutputs ( const InputState & inputs , OutputState & outputs ); 21void UpdateAnalogOutputs ( const InputState & inputs , OutputState & outputs ); 22}; 23 24#endif