WARNING: This page is about a different car, the 2016 Mazda MX-5 Miata. However, it is still accessible from the selected car via links, so may be relevant.
Install the drive selection switch so that the arrow shown in the figure is pointed toward the vehicle front.
Fig 1: Measuring Resistance Between Drive Selection Switch Terminals B And C (Any Switch Not Pressed)