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