Removing mlog, portability across platforms is a pain
Inverting pin when using pedal to fit actual layout