WARNING: This page is about a different car, the 2013 Subaru Forester. However, it is still accessible from the selected car via links, so may be relevant.
Fig 1: Throttle Position Sensor 1 - Circuit Diagram (Throttle/Pedal Position Sensor/Switch A Circuit High)