use A/Left Arrow and D/Right Arrow to swap between left on and right on. Pressing the same button twice deselects both and selects middle.
Updated so it works better and with less code