@3dsource/angular-unreal-module 0.0.173 → 0.0.174
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1319,6 +1319,18 @@ declare class InputService extends SubService {
|
|
|
1319
1319
|
private registerHoveringMouseEvents;
|
|
1320
1320
|
private registerMouseEnterAndLeaveEvents;
|
|
1321
1321
|
private isKeyCodeBrowserKey;
|
|
1322
|
+
/**
|
|
1323
|
+
* The key code Unreal expects, which is the Windows virtual-key code.
|
|
1324
|
+
*
|
|
1325
|
+
* `e.keyCode` is not that on Gecko: Firefox reports the punctuation keys by
|
|
1326
|
+
* their ASCII value — `=` as 61 and `-` as 173, where Chrome sends 187 and 189
|
|
1327
|
+
* — so zoom-on-plus/minus reached the engine as codes it does not know.
|
|
1328
|
+
* `KeyboardNumericCode` is keyed by `e.code` and holds the virtual-key value,
|
|
1329
|
+
* so it resolves the same number on every browser; a no-op on Chrome.
|
|
1330
|
+
*
|
|
1331
|
+
* Checked after the right-hand modifiers, which need their own distinct codes
|
|
1332
|
+
* that the map does not carry.
|
|
1333
|
+
*/
|
|
1322
1334
|
private getKeyCode;
|
|
1323
1335
|
private registerKeyboardEvents;
|
|
1324
1336
|
private startListenKeys;
|