@yume-chan/scrcpy 0.0.18 → 0.0.19
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/CHANGELOG.json +18 -0
- package/CHANGELOG.md +10 -1
- package/README.md +111 -61
- package/bin/scrcpy-server +0 -0
- package/bin/version.d.ts +1 -1
- package/bin/version.js +1 -1
- package/esm/adb/client.d.ts +40 -40
- package/esm/adb/client.d.ts.map +1 -1
- package/esm/adb/client.js +223 -242
- package/esm/adb/client.js.map +1 -1
- package/esm/adb/connection.d.ts +48 -46
- package/esm/adb/connection.d.ts.map +1 -1
- package/esm/adb/connection.js +121 -109
- package/esm/adb/connection.js.map +1 -1
- package/esm/adb/index.d.ts +3 -3
- package/esm/adb/index.js +3 -3
- package/esm/adb/options/1_16.d.ts +7 -7
- package/esm/adb/options/1_16.d.ts.map +1 -1
- package/esm/adb/options/1_16.js +19 -19
- package/esm/adb/options/1_16.js.map +1 -1
- package/esm/adb/options/1_22.d.ts +7 -7
- package/esm/adb/options/1_22.d.ts.map +1 -1
- package/esm/adb/options/1_22.js +16 -16
- package/esm/adb/options/1_22.js.map +1 -1
- package/esm/adb/options/1_26.d.ts +9 -0
- package/esm/adb/options/1_26.d.ts.map +1 -0
- package/esm/adb/options/1_26.js +11 -0
- package/esm/adb/options/1_26.js.map +1 -0
- package/esm/adb/options/2_0.d.ts +8 -0
- package/esm/adb/options/2_0.d.ts.map +1 -0
- package/esm/adb/options/2_0.js +13 -0
- package/esm/adb/options/2_0.js.map +1 -0
- package/esm/adb/options/index.d.ts +3 -3
- package/esm/adb/options/index.js +3 -3
- package/esm/adb/options/types.d.ts +23 -23
- package/esm/adb/options/types.d.ts.map +1 -1
- package/esm/adb/options/types.js +36 -36
- package/esm/codec/av1.d.ts +33 -0
- package/esm/codec/av1.d.ts.map +1 -0
- package/esm/codec/av1.js +35 -0
- package/esm/codec/av1.js.map +1 -0
- package/esm/codec/h264.d.ts +98 -0
- package/esm/codec/h264.d.ts.map +1 -0
- package/esm/codec/h264.js +477 -0
- package/esm/codec/h264.js.map +1 -0
- package/esm/codec/h265.d.ts +36 -0
- package/esm/codec/h265.d.ts.map +1 -0
- package/esm/codec/h265.js +38 -0
- package/esm/codec/h265.js.map +1 -0
- package/esm/codec/index.d.ts +4 -0
- package/esm/codec/index.d.ts.map +1 -0
- package/esm/codec/index.js +4 -0
- package/esm/codec/index.js.map +1 -0
- package/esm/codec.d.ts +33 -33
- package/esm/codec.js +36 -36
- package/esm/control/back-or-screen-on.d.ts +2 -2
- package/esm/control/back-or-screen-on.d.ts.map +1 -1
- package/esm/control/back-or-screen-on.js +1 -1
- package/esm/control/basic.d.ts +5 -0
- package/esm/control/basic.d.ts.map +1 -0
- package/esm/control/basic.js +3 -0
- package/esm/control/basic.js.map +1 -0
- package/esm/control/hover-helper.d.ts +17 -17
- package/esm/control/hover-helper.d.ts.map +1 -1
- package/esm/control/hover-helper.js +43 -43
- package/esm/control/hover-helper.js.map +1 -1
- package/esm/control/index.d.ts +11 -11
- package/esm/control/index.js +11 -11
- package/esm/control/inject-keycode.d.ts +194 -60
- package/esm/control/inject-keycode.d.ts.map +1 -1
- package/esm/control/inject-keycode.js +199 -61
- package/esm/control/inject-keycode.js.map +1 -1
- package/esm/control/inject-scroll.d.ts +2 -2
- package/esm/control/inject-scroll.d.ts.map +1 -1
- package/esm/control/inject-scroll.js +1 -1
- package/esm/control/inject-text.d.ts +8 -8
- package/esm/control/inject-text.d.ts.map +1 -1
- package/esm/control/inject-text.js +6 -6
- package/esm/control/inject-text.js.map +1 -1
- package/esm/control/inject-touch.d.ts +37 -37
- package/esm/control/inject-touch.d.ts.map +1 -1
- package/esm/control/inject-touch.js +62 -62
- package/esm/control/rotate-device.d.ts +6 -6
- package/esm/control/rotate-device.d.ts.map +1 -1
- package/esm/control/rotate-device.js +3 -4
- package/esm/control/rotate-device.js.map +1 -1
- package/esm/control/serializer.d.ts +35 -33
- package/esm/control/serializer.d.ts.map +1 -1
- package/esm/control/serializer.js +82 -78
- package/esm/control/serializer.js.map +1 -1
- package/esm/control/set-clipboard.d.ts +2 -2
- package/esm/control/set-clipboard.d.ts.map +1 -1
- package/esm/control/set-clipboard.js +1 -1
- package/esm/control/set-screen-power-mode.d.ts +11 -11
- package/esm/control/set-screen-power-mode.d.ts.map +1 -1
- package/esm/control/set-screen-power-mode.js +11 -11
- package/esm/control/set-screen-power-mode.js.map +1 -1
- package/esm/control/simple.d.ts +5 -0
- package/esm/control/simple.d.ts.map +1 -0
- package/esm/control/simple.js +3 -0
- package/esm/control/simple.js.map +1 -0
- package/esm/control/type.d.ts +14 -14
- package/esm/control/type.js +18 -18
- package/esm/decoder.d.ts +2 -0
- package/esm/decoder.d.ts.map +1 -0
- package/esm/decoder.js +2 -0
- package/esm/decoder.js.map +1 -0
- package/esm/device-message/ack-clipboard.d.ts +8 -8
- package/esm/device-message/ack-clipboard.d.ts.map +1 -1
- package/esm/device-message/ack-clipboard.js +5 -5
- package/esm/device-message/clipboard.d.ts +9 -9
- package/esm/device-message/clipboard.d.ts.map +1 -1
- package/esm/device-message/clipboard.js +6 -6
- package/esm/device-message/index.d.ts +4 -4
- package/esm/device-message/index.js +4 -4
- package/esm/device-message/stream.d.ts +7 -7
- package/esm/device-message/stream.js +19 -19
- package/esm/device-message/type.d.ts +4 -4
- package/esm/device-message/type.js +6 -6
- package/esm/index.d.ts +5 -5
- package/esm/index.js +5 -5
- package/esm/options/1.17.d.ts +3 -0
- package/esm/options/1.17.d.ts.map +1 -0
- package/esm/options/1.17.js +2 -0
- package/esm/options/1.17.js.map +1 -0
- package/esm/options/1_16/codec-options.d.ts +20 -19
- package/esm/options/1_16/codec-options.d.ts.map +1 -1
- package/esm/options/1_16/codec-options.js +25 -25
- package/esm/options/1_16/codec-options.js.map +1 -1
- package/esm/options/1_16/float-to-uint16.d.ts +5 -0
- package/esm/options/1_16/float-to-uint16.d.ts.map +1 -0
- package/esm/options/1_16/float-to-uint16.js +27 -0
- package/esm/options/1_16/float-to-uint16.js.map +1 -0
- package/esm/options/1_16/h264-configuration.d.ts +48 -48
- package/esm/options/1_16/h264-configuration.js +413 -413
- package/esm/options/1_16/index.d.ts +4 -4
- package/esm/options/1_16/index.js +4 -4
- package/esm/options/1_16/init.d.ts +66 -0
- package/esm/options/1_16/init.d.ts.map +1 -0
- package/esm/options/1_16/init.js +16 -0
- package/esm/options/1_16/init.js.map +1 -0
- package/esm/options/1_16/message.d.ts +32 -0
- package/esm/options/1_16/message.d.ts.map +1 -0
- package/esm/options/1_16/message.js +37 -0
- package/esm/options/1_16/message.js.map +1 -0
- package/esm/options/1_16/options.d.ts +102 -93
- package/esm/options/1_16/options.d.ts.map +1 -1
- package/esm/options/1_16/options.js +189 -189
- package/esm/options/1_16/options.js.map +1 -1
- package/esm/options/1_16/scroll.d.ts +27 -26
- package/esm/options/1_16/scroll.d.ts.map +1 -1
- package/esm/options/1_16/scroll.js +55 -55
- package/esm/options/1_16/scroll.js.map +1 -1
- package/esm/options/1_17.d.ts +32 -0
- package/esm/options/1_17.d.ts.map +1 -0
- package/esm/options/1_17.js +36 -0
- package/esm/options/1_17.js.map +1 -0
- package/esm/options/1_18.d.ts +21 -19
- package/esm/options/1_18.d.ts.map +1 -1
- package/esm/options/1_18.js +45 -45
- package/esm/options/1_18.js.map +1 -1
- package/esm/options/1_21.d.ts +22 -20
- package/esm/options/1_21.d.ts.map +1 -1
- package/esm/options/1_21.js +36 -36
- package/esm/options/1_21.js.map +1 -1
- package/esm/options/1_22/index.d.ts +2 -2
- package/esm/options/1_22/index.js +2 -2
- package/esm/options/1_22/init.d.ts +17 -0
- package/esm/options/1_22/init.d.ts.map +1 -0
- package/esm/options/1_22/init.js +2 -0
- package/esm/options/1_22/init.js.map +1 -0
- package/esm/options/1_22/options.d.ts +29 -28
- package/esm/options/1_22/options.d.ts.map +1 -1
- package/esm/options/1_22/options.js +25 -25
- package/esm/options/1_22/options.js.map +1 -1
- package/esm/options/1_22/scroll.d.ts +16 -16
- package/esm/options/1_22/scroll.d.ts.map +1 -1
- package/esm/options/1_22/scroll.js +14 -14
- package/esm/options/1_23.d.ts +12 -11
- package/esm/options/1_23.d.ts.map +1 -1
- package/esm/options/1_23.js +34 -34
- package/esm/options/1_23.js.map +1 -1
- package/esm/options/1_24.d.ts +9 -8
- package/esm/options/1_24.d.ts.map +1 -1
- package/esm/options/1_24.js +12 -12
- package/esm/options/1_24.js.map +1 -1
- package/esm/options/1_25/index.d.ts +2 -2
- package/esm/options/1_25/index.js +2 -2
- package/esm/options/1_25/options.d.ts +6 -5
- package/esm/options/1_25/options.d.ts.map +1 -1
- package/esm/options/1_25/options.js +7 -7
- package/esm/options/1_25/options.js.map +1 -1
- package/esm/options/1_25/scroll.d.ts +19 -18
- package/esm/options/1_25/scroll.d.ts.map +1 -1
- package/esm/options/1_25/scroll.js +32 -32
- package/esm/options/1_25/scroll.js.map +1 -1
- package/esm/options/1_26.d.ts +57 -0
- package/esm/options/1_26.d.ts.map +1 -0
- package/esm/options/1_26.js +67 -0
- package/esm/options/1_26.js.map +1 -0
- package/esm/options/2.d.ts +57 -0
- package/esm/options/2.d.ts.map +1 -0
- package/esm/options/2.js +67 -0
- package/esm/options/2.js.map +1 -0
- package/esm/options/2_0.d.ts +87 -0
- package/esm/options/2_0.d.ts.map +1 -0
- package/esm/options/2_0.js +175 -0
- package/esm/options/2_0.js.map +1 -0
- package/esm/options/codec.d.ts +52 -0
- package/esm/options/codec.d.ts.map +1 -0
- package/esm/options/codec.js +26 -0
- package/esm/options/codec.js.map +1 -0
- package/esm/options/index.d.ts +8 -8
- package/esm/options/index.js +8 -8
- package/esm/options/latest.d.ts +12 -0
- package/esm/options/latest.d.ts.map +1 -0
- package/esm/options/latest.js +8 -0
- package/esm/options/latest.js.map +1 -0
- package/esm/options/types.d.ts +46 -46
- package/esm/options/types.d.ts.map +1 -1
- package/esm/options/types.js +17 -17
- package/package.json +11 -10
- package/src/adb/client.ts +72 -88
- package/src/adb/connection.ts +42 -25
- package/src/adb/index.ts +3 -3
- package/src/adb/options/1_16.ts +6 -4
- package/src/adb/options/1_22.ts +3 -3
- package/src/adb/options/index.ts +3 -3
- package/src/adb/options/types.ts +10 -10
- package/src/control/back-or-screen-on.ts +1 -1
- package/src/control/hover-helper.ts +2 -4
- package/src/control/inject-keycode.ts +193 -48
- package/src/control/inject-scroll.ts +1 -1
- package/src/control/inject-text.ts +7 -8
- package/src/control/inject-touch.ts +1 -1
- package/src/control/rotate-device.ts +7 -6
- package/src/control/serializer.ts +29 -26
- package/src/control/set-clipboard.ts +1 -1
- package/src/control/set-screen-power-mode.ts +7 -8
- package/src/device-message/ack-clipboard.ts +1 -1
- package/src/device-message/clipboard.ts +1 -1
- package/src/index.ts +5 -5
- package/src/options/1_16/codec-options.ts +4 -6
- package/src/options/1_16/options.ts +17 -12
- package/src/options/1_16/scroll.ts +2 -4
- package/src/options/1_18.ts +6 -6
- package/src/options/1_21.ts +5 -6
- package/src/options/1_22/options.ts +3 -2
- package/src/options/1_22/scroll.ts +1 -1
- package/src/options/1_23.ts +3 -5
- package/src/options/1_24.ts +5 -3
- package/src/options/1_25/options.ts +3 -2
- package/src/options/1_25/scroll.ts +4 -7
- package/src/options/index.ts +3 -3
- package/src/options/types.ts +8 -8
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare enum AndroidHevcProfile {
|
|
2
|
+
Main = 1,
|
|
3
|
+
Main10 = 2,
|
|
4
|
+
MainStill = 4,
|
|
5
|
+
Main10Hdr10 = 4096,
|
|
6
|
+
Main10Hdr10Plus = 8192
|
|
7
|
+
}
|
|
8
|
+
export declare enum AndroidHevcLevel {
|
|
9
|
+
MainTierLevel1 = 1,
|
|
10
|
+
HighTierLevel1 = 2,
|
|
11
|
+
MainTierLevel2 = 4,
|
|
12
|
+
HighTierLevel2 = 8,
|
|
13
|
+
MainTierLevel21 = 16,
|
|
14
|
+
HighTierLevel21 = 32,
|
|
15
|
+
MainTierLevel3 = 64,
|
|
16
|
+
HighTierLevel3 = 128,
|
|
17
|
+
MainTierLevel31 = 256,
|
|
18
|
+
HighTierLevel31 = 512,
|
|
19
|
+
MainTierLevel4 = 1024,
|
|
20
|
+
HighTierLevel4 = 2048,
|
|
21
|
+
MainTierLevel41 = 4096,
|
|
22
|
+
HighTierLevel41 = 8192,
|
|
23
|
+
MainTierLevel5 = 16384,
|
|
24
|
+
HighTierLevel5 = 32768,
|
|
25
|
+
MainTierLevel51 = 65536,
|
|
26
|
+
HighTierLevel51 = 131072,
|
|
27
|
+
MainTierLevel52 = 262144,
|
|
28
|
+
HighTierLevel52 = 524288,
|
|
29
|
+
MainTierLevel6 = 1048576,
|
|
30
|
+
HighTierLevel6 = 2097152,
|
|
31
|
+
MainTierLevel61 = 4194304,
|
|
32
|
+
HighTierLevel61 = 8388608,
|
|
33
|
+
MainTierLevel62 = 16777216,
|
|
34
|
+
HighTierLevel62 = 33554432
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=h265.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"h265.d.ts","sourceRoot":"","sources":["../../src/codec/h265.ts"],"names":[],"mappings":"AAAA,oBAAY,kBAAkB;IAC1B,IAAI,IAAS;IACb,MAAM,IAAS;IACf,SAAS,IAAS;IAClB,WAAW,OAAU;IACrB,eAAe,OAAU;CAC5B;AAED,oBAAY,gBAAgB;IACxB,cAAc,IAAS;IACvB,cAAc,IAAS;IACvB,cAAc,IAAS;IACvB,cAAc,IAAS;IACvB,eAAe,KAAS;IACxB,eAAe,KAAS;IACxB,cAAc,KAAS;IACvB,cAAc,MAAS;IACvB,eAAe,MAAS;IACxB,eAAe,MAAS;IACxB,cAAc,OAAU;IACxB,cAAc,OAAU;IACxB,eAAe,OAAU;IACzB,eAAe,OAAU;IACzB,cAAc,QAAU;IACxB,cAAc,QAAU;IACxB,eAAe,QAAU;IACzB,eAAe,SAAU;IACzB,eAAe,SAAU;IACzB,eAAe,SAAU;IACzB,cAAc,UAAU;IACxB,cAAc,UAAU;IACxB,eAAe,UAAU;IACzB,eAAe,UAAU;IACzB,eAAe,WAAU;IACzB,eAAe,WAAU;CAC5B"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export var AndroidHevcProfile;
|
|
2
|
+
(function (AndroidHevcProfile) {
|
|
3
|
+
AndroidHevcProfile[AndroidHevcProfile["Main"] = 1] = "Main";
|
|
4
|
+
AndroidHevcProfile[AndroidHevcProfile["Main10"] = 2] = "Main10";
|
|
5
|
+
AndroidHevcProfile[AndroidHevcProfile["MainStill"] = 4] = "MainStill";
|
|
6
|
+
AndroidHevcProfile[AndroidHevcProfile["Main10Hdr10"] = 4096] = "Main10Hdr10";
|
|
7
|
+
AndroidHevcProfile[AndroidHevcProfile["Main10Hdr10Plus"] = 8192] = "Main10Hdr10Plus";
|
|
8
|
+
})(AndroidHevcProfile = AndroidHevcProfile || (AndroidHevcProfile = {}));
|
|
9
|
+
export var AndroidHevcLevel;
|
|
10
|
+
(function (AndroidHevcLevel) {
|
|
11
|
+
AndroidHevcLevel[AndroidHevcLevel["MainTierLevel1"] = 1] = "MainTierLevel1";
|
|
12
|
+
AndroidHevcLevel[AndroidHevcLevel["HighTierLevel1"] = 2] = "HighTierLevel1";
|
|
13
|
+
AndroidHevcLevel[AndroidHevcLevel["MainTierLevel2"] = 4] = "MainTierLevel2";
|
|
14
|
+
AndroidHevcLevel[AndroidHevcLevel["HighTierLevel2"] = 8] = "HighTierLevel2";
|
|
15
|
+
AndroidHevcLevel[AndroidHevcLevel["MainTierLevel21"] = 16] = "MainTierLevel21";
|
|
16
|
+
AndroidHevcLevel[AndroidHevcLevel["HighTierLevel21"] = 32] = "HighTierLevel21";
|
|
17
|
+
AndroidHevcLevel[AndroidHevcLevel["MainTierLevel3"] = 64] = "MainTierLevel3";
|
|
18
|
+
AndroidHevcLevel[AndroidHevcLevel["HighTierLevel3"] = 128] = "HighTierLevel3";
|
|
19
|
+
AndroidHevcLevel[AndroidHevcLevel["MainTierLevel31"] = 256] = "MainTierLevel31";
|
|
20
|
+
AndroidHevcLevel[AndroidHevcLevel["HighTierLevel31"] = 512] = "HighTierLevel31";
|
|
21
|
+
AndroidHevcLevel[AndroidHevcLevel["MainTierLevel4"] = 1024] = "MainTierLevel4";
|
|
22
|
+
AndroidHevcLevel[AndroidHevcLevel["HighTierLevel4"] = 2048] = "HighTierLevel4";
|
|
23
|
+
AndroidHevcLevel[AndroidHevcLevel["MainTierLevel41"] = 4096] = "MainTierLevel41";
|
|
24
|
+
AndroidHevcLevel[AndroidHevcLevel["HighTierLevel41"] = 8192] = "HighTierLevel41";
|
|
25
|
+
AndroidHevcLevel[AndroidHevcLevel["MainTierLevel5"] = 16384] = "MainTierLevel5";
|
|
26
|
+
AndroidHevcLevel[AndroidHevcLevel["HighTierLevel5"] = 32768] = "HighTierLevel5";
|
|
27
|
+
AndroidHevcLevel[AndroidHevcLevel["MainTierLevel51"] = 65536] = "MainTierLevel51";
|
|
28
|
+
AndroidHevcLevel[AndroidHevcLevel["HighTierLevel51"] = 131072] = "HighTierLevel51";
|
|
29
|
+
AndroidHevcLevel[AndroidHevcLevel["MainTierLevel52"] = 262144] = "MainTierLevel52";
|
|
30
|
+
AndroidHevcLevel[AndroidHevcLevel["HighTierLevel52"] = 524288] = "HighTierLevel52";
|
|
31
|
+
AndroidHevcLevel[AndroidHevcLevel["MainTierLevel6"] = 1048576] = "MainTierLevel6";
|
|
32
|
+
AndroidHevcLevel[AndroidHevcLevel["HighTierLevel6"] = 2097152] = "HighTierLevel6";
|
|
33
|
+
AndroidHevcLevel[AndroidHevcLevel["MainTierLevel61"] = 4194304] = "MainTierLevel61";
|
|
34
|
+
AndroidHevcLevel[AndroidHevcLevel["HighTierLevel61"] = 8388608] = "HighTierLevel61";
|
|
35
|
+
AndroidHevcLevel[AndroidHevcLevel["MainTierLevel62"] = 16777216] = "MainTierLevel62";
|
|
36
|
+
AndroidHevcLevel[AndroidHevcLevel["HighTierLevel62"] = 33554432] = "HighTierLevel62";
|
|
37
|
+
})(AndroidHevcLevel = AndroidHevcLevel || (AndroidHevcLevel = {}));
|
|
38
|
+
//# sourceMappingURL=h265.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"h265.js","sourceRoot":"","sources":["../../src/codec/h265.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,kBAMX;AAND,WAAY,kBAAkB;IAC1B,2DAAa,CAAA;IACb,+DAAe,CAAA;IACf,qEAAkB,CAAA;IAClB,4EAAqB,CAAA;IACrB,oFAAyB,CAAA;AAC7B,CAAC,EANW,kBAAkB,GAAlB,kBAAkB,KAAlB,kBAAkB,QAM7B;AAED,MAAM,CAAN,IAAY,gBA2BX;AA3BD,WAAY,gBAAgB;IACxB,2EAAuB,CAAA;IACvB,2EAAuB,CAAA;IACvB,2EAAuB,CAAA;IACvB,2EAAuB,CAAA;IACvB,8EAAwB,CAAA;IACxB,8EAAwB,CAAA;IACxB,4EAAuB,CAAA;IACvB,6EAAuB,CAAA;IACvB,+EAAwB,CAAA;IACxB,+EAAwB,CAAA;IACxB,8EAAwB,CAAA;IACxB,8EAAwB,CAAA;IACxB,gFAAyB,CAAA;IACzB,gFAAyB,CAAA;IACzB,+EAAwB,CAAA;IACxB,+EAAwB,CAAA;IACxB,iFAAyB,CAAA;IACzB,kFAAyB,CAAA;IACzB,kFAAyB,CAAA;IACzB,kFAAyB,CAAA;IACzB,iFAAwB,CAAA;IACxB,iFAAwB,CAAA;IACxB,mFAAyB,CAAA;IACzB,mFAAyB,CAAA;IACzB,oFAAyB,CAAA;IACzB,oFAAyB,CAAA;AAC7B,CAAC,EA3BW,gBAAgB,GAAhB,gBAAgB,KAAhB,gBAAgB,QA2B3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/codec/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/codec/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
|
package/esm/codec.d.ts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
export declare enum AndroidCodecProfile {
|
|
2
|
-
Baseline = 1,
|
|
3
|
-
Main = 2,
|
|
4
|
-
Extended = 4,
|
|
5
|
-
High = 8,
|
|
6
|
-
High10 = 16,
|
|
7
|
-
High422 = 32,
|
|
8
|
-
High444 = 64,
|
|
9
|
-
ConstrainedBaseline = 65536,
|
|
10
|
-
ConstrainedHigh = 524288
|
|
11
|
-
}
|
|
12
|
-
export declare enum AndroidCodecLevel {
|
|
13
|
-
Level1 = 1,
|
|
14
|
-
Level1b = 2,
|
|
15
|
-
Level11 = 4,
|
|
16
|
-
Level12 = 8,
|
|
17
|
-
Level13 = 16,
|
|
18
|
-
Level2 = 32,
|
|
19
|
-
Level21 = 64,
|
|
20
|
-
Level22 = 128,
|
|
21
|
-
Level3 = 256,
|
|
22
|
-
Level31 = 512,
|
|
23
|
-
Level32 = 1024,
|
|
24
|
-
Level4 = 2048,
|
|
25
|
-
Level41 = 4096,
|
|
26
|
-
Level42 = 8192,
|
|
27
|
-
Level5 = 16384,
|
|
28
|
-
Level51 = 32768,
|
|
29
|
-
Level52 = 65536,
|
|
30
|
-
Level6 = 131072,
|
|
31
|
-
Level61 = 262144,
|
|
32
|
-
Level62 = 524288
|
|
33
|
-
}
|
|
1
|
+
export declare enum AndroidCodecProfile {
|
|
2
|
+
Baseline = 1,
|
|
3
|
+
Main = 2,
|
|
4
|
+
Extended = 4,
|
|
5
|
+
High = 8,
|
|
6
|
+
High10 = 16,
|
|
7
|
+
High422 = 32,
|
|
8
|
+
High444 = 64,
|
|
9
|
+
ConstrainedBaseline = 65536,
|
|
10
|
+
ConstrainedHigh = 524288
|
|
11
|
+
}
|
|
12
|
+
export declare enum AndroidCodecLevel {
|
|
13
|
+
Level1 = 1,
|
|
14
|
+
Level1b = 2,
|
|
15
|
+
Level11 = 4,
|
|
16
|
+
Level12 = 8,
|
|
17
|
+
Level13 = 16,
|
|
18
|
+
Level2 = 32,
|
|
19
|
+
Level21 = 64,
|
|
20
|
+
Level22 = 128,
|
|
21
|
+
Level3 = 256,
|
|
22
|
+
Level31 = 512,
|
|
23
|
+
Level32 = 1024,
|
|
24
|
+
Level4 = 2048,
|
|
25
|
+
Level41 = 4096,
|
|
26
|
+
Level42 = 8192,
|
|
27
|
+
Level5 = 16384,
|
|
28
|
+
Level51 = 32768,
|
|
29
|
+
Level52 = 65536,
|
|
30
|
+
Level6 = 131072,
|
|
31
|
+
Level61 = 262144,
|
|
32
|
+
Level62 = 524288
|
|
33
|
+
}
|
|
34
34
|
//# sourceMappingURL=codec.d.ts.map
|
package/esm/codec.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
// From https://developer.android.com/reference/android/media/MediaCodecInfo.CodecProfileLevel
|
|
2
|
-
export var AndroidCodecProfile;
|
|
3
|
-
(function (AndroidCodecProfile) {
|
|
4
|
-
AndroidCodecProfile[AndroidCodecProfile["Baseline"] = 1] = "Baseline";
|
|
5
|
-
AndroidCodecProfile[AndroidCodecProfile["Main"] = 2] = "Main";
|
|
6
|
-
AndroidCodecProfile[AndroidCodecProfile["Extended"] = 4] = "Extended";
|
|
7
|
-
AndroidCodecProfile[AndroidCodecProfile["High"] = 8] = "High";
|
|
8
|
-
AndroidCodecProfile[AndroidCodecProfile["High10"] = 16] = "High10";
|
|
9
|
-
AndroidCodecProfile[AndroidCodecProfile["High422"] = 32] = "High422";
|
|
10
|
-
AndroidCodecProfile[AndroidCodecProfile["High444"] = 64] = "High444";
|
|
11
|
-
AndroidCodecProfile[AndroidCodecProfile["ConstrainedBaseline"] = 65536] = "ConstrainedBaseline";
|
|
12
|
-
AndroidCodecProfile[AndroidCodecProfile["ConstrainedHigh"] = 524288] = "ConstrainedHigh";
|
|
13
|
-
})(AndroidCodecProfile = AndroidCodecProfile || (AndroidCodecProfile = {}));
|
|
14
|
-
export var AndroidCodecLevel;
|
|
15
|
-
(function (AndroidCodecLevel) {
|
|
16
|
-
AndroidCodecLevel[AndroidCodecLevel["Level1"] = 1] = "Level1";
|
|
17
|
-
AndroidCodecLevel[AndroidCodecLevel["Level1b"] = 2] = "Level1b";
|
|
18
|
-
AndroidCodecLevel[AndroidCodecLevel["Level11"] = 4] = "Level11";
|
|
19
|
-
AndroidCodecLevel[AndroidCodecLevel["Level12"] = 8] = "Level12";
|
|
20
|
-
AndroidCodecLevel[AndroidCodecLevel["Level13"] = 16] = "Level13";
|
|
21
|
-
AndroidCodecLevel[AndroidCodecLevel["Level2"] = 32] = "Level2";
|
|
22
|
-
AndroidCodecLevel[AndroidCodecLevel["Level21"] = 64] = "Level21";
|
|
23
|
-
AndroidCodecLevel[AndroidCodecLevel["Level22"] = 128] = "Level22";
|
|
24
|
-
AndroidCodecLevel[AndroidCodecLevel["Level3"] = 256] = "Level3";
|
|
25
|
-
AndroidCodecLevel[AndroidCodecLevel["Level31"] = 512] = "Level31";
|
|
26
|
-
AndroidCodecLevel[AndroidCodecLevel["Level32"] = 1024] = "Level32";
|
|
27
|
-
AndroidCodecLevel[AndroidCodecLevel["Level4"] = 2048] = "Level4";
|
|
28
|
-
AndroidCodecLevel[AndroidCodecLevel["Level41"] = 4096] = "Level41";
|
|
29
|
-
AndroidCodecLevel[AndroidCodecLevel["Level42"] = 8192] = "Level42";
|
|
30
|
-
AndroidCodecLevel[AndroidCodecLevel["Level5"] = 16384] = "Level5";
|
|
31
|
-
AndroidCodecLevel[AndroidCodecLevel["Level51"] = 32768] = "Level51";
|
|
32
|
-
AndroidCodecLevel[AndroidCodecLevel["Level52"] = 65536] = "Level52";
|
|
33
|
-
AndroidCodecLevel[AndroidCodecLevel["Level6"] = 131072] = "Level6";
|
|
34
|
-
AndroidCodecLevel[AndroidCodecLevel["Level61"] = 262144] = "Level61";
|
|
35
|
-
AndroidCodecLevel[AndroidCodecLevel["Level62"] = 524288] = "Level62";
|
|
36
|
-
})(AndroidCodecLevel = AndroidCodecLevel || (AndroidCodecLevel = {}));
|
|
1
|
+
// From https://developer.android.com/reference/android/media/MediaCodecInfo.CodecProfileLevel
|
|
2
|
+
export var AndroidCodecProfile;
|
|
3
|
+
(function (AndroidCodecProfile) {
|
|
4
|
+
AndroidCodecProfile[AndroidCodecProfile["Baseline"] = 1] = "Baseline";
|
|
5
|
+
AndroidCodecProfile[AndroidCodecProfile["Main"] = 2] = "Main";
|
|
6
|
+
AndroidCodecProfile[AndroidCodecProfile["Extended"] = 4] = "Extended";
|
|
7
|
+
AndroidCodecProfile[AndroidCodecProfile["High"] = 8] = "High";
|
|
8
|
+
AndroidCodecProfile[AndroidCodecProfile["High10"] = 16] = "High10";
|
|
9
|
+
AndroidCodecProfile[AndroidCodecProfile["High422"] = 32] = "High422";
|
|
10
|
+
AndroidCodecProfile[AndroidCodecProfile["High444"] = 64] = "High444";
|
|
11
|
+
AndroidCodecProfile[AndroidCodecProfile["ConstrainedBaseline"] = 65536] = "ConstrainedBaseline";
|
|
12
|
+
AndroidCodecProfile[AndroidCodecProfile["ConstrainedHigh"] = 524288] = "ConstrainedHigh";
|
|
13
|
+
})(AndroidCodecProfile = AndroidCodecProfile || (AndroidCodecProfile = {}));
|
|
14
|
+
export var AndroidCodecLevel;
|
|
15
|
+
(function (AndroidCodecLevel) {
|
|
16
|
+
AndroidCodecLevel[AndroidCodecLevel["Level1"] = 1] = "Level1";
|
|
17
|
+
AndroidCodecLevel[AndroidCodecLevel["Level1b"] = 2] = "Level1b";
|
|
18
|
+
AndroidCodecLevel[AndroidCodecLevel["Level11"] = 4] = "Level11";
|
|
19
|
+
AndroidCodecLevel[AndroidCodecLevel["Level12"] = 8] = "Level12";
|
|
20
|
+
AndroidCodecLevel[AndroidCodecLevel["Level13"] = 16] = "Level13";
|
|
21
|
+
AndroidCodecLevel[AndroidCodecLevel["Level2"] = 32] = "Level2";
|
|
22
|
+
AndroidCodecLevel[AndroidCodecLevel["Level21"] = 64] = "Level21";
|
|
23
|
+
AndroidCodecLevel[AndroidCodecLevel["Level22"] = 128] = "Level22";
|
|
24
|
+
AndroidCodecLevel[AndroidCodecLevel["Level3"] = 256] = "Level3";
|
|
25
|
+
AndroidCodecLevel[AndroidCodecLevel["Level31"] = 512] = "Level31";
|
|
26
|
+
AndroidCodecLevel[AndroidCodecLevel["Level32"] = 1024] = "Level32";
|
|
27
|
+
AndroidCodecLevel[AndroidCodecLevel["Level4"] = 2048] = "Level4";
|
|
28
|
+
AndroidCodecLevel[AndroidCodecLevel["Level41"] = 4096] = "Level41";
|
|
29
|
+
AndroidCodecLevel[AndroidCodecLevel["Level42"] = 8192] = "Level42";
|
|
30
|
+
AndroidCodecLevel[AndroidCodecLevel["Level5"] = 16384] = "Level5";
|
|
31
|
+
AndroidCodecLevel[AndroidCodecLevel["Level51"] = 32768] = "Level51";
|
|
32
|
+
AndroidCodecLevel[AndroidCodecLevel["Level52"] = 65536] = "Level52";
|
|
33
|
+
AndroidCodecLevel[AndroidCodecLevel["Level6"] = 131072] = "Level6";
|
|
34
|
+
AndroidCodecLevel[AndroidCodecLevel["Level61"] = 262144] = "Level61";
|
|
35
|
+
AndroidCodecLevel[AndroidCodecLevel["Level62"] = 524288] = "Level62";
|
|
36
|
+
})(AndroidCodecLevel = AndroidCodecLevel || (AndroidCodecLevel = {}));
|
|
37
37
|
//# sourceMappingURL=codec.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type ScrcpyBackOrScreenOnControlMessage = ScrcpyBackOrScreenOnControlMessage1_18;
|
|
1
|
+
import type { ScrcpyBackOrScreenOnControlMessage1_18 } from "../index.js";
|
|
2
|
+
export type ScrcpyBackOrScreenOnControlMessage = ScrcpyBackOrScreenOnControlMessage1_18;
|
|
3
3
|
//# sourceMappingURL=back-or-screen-on.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"back-or-screen-on.d.ts","sourceRoot":"","sources":["../../src/control/back-or-screen-on.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"back-or-screen-on.d.ts","sourceRoot":"","sources":["../../src/control/back-or-screen-on.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,aAAa,CAAC;AAE1E,MAAM,MAAM,kCAAkC,GAC1C,sCAAsC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=back-or-screen-on.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basic.d.ts","sourceRoot":"","sources":["../../src/control/basic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,eAAO,MAAM,mBAAmB;;0CAA6B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basic.js","sourceRoot":"","sources":["../../src/control/basic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,MAAM,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/**
|
|
3
|
-
* On both Android and Windows, while both mouse and touch are supported input devices,
|
|
4
|
-
* only one of them can be active at a time. Touch the screen with a finger will deactivate mouse,
|
|
5
|
-
* and move the mouse will deactivate touch.
|
|
6
|
-
*
|
|
7
|
-
* On Android, this is achieved by dispatching a `MotionEvent.ACTION_UP` event for the previous input type.
|
|
8
|
-
* But on Chrome, there is no such event, causing both mouse and touch to be active at the same time.
|
|
9
|
-
* This can cause the new input to appear as "ignored".
|
|
10
|
-
*
|
|
11
|
-
* This helper class synthesis `ACTION_UP` events when a different pointer type appears,
|
|
12
|
-
* so Scrcpy server can remove the previously hovering pointer.
|
|
13
|
-
*/
|
|
14
|
-
export declare class ScrcpyHoverHelper {
|
|
15
|
-
private lastHoverMessage;
|
|
16
|
-
process(message: Omit<ScrcpyInjectTouchControlMessage, "type">): ScrcpyInjectTouchControlMessage[];
|
|
17
|
-
}
|
|
1
|
+
import type { ScrcpyInjectTouchControlMessage } from "./inject-touch.js";
|
|
2
|
+
/**
|
|
3
|
+
* On both Android and Windows, while both mouse and touch are supported input devices,
|
|
4
|
+
* only one of them can be active at a time. Touch the screen with a finger will deactivate mouse,
|
|
5
|
+
* and move the mouse will deactivate touch.
|
|
6
|
+
*
|
|
7
|
+
* On Android, this is achieved by dispatching a `MotionEvent.ACTION_UP` event for the previous input type.
|
|
8
|
+
* But on Chrome, there is no such event, causing both mouse and touch to be active at the same time.
|
|
9
|
+
* This can cause the new input to appear as "ignored".
|
|
10
|
+
*
|
|
11
|
+
* This helper class synthesis `ACTION_UP` events when a different pointer type appears,
|
|
12
|
+
* so Scrcpy server can remove the previously hovering pointer.
|
|
13
|
+
*/
|
|
14
|
+
export declare class ScrcpyHoverHelper {
|
|
15
|
+
private lastHoverMessage;
|
|
16
|
+
process(message: Omit<ScrcpyInjectTouchControlMessage, "type">): ScrcpyInjectTouchControlMessage[];
|
|
17
|
+
}
|
|
18
18
|
//# sourceMappingURL=hover-helper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hover-helper.d.ts","sourceRoot":"","sources":["../../src/control/hover-helper.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"hover-helper.d.ts","sourceRoot":"","sources":["../../src/control/hover-helper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,mBAAmB,CAAC;AAIzE;;;;;;;;;;;GAWG;AACH,qBAAa,iBAAiB;IAI1B,OAAO,CAAC,gBAAgB,CAA8C;IAE/D,OAAO,CACV,OAAO,EAAE,IAAI,CAAC,+BAA+B,EAAE,MAAM,CAAC,GACvD,+BAA+B,EAAE;CA6BvC"}
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { AndroidMotionEventAction
|
|
2
|
-
import { ScrcpyControlMessageType } from "./type.js";
|
|
3
|
-
/**
|
|
4
|
-
* On both Android and Windows, while both mouse and touch are supported input devices,
|
|
5
|
-
* only one of them can be active at a time. Touch the screen with a finger will deactivate mouse,
|
|
6
|
-
* and move the mouse will deactivate touch.
|
|
7
|
-
*
|
|
8
|
-
* On Android, this is achieved by dispatching a `MotionEvent.ACTION_UP` event for the previous input type.
|
|
9
|
-
* But on Chrome, there is no such event, causing both mouse and touch to be active at the same time.
|
|
10
|
-
* This can cause the new input to appear as "ignored".
|
|
11
|
-
*
|
|
12
|
-
* This helper class synthesis `ACTION_UP` events when a different pointer type appears,
|
|
13
|
-
* so Scrcpy server can remove the previously hovering pointer.
|
|
14
|
-
*/
|
|
15
|
-
export class ScrcpyHoverHelper {
|
|
16
|
-
// AFAIK, only mouse and pen can have hover state
|
|
17
|
-
// and you can't have two mouses or pens.
|
|
18
|
-
// So remember the last hovering pointer is enough.
|
|
19
|
-
lastHoverMessage;
|
|
20
|
-
process(message) {
|
|
21
|
-
const result = [];
|
|
22
|
-
// A different pointer appeared,
|
|
23
|
-
// Cancel previously hovering pointer so Scrcpy server can free up the pointer ID.
|
|
24
|
-
if (this.lastHoverMessage &&
|
|
25
|
-
this.lastHoverMessage.pointerId !== message.pointerId) {
|
|
26
|
-
// TODO: Inject MotionEvent.ACTION_HOVER_EXIT
|
|
27
|
-
// From testing, it seems no App cares about this event.
|
|
28
|
-
result.push({
|
|
29
|
-
...this.lastHoverMessage,
|
|
30
|
-
action: AndroidMotionEventAction.Up,
|
|
31
|
-
});
|
|
32
|
-
this.lastHoverMessage = undefined;
|
|
33
|
-
}
|
|
34
|
-
if (message.action === AndroidMotionEventAction.HoverMove) {
|
|
35
|
-
// TODO: Inject MotionEvent.ACTION_HOVER_ENTER
|
|
36
|
-
this.lastHoverMessage = message;
|
|
37
|
-
}
|
|
38
|
-
message.type =
|
|
39
|
-
ScrcpyControlMessageType.InjectTouch;
|
|
40
|
-
result.push(message);
|
|
41
|
-
return result;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
1
|
+
import { AndroidMotionEventAction } from "./inject-touch.js";
|
|
2
|
+
import { ScrcpyControlMessageType } from "./type.js";
|
|
3
|
+
/**
|
|
4
|
+
* On both Android and Windows, while both mouse and touch are supported input devices,
|
|
5
|
+
* only one of them can be active at a time. Touch the screen with a finger will deactivate mouse,
|
|
6
|
+
* and move the mouse will deactivate touch.
|
|
7
|
+
*
|
|
8
|
+
* On Android, this is achieved by dispatching a `MotionEvent.ACTION_UP` event for the previous input type.
|
|
9
|
+
* But on Chrome, there is no such event, causing both mouse and touch to be active at the same time.
|
|
10
|
+
* This can cause the new input to appear as "ignored".
|
|
11
|
+
*
|
|
12
|
+
* This helper class synthesis `ACTION_UP` events when a different pointer type appears,
|
|
13
|
+
* so Scrcpy server can remove the previously hovering pointer.
|
|
14
|
+
*/
|
|
15
|
+
export class ScrcpyHoverHelper {
|
|
16
|
+
// AFAIK, only mouse and pen can have hover state
|
|
17
|
+
// and you can't have two mouses or pens.
|
|
18
|
+
// So remember the last hovering pointer is enough.
|
|
19
|
+
lastHoverMessage;
|
|
20
|
+
process(message) {
|
|
21
|
+
const result = [];
|
|
22
|
+
// A different pointer appeared,
|
|
23
|
+
// Cancel previously hovering pointer so Scrcpy server can free up the pointer ID.
|
|
24
|
+
if (this.lastHoverMessage &&
|
|
25
|
+
this.lastHoverMessage.pointerId !== message.pointerId) {
|
|
26
|
+
// TODO: Inject MotionEvent.ACTION_HOVER_EXIT
|
|
27
|
+
// From testing, it seems no App cares about this event.
|
|
28
|
+
result.push({
|
|
29
|
+
...this.lastHoverMessage,
|
|
30
|
+
action: AndroidMotionEventAction.Up,
|
|
31
|
+
});
|
|
32
|
+
this.lastHoverMessage = undefined;
|
|
33
|
+
}
|
|
34
|
+
if (message.action === AndroidMotionEventAction.HoverMove) {
|
|
35
|
+
// TODO: Inject MotionEvent.ACTION_HOVER_ENTER
|
|
36
|
+
this.lastHoverMessage = message;
|
|
37
|
+
}
|
|
38
|
+
message.type =
|
|
39
|
+
ScrcpyControlMessageType.InjectTouch;
|
|
40
|
+
result.push(message);
|
|
41
|
+
return result;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
44
|
//# sourceMappingURL=hover-helper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hover-helper.js","sourceRoot":"","sources":["../../src/control/hover-helper.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hover-helper.js","sourceRoot":"","sources":["../../src/control/hover-helper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAErD;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,iBAAiB;IAC1B,iDAAiD;IACjD,yCAAyC;IACzC,mDAAmD;IAC3C,gBAAgB,CAA8C;IAE/D,OAAO,CACV,OAAsD;QAEtD,MAAM,MAAM,GAAsC,EAAE,CAAC;QAErD,gCAAgC;QAChC,kFAAkF;QAClF,IACI,IAAI,CAAC,gBAAgB;YACrB,IAAI,CAAC,gBAAgB,CAAC,SAAS,KAAK,OAAO,CAAC,SAAS,EACvD;YACE,6CAA6C;YAC7C,wDAAwD;YACxD,MAAM,CAAC,IAAI,CAAC;gBACR,GAAG,IAAI,CAAC,gBAAgB;gBACxB,MAAM,EAAE,wBAAwB,CAAC,EAAE;aACtC,CAAC,CAAC;YACH,IAAI,CAAC,gBAAgB,GAAG,SAAS,CAAC;SACrC;QAED,IAAI,OAAO,CAAC,MAAM,KAAK,wBAAwB,CAAC,SAAS,EAAE;YACvD,8CAA8C;YAC9C,IAAI,CAAC,gBAAgB,GAAG,OAA0C,CAAC;SACtE;QAEA,OAA2C,CAAC,IAAI;YAC7C,wBAAwB,CAAC,WAAW,CAAC;QACzC,MAAM,CAAC,IAAI,CAAC,OAA0C,CAAC,CAAC;QAExD,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ"}
|
package/esm/control/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * from "./back-or-screen-on.js";
|
|
2
|
-
export * from "./hover-helper.js";
|
|
3
|
-
export * from "./inject-keycode.js";
|
|
4
|
-
export * from "./inject-scroll.js";
|
|
5
|
-
export * from "./inject-text.js";
|
|
6
|
-
export * from "./inject-touch.js";
|
|
7
|
-
export * from "./rotate-device.js";
|
|
8
|
-
export * from "./serializer.js";
|
|
9
|
-
export * from "./set-clipboard.js";
|
|
10
|
-
export * from "./set-screen-power-mode.js";
|
|
11
|
-
export * from "./type.js";
|
|
1
|
+
export * from "./back-or-screen-on.js";
|
|
2
|
+
export * from "./hover-helper.js";
|
|
3
|
+
export * from "./inject-keycode.js";
|
|
4
|
+
export * from "./inject-scroll.js";
|
|
5
|
+
export * from "./inject-text.js";
|
|
6
|
+
export * from "./inject-touch.js";
|
|
7
|
+
export * from "./rotate-device.js";
|
|
8
|
+
export * from "./serializer.js";
|
|
9
|
+
export * from "./set-clipboard.js";
|
|
10
|
+
export * from "./set-screen-power-mode.js";
|
|
11
|
+
export * from "./type.js";
|
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
package/esm/control/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * from "./back-or-screen-on.js";
|
|
2
|
-
export * from "./hover-helper.js";
|
|
3
|
-
export * from "./inject-keycode.js";
|
|
4
|
-
export * from "./inject-scroll.js";
|
|
5
|
-
export * from "./inject-text.js";
|
|
6
|
-
export * from "./inject-touch.js";
|
|
7
|
-
export * from "./rotate-device.js";
|
|
8
|
-
export * from "./serializer.js";
|
|
9
|
-
export * from "./set-clipboard.js";
|
|
10
|
-
export * from "./set-screen-power-mode.js";
|
|
11
|
-
export * from "./type.js";
|
|
1
|
+
export * from "./back-or-screen-on.js";
|
|
2
|
+
export * from "./hover-helper.js";
|
|
3
|
+
export * from "./inject-keycode.js";
|
|
4
|
+
export * from "./inject-scroll.js";
|
|
5
|
+
export * from "./inject-text.js";
|
|
6
|
+
export * from "./inject-touch.js";
|
|
7
|
+
export * from "./rotate-device.js";
|
|
8
|
+
export * from "./serializer.js";
|
|
9
|
+
export * from "./set-clipboard.js";
|
|
10
|
+
export * from "./set-screen-power-mode.js";
|
|
11
|
+
export * from "./type.js";
|
|
12
12
|
//# sourceMappingURL=index.js.map
|