My Drake code reviewer grilled me about what happens when a second control of the same name is added. This change handles that program flow better; properly deleting the previous keypress handler.
thinking more, I actually like the ability to associate multiple keyboard events with the same button. and the existing code handles that case properly.
My Drake code reviewer grilled me about what happens when a second control of the same name is added. This change handles that program flow better; properly deleting the previous keypress handler.