Can someone tell me how to code one and two way rotary switches?
For the 3 way rotary switch: Left Pos = press 'KEY_LEFT_ARROW' Middle = Do nothing. Right Pos = press 'KEY_RIGHT_ARROW'
For the 2 way rotary switch Right pos = press 1 Left Pos = press 2
Anybody know how to do this? I do not know how to have it only register once instead of it constantly pressing the keyboard key.