I bought an optical rotary joystick from Happ, and I'm a little confused on the pinouts. According to their faq, the PCB A052-1011-00 has the following layout:
Pin 1 -     Output A
Pin 2 -    +5V
Pin 3 -    GND
Pin 4 -    Output B
But what is the orientation? L->R, or R->L? Also, the cable they include goes:
-------------------------------
| red | brown | orange | yellow |
-------------------------------
on one end, but they swap 1 & 2 at the other end. Now, red is almost universal voltage, so is the pinout they mention WITH the cable or the pins on the PCB? 

I don' t have a multimeter to test, I'd rather not fry anything with voltage if I don't have to. I also sent a question to their tech, but that might take a while. Assistance welcome. 
