Comment #7 on issue 19 by [email protected]: PInputEvent does not have camera information for keyboard events. http://code.google.com/p/piccolo2d/issues/detail?id=19
The reason for this is that when you receive a mouse event you can always guarantee that a camera will be provided to use for context in the scene graph. However, the same event handlers when hooked up to a keyboard event will fail because the camera is null (so you have to resort to something like a static reference to a camera). What is really missing in Piccolo is more of a focus concept for the scene graph so you know exactly which node should receive the keyboard events... -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en -~----------~----~----~----~------~----~------~--~---
