Shifting Gear Mechanism

The violet lever can turn in vertical and horizotal planes to control two racks carrying shifting forks. Each rack has 3 working positions.
The control lever pushes or pulls the blue shaft and the orange bush to turn the pink gear sector. There is a helical joint between the orange bush and the pink gear sector. There is a sliding key joint between the orange bush and the popcorn housing.
The control lever turns the blue shaft and the yellow gear sector. There is a sliding key joint between them.
The brown part can only rotate (no translation) in the popcorn housing.