FYI - Games like Monaco GP, Sega's Turbo, and some others that use the same kind of setup...
Are not full analog. By using two optos, and a sliding gate.. they can get like 4 states.
0 / 0 = Off
1 / 0 = Low Speed
1 / 1 = Mid Speed
0 / 1 = High Speed
Theoretical:
1 / 1 = Full Speed
Its been a long while since I had to sell my Sega Turbo off
I believe it had 3 main speeds and an off state... for a total of 4 states.
For the most part, most never would notice the lack of gradation... due to the games build in acceleration curve, as well as the 2 way gear shifter...
which brings that to 6 main speeds that the can can travel + any programmed acceleration / deceleration to blend things together.
Interestingly enough, TX-1 also used Optical pedals (both gas and brake) ...but... they used a rotary encoder disc.
The same optical encoder discs as you see on the Tron / Discs of Tron spinner. I believe it simply counted the positions, and auto-calibrated if / as needed.