PS3 controller + RC car code update – Trim!

One of the most common question I get about my RC car code is about trimming the steering. For one such commenter I updated my code to include a trim function and sent it to him.┬áHe confirmed that it worked (I couldn’t test it myself at the time), so here it is for anyone who wants it.