Pedal action coding