Richard Davey
|
468bf7821d
|
Updated copyright year
|
2023-01-02 17:36:27 +00:00 |
|
Richard Davey
|
778b3e7f52
|
Allow key presses during pre-create stage
|
2022-11-08 23:32:58 +00:00 |
|
Richard Davey
|
023343c789
|
All events have a type of string. Fix #6136
|
2022-09-21 22:01:03 +01:00 |
|
Richard Davey
|
4fd0fa2ab2
|
Update KeyboardPlugin.js
|
2022-05-27 18:54:41 +01:00 |
|
Richard Davey
|
6d9aceb727
|
The Key.reset method no longer resets the Key.enabled or Key.preventDefault booleans back to true again, but only resets the state of the Key. Fix #6098
|
2022-05-06 15:12:27 +01:00 |
|
Richard Davey
|
59fbcc5ca3
|
Updated copyright year
|
2022-02-28 14:29:51 +00:00 |
|
Richard Davey
|
68550dbddb
|
Update Key.js
|
2021-11-02 22:54:17 +00:00 |
|
Richard Davey
|
3e1d77ad8f
|
The KeyboardPlugin.removeKey method has a new optional parameter removeCapture . This will remove any keyboard capture events for the given Key. Fix #5693
|
2021-11-01 18:13:51 +00:00 |
|
samme
|
9e4d693481
|
Docs: fix type for KeyboardPlugin#manager
|
2021-04-02 10:31:49 -07:00 |
|
Ben Randall
|
e0f26f6b9d
|
Remove and destry all Keys in Scene.Shutdown()
|
2021-03-17 20:01:24 -07:00 |
|
cjw6k
|
19c2874166
|
Added prevType to constructor.
|
2020-12-28 17:37:54 -04:00 |
|
cjw6k
|
8771c81649
|
Check event.type in duplicate event bailout
Fixes #5471.
|
2020-12-27 17:24:14 -04:00 |
|
Richard Davey
|
417f7684c3
|
More integer to number changes
|
2020-11-23 10:32:00 +00:00 |
|
Richard Davey
|
3f511a73cd
|
Replace integer[] with number[]
|
2020-11-23 10:23:10 +00:00 |
|
Richard Davey
|
02c34cd64e
|
Replace integer with number
|
2020-11-23 10:22:13 +00:00 |
|
samme
|
08b2ea467b
|
Docs: correct CursorKeys
Properties not optional
|
2020-09-18 08:57:05 -07:00 |
|
Richard Davey
|
205552d69c
|
Fix namespaces. Fix #5289
|
2020-09-10 17:04:56 +01:00 |
|
samme
|
288d023bab
|
Reset keys when scene sleeps or pauses #5281
|
2020-09-01 12:42:57 -07:00 |
|
Richard Davey
|
2810396dc7
|
The KeyboardPlugin will now track the key code and timestamp of the previous key pressed and compare it to the current event. If they match, it will skip the event. On some systems if you were to type quickly, you would sometimes get duplicate key events firing (the exact same event firing more than once). This is now prevented from happening.
|
2020-08-01 21:06:42 +01:00 |
|
Richard Davey
|
c4000843ec
|
The KeyboardManager and KeyboardPlugin were both still checking for the InputManager.useQueue property, which was removed several versions ago.
|
2020-08-01 20:54:45 +01:00 |
|
Richard Davey
|
fccd00e8c5
|
Remove deprecated events
|
2020-08-01 20:32:50 +01:00 |
|
Richard Davey
|
6c7437cdc4
|
Merge pull request #5198 from samme/feature/KeyboardPlugin-removeAllKeys
Add KeyboardPlugin#removeAllKeys
|
2020-07-13 13:04:53 +01:00 |
|
Richard Davey
|
a7ded1ee21
|
KeyboardPlugin.checkDown didn't set the duration to zero if the parameter was omitted, causing it to always return false. Fix #5146
|
2020-07-13 12:12:28 +01:00 |
|
samme
|
af141f6bf0
|
Add KeyboardPlugin#removeAllKeys
|
2020-06-23 11:58:26 -07:00 |
|
samme
|
4722750f62
|
Fix NOOP import
Fixes #5170
|
2020-05-27 18:20:05 -07:00 |
|
Jason Kwok
|
23ad6e4241
|
Fixed this return types for Phaser.Input.Keyboard.KeyboardPlugin
|
2020-01-30 17:42:59 +08:00 |
|
Jason Kwok
|
c71acd3725
|
Fixed this return types for Phaser.Input.Keyboard.Key
|
2020-01-30 17:40:23 +08:00 |
|
Richard Davey
|
ff65e69cd1
|
Changed copyright date to 2020
|
2020-01-15 12:07:09 +00:00 |
|
Richard Davey
|
1e20ad706e
|
ADD and SUBTRACT added
|
2019-11-18 17:09:30 +00:00 |
|
Richard Davey
|
c91ed91ce3
|
License link update
|
2019-05-10 16:15:04 +01:00 |
|
Richard Davey
|
1dca2c2c8a
|
Scenes Types
|
2019-05-09 12:37:37 +01:00 |
|
Richard Davey
|
53ac066d25
|
More Input Types
|
2019-05-09 12:03:36 +01:00 |
|
Richard Davey
|
2ef6ad3e51
|
Fixed jsdoc
|
2019-04-24 10:54:02 +01:00 |
|
Richard Davey
|
181be88ba9
|
Updated to use game clock time values.
|
2019-04-24 10:48:03 +01:00 |
|
Richard Davey
|
6b5383a007
|
Key now needs a reference to the plugin that created it. Also added getDuration method.
|
2019-04-24 10:47:51 +01:00 |
|
Richard Davey
|
d7917789eb
|
Added destroy argument to removeKey and cleared plugin reference.
|
2019-04-24 10:47:22 +01:00 |
|
Richard Davey
|
0db663d901
|
More typedefs
|
2019-02-13 15:38:50 +00:00 |
|
Richard Davey
|
3938675d9f
|
Input typedefs
|
2019-02-13 14:17:36 +00:00 |
|
Richard Davey
|
c8439393fb
|
Much better keycode jsdoc handling.
|
2019-02-12 12:51:43 +00:00 |
|
Richard Davey
|
dc73993fe2
|
Added jsdoc version numbers
|
2019-02-12 12:22:25 +00:00 |
|
Richard Davey
|
ccaae460a4
|
Added jsdoc version numbers to each event
|
2019-02-12 11:37:58 +00:00 |
|
Richard Davey
|
6cd17618b1
|
Moved time to getter and fixed checkDown.
|
2019-02-08 13:32:54 +00:00 |
|
Richard Davey
|
916a13cf9d
|
resetKeys doc update. Fix #4345
|
2019-02-07 00:31:10 +00:00 |
|
Richard Davey
|
3d5d84c01f
|
Stop listener
|
2019-01-29 23:22:29 +00:00 |
|
Richard Davey
|
1c0acc2342
|
Needs to listen for the PROCESS event, plus emit keydown_ as well.
|
2019-01-29 23:21:54 +00:00 |
|
Richard Davey
|
fb0c4af780
|
Trim the keycodes
|
2019-01-29 23:21:34 +00:00 |
|
Richard Davey
|
6d77884b92
|
Removed un-needed methods and reset keys on focus loss. Fix #4134
|
2019-01-24 11:55:34 +00:00 |
|
Richard Davey
|
b3bc1cebfd
|
Support the Input Manager useQueue flag.
|
2019-01-23 15:51:42 +00:00 |
|
Richard Davey
|
fb5882f078
|
Updated docs
|
2019-01-23 15:29:23 +00:00 |
|
Richard Davey
|
1eccff1e3b
|
Fixed jsdoc links and markdown bullet lists
|
2019-01-18 15:20:56 +00:00 |
|