gnuton / PSVIta

PSVita experiments
0 stars 0 forks source link

Let windows register widgets keyboard shortcuts #10

Open gnuton opened 6 years ago

gnuton commented 6 years ago

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.