ok, basically, what I want to do is have a number of rotating assemblies which have to be lined up to a specific configuration in order to open a door, fairly basic stuff from most puzzle games and what-have-you. anyway, the bit I’m having problems with is finding a system that lets me rotate one of those assemblies at 45 degree increments using two buttons. left and right (clockwise and counter clockwise) there’s got to be no limit to the number of rotations it can do.
the basic system is that you hit a button, and the assembly rotates 45 degrees from where it is at that point. and stops. you can then hit the button again to go another 45 degrees or hit the other button to go back 45 degs.