Closed ghost closed 6 years ago
Since "toggle the buttons" is an event, it can be sent from everywhere as you wish. In your situation, you can listen the event of keyboard action and operate SwitchButton after that. There is no coupled relation between SwitchButton and keyboard event.
Is it possible to toggle the buttons with a keyboard?