-
Notifications
You must be signed in to change notification settings - Fork 7.1k
/
ANY_KEY_UP_EVENT.js
24 lines (23 loc) · 1005 Bytes
/
ANY_KEY_UP_EVENT.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2024 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Global Key Up Event.
*
* This event is dispatched by the Keyboard Plugin when any key on the keyboard is released.
*
* Listen to this event from within a Scene using: `this.input.keyboard.on('keyup', listener)`.
*
* You can also listen for a specific key being released. See [Keyboard.Events.KEY_UP]{@linkcode Phaser.Input.Keyboard.Events#event:KEY_UP} for details.
*
* Finally, you can create Key objects, which you can also listen for events from. See [Keyboard.Events.UP]{@linkcode Phaser.Input.Keyboard.Events#event:UP} for details.
*
* @event Phaser.Input.Keyboard.Events#ANY_KEY_UP
* @type {string}
* @since 3.0.0
*
* @param {KeyboardEvent} event - The native DOM Keyboard Event. You can inspect this to learn more about the key that was released, any modifiers, etc.
*/
module.exports = 'keyup';