Bi-Directional Limit Switch

I think this is the right sub, forgive me if it is not.

I know I've seen a limit switch like this before but I can't seem to find one now. I need the switch to close a contact when the arm is pushed one direction and close a different contact when pushed in the opposite direction. Both contacts are are open when the arm is not pushed and only one contact is closed at a time.

I am trying to use one switch to indicate the open and closed position of a sliding door (space constraints or I would use 2 switches). I don't want to use programming to set an initial condition and evaluate a counter (or something similar) because the chances for inadvertent cycling of the switch is high and could lead to the counter not matching actual conditions.

Perhaps a "leaf switch" is what you are looking for.
Paul

Could you use two "stacked" micro switches? Can you post a diagram and / or picture?