It would be nice if it would be possible to specify which action is triggered when a shortcut is pressed. So for example in the screen widget I could specify:
shortcuts="left:showPrevScreen|right:showNextScreen"
I already made my own custom Screen widget which handles this. But this would be a nice feature in the core kuix also. I made some changes to Kuix - class to support defining your own Screen widget. I added a static method Kuix.setScreenWidgetClass(Class widgetClass) which stores the Class for screen widgets in a static variable and then in loadScreen I create the screen like this:
Screen screen = null;
try {
screen = (Screen) screenWidgetClass.newInstance();
} catch (Exception e) {
screen = new Screen();
}
That way I could override the way shortcuts are parsed and processed in my own screen widget.

