Home
last modified time | relevance | path

Searched refs:input_steering (Results 1 – 4 of 4) sorted by relevance

/dports/emulators/cannonball/cannonball-0.34/src/main/engine/
H A Doinputs.cpp29 input_steering = STEERING_CENTRE; in init()
62 input_steering = input.a_wheel; in tick()
86 if (input_steering > STEERING_CENTRE) input_steering = STEERING_CENTRE; in digital_steering()
88 input_steering -= steering_inc; in digital_steering()
89 if (input_steering < STEERING_MIN) input_steering = STEERING_MIN; in digital_steering()
94 if (input_steering < STEERING_CENTRE) input_steering = STEERING_CENTRE; in digital_steering()
96 input_steering += steering_inc; in digital_steering()
97 if (input_steering > STEERING_MAX) input_steering = STEERING_MAX; in digital_steering()
195 if (input_steering < STEERING_MIN) input_steering = STEERING_MIN; in adjust_inputs()
196 else if (input_steering > STEERING_MAX) input_steering = STEERING_MAX; in adjust_inputs()
[all …]
H A Doinputs.hpp31 int16_t input_steering; member in OInputs
H A Dohiscore.cpp407 int16_t steering = (oinputs.input_steering & 0xFF) - 0x80; in read_controls()
H A Doutrun.cpp291 outputs->tick(oinputs.input_steering); // Todo: Should be motor_input on real cab! in jump_table()