Hey,
I've searched but haven't found any information on this specific problem with a rotary switch. I'm trying to use a rotary switch as a shortcut keyboard. My goal is to make a box with two dials, one being a 2 position switch, the other a 3 position switch. When the switch is turned to each position I want it to fire a hotkey, but only once. I've dug through some different tutorials on pushbuttons and keyboard presses and have successfully uploaded code to my leonardo that will fire the hotkey rapidly when in a specific position, but I really need it to only fire once. I'm very new to any programming and the arduino itself. I'm more based in audio and am trying to do this as a project to help me in that field. Is this possible using a rotary switch, since the state is always "on" when positioned a specific way? Hopefully this makes sense.
-Gabe