MCPcopy Create free account
hub / github.com/TeleHuman/TextOp / update

Method update

TextOpDeploy/src/textop_ctrl/include/common/gamepad.hpp:55–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 Button() {}
54
55 void update(bool state) {
56 on_press = state ? state != pressed : false;
57 on_release = state ? false : state != pressed;
58 pressed = state;
59 }
60
61 bool pressed = false;
62 bool on_press = false;

Callers 10

LowStateHandlerMethod · 0.45
updateMethod · 0.45
run_simulatorFunction · 0.45
run_simulatorFunction · 0.45
run_simulatorFunction · 0.45
forward_kinematicsMethod · 0.45
report_argsMethod · 0.45
post_stepMethod · 0.45
calc_lossMethod · 0.45
calc_lossMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected