ms-types 0.3.16 → 0.3.18
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
package/types/global.d.ts
CHANGED
package/types/hid.d.ts
CHANGED
|
@@ -40,6 +40,17 @@ declare const hidKey: {
|
|
|
40
40
|
* HID模块 包含点击、滑动、长按滑动、返回首页等动作
|
|
41
41
|
*/
|
|
42
42
|
declare namespace hid {
|
|
43
|
+
/**
|
|
44
|
+
* 打开录屏界面
|
|
45
|
+
*/
|
|
46
|
+
function openRecordScreen(): void;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* 检查录屏是否开启
|
|
50
|
+
* @returns 是否开启
|
|
51
|
+
*/
|
|
52
|
+
function isRecording(): boolean;
|
|
53
|
+
|
|
43
54
|
/**
|
|
44
55
|
* 设置动作抖动值
|
|
45
56
|
* @param value 抖动值
|
package/types/thread.d.ts
CHANGED
|
@@ -42,6 +42,17 @@ declare const $HID按键: {
|
|
|
42
42
|
* HID模块 包含点击、滑动、长按滑动、返回首页等动作
|
|
43
43
|
*/
|
|
44
44
|
declare namespace $HID {
|
|
45
|
+
/**
|
|
46
|
+
* 打开录屏界面
|
|
47
|
+
*/
|
|
48
|
+
function 打开录屏界面(): 无返回值;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* 检查录屏是否开启
|
|
52
|
+
* @returns 是否开启
|
|
53
|
+
*/
|
|
54
|
+
function 录屏是否开启(): 布尔值;
|
|
55
|
+
|
|
45
56
|
/**
|
|
46
57
|
* 设置动作抖动值
|
|
47
58
|
* @param 抖动值
|
|
@@ -7,23 +7,10 @@ declare type 数组<T> = Array<T>;
|
|
|
7
7
|
declare type 字典<T> = Record<字符串, T>;
|
|
8
8
|
declare type 无返回值 = void;
|
|
9
9
|
|
|
10
|
-
/**
|
|
11
|
-
* true 别名
|
|
12
|
-
*/
|
|
13
|
-
declare const $真: 布尔值;
|
|
14
|
-
/**
|
|
15
|
-
* false 别名
|
|
16
|
-
*/
|
|
17
|
-
declare const $假: 布尔值;
|
|
18
|
-
|
|
19
10
|
/**
|
|
20
11
|
* 是否是调试模式
|
|
21
12
|
*/
|
|
22
13
|
declare const $是否调试: 布尔值;
|
|
23
|
-
/**
|
|
24
|
-
* 是否应该退出应用
|
|
25
|
-
*/
|
|
26
|
-
declare const $是否退出: 布尔值;
|
|
27
14
|
/**
|
|
28
15
|
* 应用版本
|
|
29
16
|
*/
|