@illgrenoble/webx-client 1.9.2 → 1.9.4
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/dist/input/GuacamoleKeyboard.js +118 -99
- package/dist/input/WebXKeyboard.d.ts +0 -16
- package/dist/input/WebXKeyboard.js +3 -27
- package/dist/input/WebXKeyboard.js.map +1 -1
- package/package.json +1 -1
- package/dist/display/WebXMaterialProvider.d.ts +0 -8
- package/dist/display/WebXMaterialProvider.js +0 -71
- package/dist/display/WebXMaterialProvider.js.map +0 -1
- package/dist/input/WebXNewKeyboard.d.ts +0 -62
- package/dist/input/WebXNewKeyboard.js +0 -94
- package/dist/input/WebXNewKeyboard.js.map +0 -1
- package/dist/input/keyboard/WebXKeyEvent.d.ts +0 -79
- package/dist/input/keyboard/WebXKeyEvent.js +0 -324
- package/dist/input/keyboard/WebXKeyEvent.js.map +0 -1
- package/dist/input/keyboard/WebXKeyPressEvent.d.ts +0 -30
- package/dist/input/keyboard/WebXKeyPressEvent.js +0 -44
- package/dist/input/keyboard/WebXKeyPressEvent.js.map +0 -1
- package/dist/input/keyboard/WebXKeyUpEvent.d.ts +0 -33
- package/dist/input/keyboard/WebXKeyUpEvent.js +0 -31
- package/dist/input/keyboard/WebXKeyUpEvent.js.map +0 -1
- package/dist/input/keyboard/WebXKeyboardModifierState.d.ts +0 -108
- package/dist/input/keyboard/WebXKeyboardModifierState.js +0 -148
- package/dist/input/keyboard/WebXKeyboardModifierState.js.map +0 -1
- package/dist/input/keyboard/WebXKeyboardUtils.d.ts +0 -25
- package/dist/input/keyboard/WebXKeyboardUtils.js +0 -63
- package/dist/input/keyboard/WebXKeyboardUtils.js.map +0 -1
- package/dist/input/keyboard/WebXKeydownEvent.d.ts +0 -46
- package/dist/input/keyboard/WebXKeydownEvent.js +0 -66
- package/dist/input/keyboard/WebXKeydownEvent.js.map +0 -1
- package/dist/input/keyboard/index.d.ts +0 -6
- package/dist/input/keyboard/index.js +0 -23
- package/dist/input/keyboard/index.js.map +0 -1
- package/dist/lib/GuacamoleKeyboard.js +0 -1290
- package/dist/lib/GuacamoleKeyboard.js.map +0 -1
- package/dist/message/WebXPollMessage.d.ts +0 -4
- package/dist/message/WebXPollMessage.js +0 -12
- package/dist/message/WebXPollMessage.js.map +0 -1
- package/dist/src/WebXClient.d.ts +0 -261
- package/dist/src/WebXClient.js +0 -571
- package/dist/src/WebXClient.js.map +0 -1
- package/dist/src/WebXEngine.d.ts +0 -4
- package/dist/src/WebXEngine.js +0 -7
- package/dist/src/WebXEngine.js.map +0 -1
- package/dist/src/display/WebXCursor.d.ts +0 -88
- package/dist/src/display/WebXCursor.js +0 -150
- package/dist/src/display/WebXCursor.js.map +0 -1
- package/dist/src/display/WebXCursorFactory.d.ts +0 -36
- package/dist/src/display/WebXCursorFactory.js +0 -59
- package/dist/src/display/WebXCursorFactory.js.map +0 -1
- package/dist/src/display/WebXDisplay.d.ts +0 -226
- package/dist/src/display/WebXDisplay.js +0 -424
- package/dist/src/display/WebXDisplay.js.map +0 -1
- package/dist/src/display/WebXMaterial.d.ts +0 -14
- package/dist/src/display/WebXMaterial.js +0 -140
- package/dist/src/display/WebXMaterial.js.map +0 -1
- package/dist/src/display/WebXSubImage.d.ts +0 -50
- package/dist/src/display/WebXSubImage.js +0 -26
- package/dist/src/display/WebXSubImage.js.map +0 -1
- package/dist/src/display/WebXTextureFactory.d.ts +0 -54
- package/dist/src/display/WebXTextureFactory.js +0 -160
- package/dist/src/display/WebXTextureFactory.js.map +0 -1
- package/dist/src/display/WebXWindow.d.ts +0 -241
- package/dist/src/display/WebXWindow.js +0 -438
- package/dist/src/display/WebXWindow.js.map +0 -1
- package/dist/src/display/WebXWindowProperties.d.ts +0 -44
- package/dist/src/display/WebXWindowProperties.js +0 -25
- package/dist/src/display/WebXWindowProperties.js.map +0 -1
- package/dist/src/display/index.d.ts +0 -7
- package/dist/src/display/index.js +0 -24
- package/dist/src/display/index.js.map +0 -1
- package/dist/src/index.d.ts +0 -7
- package/dist/src/index.js +0 -24
- package/dist/src/index.js.map +0 -1
- package/dist/src/input/WebXKeyboard.d.ts +0 -265
- package/dist/src/input/WebXKeyboard.js +0 -632
- package/dist/src/input/WebXKeyboard.js.map +0 -1
- package/dist/src/input/WebXMouse.d.ts +0 -125
- package/dist/src/input/WebXMouse.js +0 -231
- package/dist/src/input/WebXMouse.js.map +0 -1
- package/dist/src/input/index.d.ts +0 -4
- package/dist/src/input/index.js +0 -21
- package/dist/src/input/index.js.map +0 -1
- package/dist/src/input/keyboard/WebXKeyEvent.d.ts +0 -79
- package/dist/src/input/keyboard/WebXKeyEvent.js +0 -324
- package/dist/src/input/keyboard/WebXKeyEvent.js.map +0 -1
- package/dist/src/input/keyboard/WebXKeyPressEvent.d.ts +0 -30
- package/dist/src/input/keyboard/WebXKeyPressEvent.js +0 -44
- package/dist/src/input/keyboard/WebXKeyPressEvent.js.map +0 -1
- package/dist/src/input/keyboard/WebXKeyUpEvent.d.ts +0 -33
- package/dist/src/input/keyboard/WebXKeyUpEvent.js +0 -31
- package/dist/src/input/keyboard/WebXKeyUpEvent.js.map +0 -1
- package/dist/src/input/keyboard/WebXKeyboardModifierState.d.ts +0 -108
- package/dist/src/input/keyboard/WebXKeyboardModifierState.js +0 -148
- package/dist/src/input/keyboard/WebXKeyboardModifierState.js.map +0 -1
- package/dist/src/input/keyboard/WebXKeyboardUtils.d.ts +0 -25
- package/dist/src/input/keyboard/WebXKeyboardUtils.js +0 -63
- package/dist/src/input/keyboard/WebXKeyboardUtils.js.map +0 -1
- package/dist/src/input/keyboard/WebXKeydownEvent.d.ts +0 -46
- package/dist/src/input/keyboard/WebXKeydownEvent.js +0 -66
- package/dist/src/input/keyboard/WebXKeydownEvent.js.map +0 -1
- package/dist/src/input/keyboard/index.d.ts +0 -6
- package/dist/src/input/keyboard/index.js +0 -23
- package/dist/src/input/keyboard/index.js.map +0 -1
- package/dist/src/input/mouse/WebXMouseState.d.ts +0 -190
- package/dist/src/input/mouse/WebXMouseState.js +0 -217
- package/dist/src/input/mouse/WebXMouseState.js.map +0 -1
- package/dist/src/input/mouse/index.d.ts +0 -1
- package/dist/src/input/mouse/index.js +0 -18
- package/dist/src/input/mouse/index.js.map +0 -1
- package/dist/src/instruction/WebXClipboardInstruction.d.ts +0 -18
- package/dist/src/instruction/WebXClipboardInstruction.js +0 -23
- package/dist/src/instruction/WebXClipboardInstruction.js.map +0 -1
- package/dist/src/instruction/WebXConnectInstruction.d.ts +0 -19
- package/dist/src/instruction/WebXConnectInstruction.js +0 -24
- package/dist/src/instruction/WebXConnectInstruction.js.map +0 -1
- package/dist/src/instruction/WebXCursorImageInstruction.d.ts +0 -18
- package/dist/src/instruction/WebXCursorImageInstruction.js +0 -23
- package/dist/src/instruction/WebXCursorImageInstruction.js.map +0 -1
- package/dist/src/instruction/WebXDataAckInstruction.d.ts +0 -25
- package/dist/src/instruction/WebXDataAckInstruction.js +0 -26
- package/dist/src/instruction/WebXDataAckInstruction.js.map +0 -1
- package/dist/src/instruction/WebXImageInstruction.d.ts +0 -18
- package/dist/src/instruction/WebXImageInstruction.js +0 -23
- package/dist/src/instruction/WebXImageInstruction.js.map +0 -1
- package/dist/src/instruction/WebXInstruction.d.ts +0 -29
- package/dist/src/instruction/WebXInstruction.js +0 -28
- package/dist/src/instruction/WebXInstruction.js.map +0 -1
- package/dist/src/instruction/WebXInstructionResponse.d.ts +0 -66
- package/dist/src/instruction/WebXInstructionResponse.js +0 -78
- package/dist/src/instruction/WebXInstructionResponse.js.map +0 -1
- package/dist/src/instruction/WebXInstructionType.d.ts +0 -63
- package/dist/src/instruction/WebXInstructionType.js +0 -96
- package/dist/src/instruction/WebXInstructionType.js.map +0 -1
- package/dist/src/instruction/WebXKeyboardInstruction.d.ts +0 -23
- package/dist/src/instruction/WebXKeyboardInstruction.js +0 -25
- package/dist/src/instruction/WebXKeyboardInstruction.js.map +0 -1
- package/dist/src/instruction/WebXMouseInstruction.d.ts +0 -28
- package/dist/src/instruction/WebXMouseInstruction.js +0 -27
- package/dist/src/instruction/WebXMouseInstruction.js.map +0 -1
- package/dist/src/instruction/WebXPongInstruction.d.ts +0 -18
- package/dist/src/instruction/WebXPongInstruction.js +0 -23
- package/dist/src/instruction/WebXPongInstruction.js.map +0 -1
- package/dist/src/instruction/WebXQualityInstruction.d.ts +0 -19
- package/dist/src/instruction/WebXQualityInstruction.js +0 -24
- package/dist/src/instruction/WebXQualityInstruction.js.map +0 -1
- package/dist/src/instruction/WebXScreenInstruction.d.ts +0 -12
- package/dist/src/instruction/WebXScreenInstruction.js +0 -20
- package/dist/src/instruction/WebXScreenInstruction.js.map +0 -1
- package/dist/src/instruction/WebXShapeInstruction.d.ts +0 -18
- package/dist/src/instruction/WebXShapeInstruction.js +0 -23
- package/dist/src/instruction/WebXShapeInstruction.js.map +0 -1
- package/dist/src/instruction/WebXWindowsInstruction.d.ts +0 -13
- package/dist/src/instruction/WebXWindowsInstruction.js +0 -21
- package/dist/src/instruction/WebXWindowsInstruction.js.map +0 -1
- package/dist/src/instruction/index.d.ts +0 -15
- package/dist/src/instruction/index.js +0 -32
- package/dist/src/instruction/index.js.map +0 -1
- package/dist/src/message/WebXClipboardMessage.d.ts +0 -19
- package/dist/src/message/WebXClipboardMessage.js +0 -23
- package/dist/src/message/WebXClipboardMessage.js.map +0 -1
- package/dist/src/message/WebXConnectionMessage.d.ts +0 -12
- package/dist/src/message/WebXConnectionMessage.js +0 -20
- package/dist/src/message/WebXConnectionMessage.js.map +0 -1
- package/dist/src/message/WebXCursorImageMessage.d.ts +0 -46
- package/dist/src/message/WebXCursorImageMessage.js +0 -35
- package/dist/src/message/WebXCursorImageMessage.js.map +0 -1
- package/dist/src/message/WebXImageMessage.d.ts +0 -41
- package/dist/src/message/WebXImageMessage.js +0 -33
- package/dist/src/message/WebXImageMessage.js.map +0 -1
- package/dist/src/message/WebXMessage.d.ts +0 -24
- package/dist/src/message/WebXMessage.js +0 -23
- package/dist/src/message/WebXMessage.js.map +0 -1
- package/dist/src/message/WebXMessageType.d.ts +0 -59
- package/dist/src/message/WebXMessageType.js +0 -64
- package/dist/src/message/WebXMessageType.js.map +0 -1
- package/dist/src/message/WebXMouseMessage.d.ts +0 -30
- package/dist/src/message/WebXMouseMessage.js +0 -29
- package/dist/src/message/WebXMouseMessage.js.map +0 -1
- package/dist/src/message/WebXNopMessage.d.ts +0 -10
- package/dist/src/message/WebXNopMessage.js +0 -18
- package/dist/src/message/WebXNopMessage.js.map +0 -1
- package/dist/src/message/WebXPingMessage.d.ts +0 -13
- package/dist/src/message/WebXPingMessage.js +0 -21
- package/dist/src/message/WebXPingMessage.js.map +0 -1
- package/dist/src/message/WebXQualityMessage.d.ts +0 -39
- package/dist/src/message/WebXQualityMessage.js +0 -32
- package/dist/src/message/WebXQualityMessage.js.map +0 -1
- package/dist/src/message/WebXScreenMessage.d.ts +0 -37
- package/dist/src/message/WebXScreenMessage.js +0 -29
- package/dist/src/message/WebXScreenMessage.js.map +0 -1
- package/dist/src/message/WebXShapeMessage.d.ts +0 -31
- package/dist/src/message/WebXShapeMessage.js +0 -29
- package/dist/src/message/WebXShapeMessage.js.map +0 -1
- package/dist/src/message/WebXSubImagesMessage.d.ts +0 -31
- package/dist/src/message/WebXSubImagesMessage.js +0 -29
- package/dist/src/message/WebXSubImagesMessage.js.map +0 -1
- package/dist/src/message/WebXWindowsMessage.d.ts +0 -21
- package/dist/src/message/WebXWindowsMessage.js +0 -25
- package/dist/src/message/WebXWindowsMessage.js.map +0 -1
- package/dist/src/message/index.d.ts +0 -14
- package/dist/src/message/index.js +0 -31
- package/dist/src/message/index.js.map +0 -1
- package/dist/src/tracer/WebXDebugImageMessageHandler.d.ts +0 -48
- package/dist/src/tracer/WebXDebugImageMessageHandler.js +0 -102
- package/dist/src/tracer/WebXDebugImageMessageHandler.js.map +0 -1
- package/dist/src/tracer/WebXHandler.d.ts +0 -14
- package/dist/src/tracer/WebXHandler.js +0 -3
- package/dist/src/tracer/WebXHandler.js.map +0 -1
- package/dist/src/tracer/WebXInstructionHandler.d.ts +0 -21
- package/dist/src/tracer/WebXInstructionHandler.js +0 -13
- package/dist/src/tracer/WebXInstructionHandler.js.map +0 -1
- package/dist/src/tracer/WebXMessageHandler.d.ts +0 -21
- package/dist/src/tracer/WebXMessageHandler.js +0 -13
- package/dist/src/tracer/WebXMessageHandler.js.map +0 -1
- package/dist/src/tracer/WebXStatsHandler.d.ts +0 -23
- package/dist/src/tracer/WebXStatsHandler.js +0 -13
- package/dist/src/tracer/WebXStatsHandler.js.map +0 -1
- package/dist/src/tracer/index.d.ts +0 -5
- package/dist/src/tracer/index.js +0 -22
- package/dist/src/tracer/index.js.map +0 -1
- package/dist/src/transport/WebXBinarySerializer.d.ts +0 -31
- package/dist/src/transport/WebXBinarySerializer.js +0 -63
- package/dist/src/transport/WebXBinarySerializer.js.map +0 -1
- package/dist/src/transport/WebXInstructionBuffer.d.ts +0 -55
- package/dist/src/transport/WebXInstructionBuffer.js +0 -109
- package/dist/src/transport/WebXInstructionBuffer.js.map +0 -1
- package/dist/src/transport/WebXInstructionEncoder.d.ts +0 -181
- package/dist/src/transport/WebXInstructionEncoder.js +0 -294
- package/dist/src/transport/WebXInstructionEncoder.js.map +0 -1
- package/dist/src/transport/WebXMessageBuffer.d.ts +0 -80
- package/dist/src/transport/WebXMessageBuffer.js +0 -104
- package/dist/src/transport/WebXMessageBuffer.js.map +0 -1
- package/dist/src/transport/WebXMessageDecoder.d.ts +0 -108
- package/dist/src/transport/WebXMessageDecoder.js +0 -332
- package/dist/src/transport/WebXMessageDecoder.js.map +0 -1
- package/dist/src/transport/index.d.ts +0 -5
- package/dist/src/transport/index.js +0 -22
- package/dist/src/transport/index.js.map +0 -1
- package/dist/src/tunnel/WebXTunnel.d.ts +0 -93
- package/dist/src/tunnel/WebXTunnel.js +0 -156
- package/dist/src/tunnel/WebXTunnel.js.map +0 -1
- package/dist/src/tunnel/WebXWebSocketTunnel.d.ts +0 -40
- package/dist/src/tunnel/WebXWebSocketTunnel.js +0 -88
- package/dist/src/tunnel/WebXWebSocketTunnel.js.map +0 -1
- package/dist/src/tunnel/index.d.ts +0 -2
- package/dist/src/tunnel/index.js +0 -19
- package/dist/src/tunnel/index.js.map +0 -1
- package/dist/src/utils/WebXColorGenerator.d.ts +0 -24
- package/dist/src/utils/WebXColorGenerator.js +0 -46
- package/dist/src/utils/WebXColorGenerator.js.map +0 -1
- package/dist/src/utils/WebXVersion.d.ts +0 -34
- package/dist/src/utils/WebXVersion.js +0 -25
- package/dist/src/utils/WebXVersion.js.map +0 -1
- package/dist/src/utils/index.d.ts +0 -2
- package/dist/src/utils/index.js +0 -19
- package/dist/src/utils/index.js.map +0 -1
- package/dist/tracer/DemoVisualMessageHandler.d.ts +0 -15
- package/dist/tracer/DemoVisualMessageHandler.js +0 -55
- package/dist/tracer/DemoVisualMessageHandler.js.map +0 -1
- package/dist/tracer/WebXVisualMessageHandler.d.ts +0 -15
- package/dist/tracer/WebXVisualMessageHandler.js +0 -55
- package/dist/tracer/WebXVisualMessageHandler.js.map +0 -1
- package/dist/tunnel/WebXDefaultQoSHandler.d.ts +0 -16
- package/dist/tunnel/WebXDefaultQoSHandler.js +0 -57
- package/dist/tunnel/WebXDefaultQoSHandler.js.map +0 -1
- package/dist/tunnel/WebXQoSHandler.d.ts +0 -6
- package/dist/tunnel/WebXQoSHandler.js +0 -7
- package/dist/tunnel/WebXQoSHandler.js.map +0 -1
- package/dist/tunnel/WebXSocketIOTunnel.d.ts +0 -15
- package/dist/tunnel/WebXSocketIOTunnel.js +0 -41
- package/dist/tunnel/WebXSocketIOTunnel.js.map +0 -1
- package/dist/utils/ColorGenerator.d.ts +0 -24
- package/dist/utils/ColorGenerator.js +0 -46
- package/dist/utils/ColorGenerator.js.map +0 -1
- package/dist/utils/Config.d.ts +0 -4
- package/dist/utils/Config.js +0 -10
- package/dist/utils/Config.js.map +0 -1
- package/dist/utils/WebXAsyncExec.d.ts +0 -5
- package/dist/utils/WebXAsyncExec.js +0 -18
- package/dist/utils/WebXAsyncExec.js.map +0 -1
- package/dist/utils/WebXColourGenerator.d.ts +0 -5
- package/dist/utils/WebXColourGenerator.js +0 -27
- package/dist/utils/WebXColourGenerator.js.map +0 -1
- package/dist/utils/WebXFileSize.d.ts +0 -3
- package/dist/utils/WebXFileSize.js +0 -14
- package/dist/utils/WebXFileSize.js.map +0 -1
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebXKeyboardModifierState = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Represents the state of keyboard modifiers (e.g., Shift, Ctrl, Alt).
|
|
6
|
-
*
|
|
7
|
-
* This class tracks the state of each modifier key and provides methods
|
|
8
|
-
* to update and retrieve the state.
|
|
9
|
-
*/
|
|
10
|
-
class WebXKeyboardModifierState {
|
|
11
|
-
/**
|
|
12
|
-
* Gets whether the Shift key is pressed.
|
|
13
|
-
*
|
|
14
|
-
* @returns True if the Shift key is pressed, false otherwise.
|
|
15
|
-
*/
|
|
16
|
-
get shift() {
|
|
17
|
-
return this._shift;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Sets whether the Shift key is pressed.
|
|
21
|
-
*
|
|
22
|
-
* @param value True to indicate the Shift key is pressed, false otherwise.
|
|
23
|
-
*/
|
|
24
|
-
set shift(value) {
|
|
25
|
-
this._shift = value;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Gets whether the Ctrl key is pressed.
|
|
29
|
-
*
|
|
30
|
-
* @returns True if the Ctrl key is pressed, false otherwise.
|
|
31
|
-
*/
|
|
32
|
-
get ctrl() {
|
|
33
|
-
return this._ctrl;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Sets whether the Ctrl key is pressed.
|
|
37
|
-
*
|
|
38
|
-
* @param value True to indicate the Ctrl key is pressed, false otherwise.
|
|
39
|
-
*/
|
|
40
|
-
set ctrl(value) {
|
|
41
|
-
this._ctrl = value;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Gets whether the Alt key is pressed.
|
|
45
|
-
*
|
|
46
|
-
* @returns True if the Alt key is pressed, false otherwise.
|
|
47
|
-
*/
|
|
48
|
-
get alt() {
|
|
49
|
-
return this._alt;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Sets whether the Alt key is pressed.
|
|
53
|
-
*
|
|
54
|
-
* @param value True to indicate the Alt key is pressed, false otherwise.
|
|
55
|
-
*/
|
|
56
|
-
set alt(value) {
|
|
57
|
-
this._alt = value;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Gets whether the Meta key (e.g., Command on macOS) is pressed.
|
|
61
|
-
*
|
|
62
|
-
* @returns True if the Meta key is pressed, false otherwise.
|
|
63
|
-
*/
|
|
64
|
-
get meta() {
|
|
65
|
-
return this._meta;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Sets whether the Meta key (e.g., Command on macOS) is pressed.
|
|
69
|
-
*
|
|
70
|
-
* @param value True to indicate the Meta key is pressed, false otherwise.
|
|
71
|
-
*/
|
|
72
|
-
set meta(value) {
|
|
73
|
-
this._meta = value;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Gets whether the Hyper key is pressed.
|
|
77
|
-
*
|
|
78
|
-
* @returns True if the Hyper key is pressed, false otherwise.
|
|
79
|
-
*/
|
|
80
|
-
get hyper() {
|
|
81
|
-
return this._hyper;
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Sets whether the Hyper key is pressed.
|
|
85
|
-
*
|
|
86
|
-
* @param value True to indicate the Hyper key is pressed, false otherwise.
|
|
87
|
-
*/
|
|
88
|
-
set hyper(value) {
|
|
89
|
-
this._hyper = value;
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* Creates a new instance of WebXKeyboardModifierState.
|
|
93
|
-
*
|
|
94
|
-
* @param state Optional initial state of the keyboard modifiers.
|
|
95
|
-
* Contains the state of Shift, Ctrl, Alt, Meta, and Hyper keys.
|
|
96
|
-
*/
|
|
97
|
-
constructor(state) {
|
|
98
|
-
/**
|
|
99
|
-
* Whether the Shift key is pressed.
|
|
100
|
-
*/
|
|
101
|
-
this._shift = false;
|
|
102
|
-
/**
|
|
103
|
-
* Whether the Ctrl key is pressed.
|
|
104
|
-
*/
|
|
105
|
-
this._ctrl = false;
|
|
106
|
-
/**
|
|
107
|
-
* Whether the Alt key is pressed.
|
|
108
|
-
*/
|
|
109
|
-
this._alt = false;
|
|
110
|
-
/**
|
|
111
|
-
* Whether the Meta key (e.g., Command on macOS) is pressed.
|
|
112
|
-
*/
|
|
113
|
-
this._meta = false;
|
|
114
|
-
/**
|
|
115
|
-
* Whether the Hyper key is pressed.
|
|
116
|
-
*/
|
|
117
|
-
this._hyper = false;
|
|
118
|
-
if (state) {
|
|
119
|
-
const { shift, ctrl, alt, meta, hyper } = state;
|
|
120
|
-
this._shift = shift;
|
|
121
|
-
this._ctrl = ctrl;
|
|
122
|
-
this._alt = alt;
|
|
123
|
-
this._meta = meta;
|
|
124
|
-
this._hyper = hyper;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* Updates the modifier state based on a keyboard event.
|
|
129
|
-
*
|
|
130
|
-
* @param event The keyboard event to process.
|
|
131
|
-
* @returns The updated modifier state.
|
|
132
|
-
*/
|
|
133
|
-
fromKeyboardEvent(event) {
|
|
134
|
-
this._shift = event.shiftKey;
|
|
135
|
-
this._ctrl = event.ctrlKey;
|
|
136
|
-
this._alt = event.altKey;
|
|
137
|
-
this._meta = event.metaKey;
|
|
138
|
-
if (event.getModifierState) {
|
|
139
|
-
this.hyper = event.getModifierState('OS')
|
|
140
|
-
|| event.getModifierState('Super')
|
|
141
|
-
|| event.getModifierState('Hyper')
|
|
142
|
-
|| event.getModifierState('Win');
|
|
143
|
-
}
|
|
144
|
-
return this;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
exports.WebXKeyboardModifierState = WebXKeyboardModifierState;
|
|
148
|
-
//# sourceMappingURL=WebXKeyboardModifierState.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WebXKeyboardModifierState.js","sourceRoot":"","sources":["../../../src/input/keyboard/WebXKeyboardModifierState.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,MAAa,yBAAyB;IA0BpC;;;;OAIG;IACH,IAAW,KAAK;QACd,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED;;;;OAIG;IACH,IAAW,KAAK,CAAC,KAAc;QAC7B,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;IACtB,CAAC;IAED;;;;OAIG;IACH,IAAW,IAAI;QACb,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED;;;;OAIG;IACH,IAAW,IAAI,CAAC,KAAc;QAC5B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAED;;;;OAIG;IACH,IAAW,GAAG;QACZ,OAAO,IAAI,CAAC,IAAI,CAAC;IACnB,CAAC;IAED;;;;OAIG;IACH,IAAW,GAAG,CAAC,KAAc;QAC3B,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;IACpB,CAAC;IAED;;;;OAIG;IACH,IAAW,IAAI;QACb,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED;;;;OAIG;IACH,IAAW,IAAI,CAAC,KAAc;QAC5B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAED;;;;OAIG;IACH,IAAW,KAAK;QACd,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED;;;;OAIG;IACH,IAAW,KAAK,CAAC,KAAc;QAC7B,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;IACtB,CAAC;IAED;;;;;OAKG;IACH,YAAY,KAAsF;QAzHlG;;WAEG;QACK,WAAM,GAAY,KAAK,CAAC;QAEhC;;WAEG;QACK,UAAK,GAAY,KAAK,CAAC;QAE/B;;WAEG;QACK,SAAI,GAAY,KAAK,CAAC;QAE9B;;WAEG;QACK,UAAK,GAAY,KAAK,CAAC;QAE/B;;WAEG;QACK,WAAM,GAAY,KAAK,CAAC;QAmG9B,IAAI,KAAK,EAAE,CAAC;YACV,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;YAChD,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;YACpB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;YAClB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC;YAChB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;YAClB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACtB,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACI,iBAAiB,CAAC,KAAoB;QAC3C,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC7B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC;QAC3B,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC;QAE3B,IAAI,KAAK,CAAC,gBAAgB,EAAE,CAAC;YAC3B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC;mBACpC,KAAK,CAAC,gBAAgB,CAAC,OAAO,CAAC;mBAC/B,KAAK,CAAC,gBAAgB,CAAC,OAAO,CAAC;mBAC/B,KAAK,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;QACrC,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AA1JD,8DA0JC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Utility class for keyboard-related operations.
|
|
3
|
-
*
|
|
4
|
-
* This class provides methods to map characters to keysyms and determine
|
|
5
|
-
* whether a key is repeatable.
|
|
6
|
-
*/
|
|
7
|
-
export declare class WebXKeyboardUtils {
|
|
8
|
-
/**
|
|
9
|
-
* Maps a Unicode character code to its corresponding X11 keysym.
|
|
10
|
-
*
|
|
11
|
-
* @param codepoint The Unicode character code.
|
|
12
|
-
* @returns The corresponding X11 keysym.
|
|
13
|
-
*/
|
|
14
|
-
static keysymFromCharCode(codepoint: number): number;
|
|
15
|
-
static NON_REPEATABLE_KEYS: Array<number>;
|
|
16
|
-
/**
|
|
17
|
-
* Determines whether a key is repeatable.
|
|
18
|
-
*
|
|
19
|
-
* Modifier keys (e.g., Shift, Ctrl, Alt) are not repeatable.
|
|
20
|
-
*
|
|
21
|
-
* @param keysym The keysym of the key to check.
|
|
22
|
-
* @returns True if the key is repeatable, false otherwise.
|
|
23
|
-
*/
|
|
24
|
-
static isKeyRepeatable(keySymbol: number): boolean;
|
|
25
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebXKeyboardUtils = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Utility class for keyboard-related operations.
|
|
6
|
-
*
|
|
7
|
-
* This class provides methods to map characters to keysyms and determine
|
|
8
|
-
* whether a key is repeatable.
|
|
9
|
-
*/
|
|
10
|
-
class WebXKeyboardUtils {
|
|
11
|
-
/**
|
|
12
|
-
* Maps a Unicode character code to its corresponding X11 keysym.
|
|
13
|
-
*
|
|
14
|
-
* @param codepoint The Unicode character code.
|
|
15
|
-
* @returns The corresponding X11 keysym.
|
|
16
|
-
*/
|
|
17
|
-
static keysymFromCharCode(codepoint) {
|
|
18
|
-
const isControlCharacter = (char) => {
|
|
19
|
-
return char <= 0x1f || (char >= 0x7f && char <= 0x9f);
|
|
20
|
-
};
|
|
21
|
-
// Keysyms for control characters
|
|
22
|
-
if (isControlCharacter(codepoint)) {
|
|
23
|
-
return 0xff00 | codepoint;
|
|
24
|
-
}
|
|
25
|
-
// Keysyms for ASCII chars
|
|
26
|
-
if (codepoint >= 0x0000 && codepoint <= 0x00ff) {
|
|
27
|
-
return codepoint;
|
|
28
|
-
}
|
|
29
|
-
// Keysyms for Unicode
|
|
30
|
-
if (codepoint >= 0x0100 && codepoint <= 0x10ffff) {
|
|
31
|
-
// return 0x01000000 | codepoint;
|
|
32
|
-
return codepoint;
|
|
33
|
-
}
|
|
34
|
-
return null;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Determines whether a key is repeatable.
|
|
38
|
-
*
|
|
39
|
-
* Modifier keys (e.g., Shift, Ctrl, Alt) are not repeatable.
|
|
40
|
-
*
|
|
41
|
-
* @param keysym The keysym of the key to check.
|
|
42
|
-
* @returns True if the key is repeatable, false otherwise.
|
|
43
|
-
*/
|
|
44
|
-
static isKeyRepeatable(keySymbol) {
|
|
45
|
-
return !WebXKeyboardUtils.NON_REPEATABLE_KEYS.includes(keySymbol);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
exports.WebXKeyboardUtils = WebXKeyboardUtils;
|
|
49
|
-
WebXKeyboardUtils.NON_REPEATABLE_KEYS = [
|
|
50
|
-
0xfe03, // ISO Level 3 Shift (AltGr)
|
|
51
|
-
0xffe1, // Left shift
|
|
52
|
-
0xffe2, // Right shift
|
|
53
|
-
0xffe3, // Left ctrl
|
|
54
|
-
0xffe4, // Right ctrl
|
|
55
|
-
0xffe5, // Caps Lock
|
|
56
|
-
0xffe7, // Left meta
|
|
57
|
-
0xffe8, // Right meta
|
|
58
|
-
0xffe9, // Left alt
|
|
59
|
-
0xffea, // Right alt
|
|
60
|
-
0xffeb, // Left hyper
|
|
61
|
-
0xffec // Right hyper
|
|
62
|
-
];
|
|
63
|
-
//# sourceMappingURL=WebXKeyboardUtils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WebXKeyboardUtils.js","sourceRoot":"","sources":["../../../src/input/keyboard/WebXKeyboardUtils.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,MAAa,iBAAiB;IAC5B;;;;;OAKG;IACI,MAAM,CAAC,kBAAkB,CAAC,SAAiB;QAChD,MAAM,kBAAkB,GAAG,CAAC,IAAY,EAAE,EAAE;YAC1C,OAAO,IAAI,IAAI,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAC,CAAC;QACxD,CAAC,CAAC;QAEF,iCAAiC;QACjC,IAAI,kBAAkB,CAAC,SAAS,CAAC,EAAE,CAAC;YAClC,OAAO,MAAM,GAAG,SAAS,CAAC;QAC5B,CAAC;QAED,0BAA0B;QAC1B,IAAI,SAAS,IAAI,MAAM,IAAI,SAAS,IAAI,MAAM,EAAE,CAAC;YAC/C,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,sBAAsB;QACtB,IAAI,SAAS,IAAI,MAAM,IAAI,SAAS,IAAI,QAAQ,EAAE,CAAC;YACjD,iCAAiC;YACjC,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAiBD;;;;;;;OAOG;IACI,MAAM,CAAC,eAAe,CAAC,SAAiB;QAC7C,OAAO,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IACpE,CAAC;;AAxDH,8CAyDC;AA1Be,qCAAmB,GAAkB;IACjD,MAAM,EAAE,4BAA4B;IACpC,MAAM,EAAE,aAAa;IACrB,MAAM,EAAE,cAAc;IACtB,MAAM,EAAE,YAAY;IACpB,MAAM,EAAE,aAAa;IACrB,MAAM,EAAE,YAAY;IACpB,MAAM,EAAE,YAAY;IACpB,MAAM,EAAE,aAAa;IACrB,MAAM,EAAE,WAAW;IACnB,MAAM,EAAE,YAAY;IACpB,MAAM,EAAE,aAAa;IACrB,MAAM,CAAC,cAAc;CACtB,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { WebXKeyEvent } from './WebXKeyEvent';
|
|
2
|
-
/**
|
|
3
|
-
* Represents a keydown event in the WebX client.
|
|
4
|
-
*
|
|
5
|
-
* This event is triggered when a key is pressed down.
|
|
6
|
-
*/
|
|
7
|
-
export declare class WebXKeydownEvent extends WebXKeyEvent {
|
|
8
|
-
/**
|
|
9
|
-
* Indicates whether the keyup event is reliable for this key.
|
|
10
|
-
*/
|
|
11
|
-
readonly keyupReliable: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* The JavaScript key code of the key pressed.
|
|
14
|
-
*/
|
|
15
|
-
readonly keyCode: number;
|
|
16
|
-
/**
|
|
17
|
-
* The legacy DOM3 "keyIdentifier" of the key pressed.
|
|
18
|
-
*/
|
|
19
|
-
readonly keyIdentifier: string;
|
|
20
|
-
/**
|
|
21
|
-
* The standard name of the key pressed.
|
|
22
|
-
*/
|
|
23
|
-
readonly key: string;
|
|
24
|
-
/**
|
|
25
|
-
* The location on the keyboard corresponding to the key pressed.
|
|
26
|
-
*/
|
|
27
|
-
readonly location: number;
|
|
28
|
-
/**
|
|
29
|
-
* Information related to the pressing of a key, which need not be a key
|
|
30
|
-
* associated with a printable character. The presence or absence of any
|
|
31
|
-
* information within this object is browser-dependent.
|
|
32
|
-
*
|
|
33
|
-
* @constructor
|
|
34
|
-
* @augments WebXKeyEvent
|
|
35
|
-
* @param {number} keyCode The JavaScript key code of the key pressed.
|
|
36
|
-
* @param {string} keyIdentifier The legacy DOM3 "keyIdentifier" of the key
|
|
37
|
-
* pressed, as defined at:
|
|
38
|
-
* http://www.w3.org/TR/2009/WD-DOM-Level-3-Events-20090908/#events-Events-KeyboardEvent
|
|
39
|
-
* @param {string} key The standard name of the key pressed, as defined at:
|
|
40
|
-
* http://www.w3.org/TR/DOM-Level-3-Events/#events-KeyboardEvent
|
|
41
|
-
* @param {number} location The location on the keyboard corresponding to
|
|
42
|
-
* the key pressed, as defined at:
|
|
43
|
-
* http://www.w3.org/TR/DOM-Level-3-Events/#events-KeyboardEvent
|
|
44
|
-
*/
|
|
45
|
-
constructor(keyCode: number, keyIdentifier: string, key: string, location: number);
|
|
46
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebXKeydownEvent = void 0;
|
|
4
|
-
const WebXKeyEvent_1 = require("./WebXKeyEvent");
|
|
5
|
-
const WebXKeyboard_1 = require("../WebXKeyboard");
|
|
6
|
-
/**
|
|
7
|
-
* Represents a keydown event in the WebX client.
|
|
8
|
-
*
|
|
9
|
-
* This event is triggered when a key is pressed down.
|
|
10
|
-
*/
|
|
11
|
-
class WebXKeydownEvent extends WebXKeyEvent_1.WebXKeyEvent {
|
|
12
|
-
/**
|
|
13
|
-
* Information related to the pressing of a key, which need not be a key
|
|
14
|
-
* associated with a printable character. The presence or absence of any
|
|
15
|
-
* information within this object is browser-dependent.
|
|
16
|
-
*
|
|
17
|
-
* @constructor
|
|
18
|
-
* @augments WebXKeyEvent
|
|
19
|
-
* @param {number} keyCode The JavaScript key code of the key pressed.
|
|
20
|
-
* @param {string} keyIdentifier The legacy DOM3 "keyIdentifier" of the key
|
|
21
|
-
* pressed, as defined at:
|
|
22
|
-
* http://www.w3.org/TR/2009/WD-DOM-Level-3-Events-20090908/#events-Events-KeyboardEvent
|
|
23
|
-
* @param {string} key The standard name of the key pressed, as defined at:
|
|
24
|
-
* http://www.w3.org/TR/DOM-Level-3-Events/#events-KeyboardEvent
|
|
25
|
-
* @param {number} location The location on the keyboard corresponding to
|
|
26
|
-
* the key pressed, as defined at:
|
|
27
|
-
* http://www.w3.org/TR/DOM-Level-3-Events/#events-KeyboardEvent
|
|
28
|
-
*/
|
|
29
|
-
constructor(keyCode, keyIdentifier, key, location) {
|
|
30
|
-
super();
|
|
31
|
-
this.keyCode = keyCode;
|
|
32
|
-
this.keyIdentifier = keyIdentifier;
|
|
33
|
-
this.key = key;
|
|
34
|
-
this.location = location;
|
|
35
|
-
this.keyupReliable = !WebXKeyboard_1.WebXKeyboard.quirks.keyupUnreliable;
|
|
36
|
-
this._keysym = this.keysymFromKeyIdentifier(key, location) || this.keysymFromKeycode(keyCode, location);
|
|
37
|
-
if (this._keysym && !this.isPrintable()) {
|
|
38
|
-
this._reliable = true;
|
|
39
|
-
}
|
|
40
|
-
if (!this._keysym && this.keyIdentifierSane(keyCode, keyIdentifier)) {
|
|
41
|
-
this._keysym = this.keysymFromKeyIdentifier(keyIdentifier, location, WebXKeyboard_1.WebXKeyboard.modifiers.shift);
|
|
42
|
-
}
|
|
43
|
-
// If a key is pressed while meta is held down, the keyup will
|
|
44
|
-
// never be sent in Chrome (bug #108404)
|
|
45
|
-
if (WebXKeyboard_1.WebXKeyboard.modifiers.meta && this._keysym !== 0xFFE7 && this._keysym !== 0xFFE8) {
|
|
46
|
-
this.keyupReliable = false;
|
|
47
|
-
}
|
|
48
|
-
else if (this.keysym === 0xFFE5 && WebXKeyboard_1.WebXKeyboard.quirks.capsLockKeyupUnreliable) {
|
|
49
|
-
this.keyupReliable = false;
|
|
50
|
-
}
|
|
51
|
-
// Determine whether default action for Ctrl+combinations must be prevented
|
|
52
|
-
const preventAlt = !WebXKeyboard_1.WebXKeyboard.modifiers.ctrl && !WebXKeyboard_1.WebXKeyboard.quirks.altIsTypableOnly;
|
|
53
|
-
// Determine whether default action for Ctrl+combinations must be prevented
|
|
54
|
-
const preventCtrl = !WebXKeyboard_1.WebXKeyboard.modifiers.alt;
|
|
55
|
-
// We must rely on the (potentially buggy) keyIdentifier if preventing
|
|
56
|
-
// the default action is important
|
|
57
|
-
if ((preventCtrl && WebXKeyboard_1.WebXKeyboard.modifiers.ctrl)
|
|
58
|
-
|| (preventAlt && WebXKeyboard_1.WebXKeyboard.modifiers.alt)
|
|
59
|
-
|| WebXKeyboard_1.WebXKeyboard.modifiers.meta
|
|
60
|
-
|| WebXKeyboard_1.WebXKeyboard.modifiers.hyper) {
|
|
61
|
-
this.reliable = true;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
exports.WebXKeydownEvent = WebXKeydownEvent;
|
|
66
|
-
//# sourceMappingURL=WebXKeydownEvent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WebXKeydownEvent.js","sourceRoot":"","sources":["../../../src/input/keyboard/WebXKeydownEvent.ts"],"names":[],"mappings":";;;AAAA,iDAA8C;AAC9C,kDAA+C;AAE/C;;;;GAIG;AACH,MAAa,gBAAiB,SAAQ,2BAAY;IA2BhD;;;;;;;;;;;;;;;;OAgBG;IACH,YAAY,OAAe,EAAE,aAAqB,EAAE,GAAW,EAAE,QAAgB;QAC/E,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,aAAa,GAAG,CAAC,2BAAY,CAAC,MAAM,CAAC,eAAe,CAAC;QAC1D,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,uBAAuB,CAAC,GAAG,EAAE,QAAQ,CAAC,IAAI,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QAExG,IAAI,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC;YACxC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACxB,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAAE,aAAa,CAAC,EAAE,CAAC;YACpE,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,uBAAuB,CAAC,aAAa,EAAE,QAAQ,EAAE,2BAAY,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QACrG,CAAC;QAED,8DAA8D;QAC9D,wCAAwC;QACxC,IAAI,2BAAY,CAAC,SAAS,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,MAAM,IAAI,IAAI,CAAC,OAAO,KAAK,MAAM,EAAE,CAAC;YACtF,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC7B,CAAC;aAAM,IAAI,IAAI,CAAC,MAAM,KAAK,MAAM,IAAI,2BAAY,CAAC,MAAM,CAAC,uBAAuB,EAAE,CAAC;YACjF,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC7B,CAAC;QAED,2EAA2E;QAC3E,MAAM,UAAU,GAAG,CAAC,2BAAY,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,2BAAY,CAAC,MAAM,CAAC,gBAAgB,CAAC;QAEzF,2EAA2E;QAC3E,MAAM,WAAW,GAAG,CAAC,2BAAY,CAAC,SAAS,CAAC,GAAG,CAAC;QAEhD,sEAAsE;QACtE,kCAAkC;QAClC,IAAI,CAAC,WAAW,IAAI,2BAAY,CAAC,SAAS,CAAC,IAAI,CAAC;eAC3C,CAAC,UAAU,IAAI,2BAAY,CAAC,SAAS,CAAC,GAAG,CAAC;eAC1C,2BAAY,CAAC,SAAS,CAAC,IAAI;eAC3B,2BAAY,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;YAClC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACvB,CAAC;IAEH,CAAC;CACF;AArFD,4CAqFC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./WebXKeyEvent"), exports);
|
|
18
|
-
__exportStar(require("./WebXKeyboardModifierState"), exports);
|
|
19
|
-
__exportStar(require("./WebXKeyPressEvent"), exports);
|
|
20
|
-
__exportStar(require("./WebXKeydownEvent"), exports);
|
|
21
|
-
__exportStar(require("./WebXKeyboardUtils"), exports);
|
|
22
|
-
__exportStar(require("./WebXKeyUpEvent"), exports);
|
|
23
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/input/keyboard/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,8DAA4C;AAC5C,sDAAoC;AACpC,qDAAmC;AACnC,sDAAoC;AACpC,mDAAiC"}
|