ms-types 0.6.6 → 0.6.7

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ms-types",
3
- "version": "0.6.6",
3
+ "version": "0.6.7",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
package/types/hid.d.ts CHANGED
@@ -258,7 +258,7 @@ declare namespace hid {
258
258
 
259
259
  /**
260
260
  * 按下按钮
261
- * @param button 按钮 home 按下home键 volumeup 按下音量上键 volumedown 按下音量下键 mute 按下静音键 playpause 按下播放/暂停键 next 按下下一首键 prev 按按下一首键 eject 显示隐藏键盘
261
+ * @param button 按钮 home 按下home键 volumeup 按下音量上键 volumedown 按下音量下键 mute 按下静音键 playpause 按下播放/暂停键 next 按下下一首键 prev 按按下一首键 eject 显示隐藏键盘 globe 按下globe键 search 按下搜索键
262
262
  * @returns 按下按钮是否成功
263
263
  * @example action.pressButton("home")
264
264
  */
@@ -271,7 +271,9 @@ declare namespace hid {
271
271
  | "playpause"
272
272
  | "next"
273
273
  | "prev"
274
- | "eject",
274
+ | "eject"
275
+ | "globe"
276
+ | "search",
275
277
  ): boolean;
276
278
 
277
279
  /**
@@ -262,7 +262,7 @@ declare namespace $HID {
262
262
 
263
263
  /**
264
264
  * 按下按钮
265
- * @param 按键 按钮 home 按下home键 volumeup 按下音量上键 volumedown 按下音量下键 mute 按下静音键 playpause 按下播放/暂停键 next 按下下一首键 prev 按按下一首键 eject 显示隐藏键盘
265
+ * @param 按键 按钮 home 按下home键 volumeup 按下音量上键 volumedown 按下音量下键 mute 按下静音键 playpause 按下播放/暂停键 next 按下下一首键 prev 按按下一首键 eject 显示隐藏键盘 globe 按下globe键 search 按下搜索键
266
266
  * @returns 按下按钮是否成功
267
267
  * @example $动作.按键("home")
268
268
  */
@@ -275,7 +275,9 @@ declare namespace $HID {
275
275
  | "playpause"
276
276
  | "next"
277
277
  | "prev"
278
- | "eject",
278
+ | "eject"
279
+ | "globe"
280
+ | "search",
279
281
  ): 布尔值;
280
282
 
281
283
  /**