The press parameter is a boolean value that is true if the key was pressed, and false if the key was released.
I never see press=true when using the OK, Play, or FastForward buttons. The only time I ever see it in the log is when I use the BACK button. Is this normal?
function onKeyEvent(key, press) as Boolean
result = false
? "onKeyEvent", key, press
... magic goes here...
The Video node has focus. It is a child of my main Scene. In my Scene I have the boilerplate handler. One other node in my app uses OnKeyEvent to capture right and left keys, returns false otherwise. I guess I could mess around with a less complex app to see what the default behavior is, but in general I do not see events bubble like I would expect. My expectations could be way off though.