24#ifndef TAPROOT_COMMAND_MAPPER_HPP_
25#define TAPROOT_COMMAND_MAPPER_HPP_
83 tap::communication::serial::Remote::SwitchState leftSwitch,
84 tap::communication::serial::Remote::SwitchState rightSwitch,
117 std::vector<CommandMapping *> commandsToRun;
Definition drivers.hpp:70
Definition command_mapper.hpp:68
mockable std::size_t getSize() const
Definition command_mapper.hpp:101
mockable void addMap(CommandMapping *mapping)
Definition command_mapper.cpp:67
mockable void handleKeyStateChange(uint16_t key, tap::communication::serial::Remote::SwitchState leftSwitch, tap::communication::serial::Remote::SwitchState rightSwitch, bool mouseL, bool mouseR)
Definition command_mapper.cpp:39
CommandMapper(Drivers *drivers)
Definition command_mapper.hpp:70
mockable const CommandMapping * getAtIndex(std::size_t index) const
Definition command_mapper.cpp:69
Definition command_mapping.hpp:48
Definition ballistics.cpp:29
tap::Drivers Drivers
Definition drivers.hpp:11
fang::Drivers & drivers
Definition robot_singleton.cpp:45
#define mockable
Wrap class functions that are not already virtual in this function if you wish to mock them.
Definition util_macros.hpp:38
#define DISALLOW_COPY_AND_ASSIGN(Typename)
Definition util_macros.hpp:27