Changelog
2.5.5 Latest
Section titled “2.5.5 ”LatestFeature Added pause() and resume() methods to Spatial Navigation for temporarily disabling and re-enabling navigation actions.
Fix Fixed Spatial Navigation to only remove the navigation actions from keys instead of removing the keys entirely from the action system, preventing other registered actions or callbacks on the same keys from being broken.
Feature Added support for multiple callbacks per key combination and type in Keyboard.
Feature Added optional callback parameter to Keyboard.off() method to remove specific callbacks.
Feature Added automatic cleanup of empty keyboard entries when all callbacks are removed.
Feature Added support for multiple callbacks per action combination and type in Gamepad.
Feature Added optional callback parameter to Gamepad.off() method to remove specific callbacks.
Feature Added automatic cleanup of empty gamepad entries when all callbacks are removed.
Feature Added support for HTMLElement references in Spatial Navigation. You can now pass direct HTMLElement references in init() and add() methods.
Fix Fixed navigation area removal in Spatial Navigation to properly delete the area instead of setting it to an empty object.