@dc42 In order to get the print head to home in the correct position (back right corner), I have the following setting in my firmware (picture).
With these settings, X+ moves the print head to the left. Y+moves the print head towards the back of the machine. Z+ moves the bed down, away from the print head. If I change the firmware settings for Drive 0 (X) to go forwards, it moves away from the end stop.
So, I understand that this is inverted somehow, but I am not sure what combination of Drives/End stops settings I need in order to home the print head in the right direction. Here is a screenshot of that section in my firmware setup.