I made this 4-speed transmission using a mechanical bearing as the gear selector and a mechanical piston for the drive, neutral and reverse.
You can adjust each gear ratio if you replace the levers with analog ones on the adjustaable chain gearshifts.
It also displays which gear it is in if you connect a nixie tube at the side link.
image.png
image.png