if a window has focus when receive a pad.keypressed, it should check if that keypress is associated to any of his children (or propagated to children of children).
If so it will trigger the associated action.
eg: user press circle on the pad. the window knows that circle is handled but button in the UI. So the event is propagated to the button which will trigger the action callback.
if a window has focus when receive a pad.keypressed, it should check if that keypress is associated to any of his children (or propagated to children of children). If so it will trigger the associated action.
eg: user press circle on the pad. the window knows that circle is handled but button in the UI. So the event is propagated to the button which will trigger the action callback.