keypad toggle infrastructure