ms-types 0.7.4 → 0.7.5
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/hid.d.ts
CHANGED
|
@@ -81,6 +81,16 @@ declare namespace hid {
|
|
|
81
81
|
* @returns 设备 MAC 字符串
|
|
82
82
|
*/
|
|
83
83
|
function getDeviceMac(): string;
|
|
84
|
+
/**
|
|
85
|
+
* 获取设备型号
|
|
86
|
+
* @returns 设备型号
|
|
87
|
+
*/
|
|
88
|
+
function getDeviceModel(): string;
|
|
89
|
+
/**
|
|
90
|
+
* 获取设备版本
|
|
91
|
+
* @returns 设备版本
|
|
92
|
+
*/
|
|
93
|
+
function getDeviceVersion(): string;
|
|
84
94
|
|
|
85
95
|
/**
|
|
86
96
|
* 复位坐标到左上角 只有相对鼠标需要
|
|
@@ -83,6 +83,16 @@ declare namespace $HID {
|
|
|
83
83
|
* @returns 设备 MAC 字符串
|
|
84
84
|
*/
|
|
85
85
|
function 获取设备Mac(): 字符串;
|
|
86
|
+
/**
|
|
87
|
+
* 获取设备型号
|
|
88
|
+
* @returns 设备型号
|
|
89
|
+
*/
|
|
90
|
+
function 获取设备型号(): 字符串;
|
|
91
|
+
/**
|
|
92
|
+
* 获取设备版本
|
|
93
|
+
* @returns 设备版本
|
|
94
|
+
*/
|
|
95
|
+
function 获取设备版本(): 字符串;
|
|
86
96
|
|
|
87
97
|
/**
|
|
88
98
|
* 复位坐标到左上角 只有相对鼠标需要
|