SOLFIND
Web Lens
Portal home

HID设备对象 | Electron

https://www.electronjs.org/zh/docs/latest/api/structures/hid-device • 43 KB fetched
Open original page


HID设备对象 | Electron 跳转到主内容 Electron 文档 应用开发接口(API) 博客 工具 * Electron Forge * Electron Fiddle 社区 * 治理 * 案例展示 * 资源 版本发布 中文 * English * Deutsch * Español * Français * 日本語 * Português * Русский * 中文 搜索 * Main Process 模块 * Renderer Process 模块 * Utility Process Modules * 自定义 DOM 元素 * Chromium 和 Node.js * 类 * API 结构 * BaseWindow 构造 选项 对象 * BluetoothDevice Object 蓝牙设备 * BrowserWindowConstructorOptions 对象继承自 `BaseWindowConstructorOptions` * Certificate Object 证书对象 * CertificatePrincipal Object 证书主体 * ColorSpace Object * Cookie 对象 * CPUUsage 对象 * 崩溃报告对象 * CustomScheme 对象 * DesktopCapturerSource 对象 * Display对象 * Extension 对象 * 扩展信息对象 * FileFilter 对象 * FilePathWheaders 对象 * `FilesystemPermissionRequest` 对象继承自 `PermissionRequest` * GPU 特性状态对象 * HID设备对象 * InputEvent Object 输入事件 * IpcMainEvent 对象继承 `Event` * IpcMainInvokeEvent 对象继承 `Event` * IpcRendererEvent 对象继承 `Event` * JumpListCategory 对象 * JumpListItem 对象 * 键盘事件对象 * KeyboardInputEvent 对象继承 `InputEvent` * MediaAccessPermissionRequest Object extends `PermissionRequest` * MemoryInfo 对象 * MemoryUsageDetails 对象 * MimeTypedBuffer对象 * MouseInputEvent 对象继承 `InputEvent` * MouseWheelInputEvent 对象继承 `MouseInputEvent` * NavigationEntry Object * NotificationAction 对象 * NotificationResponse 对象 * OffscreenSharedTexture Object * `FilesystemPermissionRequest` 对象继承自 `PermissionRequest` * PaymentDiscount 对象 * PermissionRequest Object * Point 对象 * PostBody 对象 * PrinterInfo 对象 * ProcessMemoryInfo 对象 * ProcessMetric 对象 * Product 对象 * ProductDiscount 对象 * ProductSubscriptionPeriod 对象 * ProtocolRequest 对象 * ProtocolResponse 对象 * ProtocolResponseUploadData Object * ProxyConfig Object * Rectangle Object * Referrer Object * RenderProcessGoneDetails Object * ResolvedEndpoint 对象 * ResolvedHost 对象 * ScrubberItem 对象 * SegmentedControlSegment 对象 * SerialPort 对象 * ServiceWorkerInfo 对象 * SharedWorkerInfo 对象 * SharingItem 对象 * ShortcutDetails 对象 * Size 对象 * Task 对象 * ThumbarButton 对象 * TraceCategoriesAndOptions Object * TraceConfig 对象 * Transaction 对象 * UploadData 对象 * UploadFile 对象 * UploadRawData 对象 * USBDevice 对象 * UserDefaultTypes 对象 * WebPreferences Object * WebRequestFilter 对象 * WebSource Object * WindowOpenHandlerResponse Object * SharedDictionaryInfo Object * SharedDictionaryUsageInfo Object * * API 结构 * HID设备对象 HID设备对象 * deviceId string - 设备唯一标识符 * name string - 设备名称 * vendorId Integer - USB 供应商 ID * productId Integer - USB 产品 ID * serialNumber string (可选) - USB 设备序列号 * guid string (可选) - HID 接口唯一标识符。 一个设备可以有多个 HID 接口 * collections Object[] - an array of report formats. See MDN documentation for more. * usage Integer - An integer representing the usage ID component of the HID usage associated with this collection. * usagePage Integer - An integer representing the usage page component of the HID usage associated with this collection. * type Integer - An 8-bit value representing the collection type, which describes a different relationship between the grouped items. * children Object[] - An array of sub-collections which takes the same format as a top-level collection. * inputReports Object[] - An array of inputReport items which represent individual input reports described in this collection. * outputReports Object[] - An array of outputReport items which represent individual output reports described in this collection. * featureReports Object[] - An array of featureReport items which represent individual feature reports described in this collection. 编辑此页面 上一个 GPU 特性状态对象 下一个 InputEvent Object 输入事件 文档 * 入门指南 * API 参考 清单 * 性能 * 安全 工具 * Electron Forge * Electron Fiddle 社区 * 治理 * 资源 * Discord * Bluesky * X * Mastodon * Stack Overflow 更多 * GitHub * Open Collective * 基础看板 版权所有 OpenJS Foundation 及 Electron 贡献者。保留所有权利。 OpenJS Foundation 已注册商标并使用商标。如需查看 OpenJS Foundation 的商标列表,请参阅我们的 商标政策 和 商标列表 。未在 OpenJS Foundation 商标列表 中标明的商标和标志,均为其各自持有者的商标™或注册商标®。使用它们并不意味着与它们有任何关联或得到它们的认可。 OpenJS Foundation | 使用条款 | 隐私政策 | 章程 | 行为准则 | 商标政策 | 商标列表 | Cookie 政策 Hosting and infrastructure graciously provided by

Links found on this page

  1. 跳转到主内容 [direct]
  2. Electron [direct]
  3. 文档 [direct]
  4. 应用开发接口(API) [direct]
  5. 博客 [direct]
  6. Electron Forge [direct]
  7. Electron Fiddle [direct]
  8. 治理 [direct]
  9. 案例展示 [direct]
  10. 资源 [direct]
  11. 版本发布 [direct]
  12. English [direct]
  13. Deutsch [direct]
  14. Español [direct]
  15. Français [direct]
  16. 日本語 [direct]
  17. Português [direct]
  18. Русский [direct]
  19. Renderer Process 模块 [direct]
  20. Utility Process Modules [direct]
  21. 自定义 DOM 元素 [direct]
  22. Chromium 和 Node.js [direct]
  23. [direct]
  24. API 结构 [direct]
  25. BluetoothDevice Object 蓝牙设备 [direct]
  26. BrowserWindowConstructorOptions 对象继承自 `BaseWindowConstructorOptions` [direct]
  27. Certificate Object 证书对象 [direct]
  28. CertificatePrincipal Object 证书主体 [direct]
  29. ColorSpace Object [direct]
  30. Cookie 对象 [direct]
  31. CPUUsage 对象 [direct]
  32. 崩溃报告对象 [direct]
  33. CustomScheme 对象 [direct]
  34. DesktopCapturerSource 对象 [direct]
  35. Display对象 [direct]
  36. Extension 对象 [direct]
  37. 扩展信息对象 [direct]
  38. FileFilter 对象 [direct]
  39. FilePathWheaders 对象 [direct]
  40. `FilesystemPermissionRequest` 对象继承自 `PermissionRequest` [direct]
  41. GPU 特性状态对象 [direct]
  42. InputEvent Object 输入事件 [direct]
  43. IpcMainEvent 对象继承 `Event` [direct]
  44. IpcMainInvokeEvent 对象继承 `Event` [direct]
  45. IpcRendererEvent 对象继承 `Event` [direct]
  46. JumpListCategory 对象 [direct]
  47. JumpListItem 对象 [direct]
  48. 键盘事件对象 [direct]
  49. KeyboardInputEvent 对象继承 `InputEvent` [direct]
  50. MediaAccessPermissionRequest Object extends `PermissionRequest` [direct]
  51. MemoryInfo 对象 [direct]
  52. MemoryUsageDetails 对象 [direct]
  53. MimeTypedBuffer对象 [direct]
  54. MouseInputEvent 对象继承 `InputEvent` [direct]
  55. MouseWheelInputEvent 对象继承 `MouseInputEvent` [direct]
  56. NavigationEntry Object [direct]
  57. NotificationAction 对象 [direct]
  58. NotificationResponse 对象 [direct]
  59. OffscreenSharedTexture Object [direct]
  60. `FilesystemPermissionRequest` 对象继承自 `PermissionRequest` [direct]
  61. PaymentDiscount 对象 [direct]
  62. PermissionRequest Object [direct]
  63. Point 对象 [direct]
  64. PostBody 对象 [direct]
  65. PrinterInfo 对象 [direct]
  66. ProcessMemoryInfo 对象 [direct]
  67. ProcessMetric 对象 [direct]
  68. Product 对象 [direct]
  69. ProductDiscount 对象 [direct]
  70. ProductSubscriptionPeriod 对象 [direct]
  71. ProtocolRequest 对象 [direct]
  72. ProtocolResponse 对象 [direct]
  73. ProtocolResponseUploadData Object [direct]
  74. ProxyConfig Object [direct]
  75. Rectangle Object [direct]
  76. Referrer Object [direct]
  77. RenderProcessGoneDetails Object [direct]
  78. ResolvedEndpoint 对象 [direct]
  79. ResolvedHost 对象 [direct]
  80. ScrubberItem 对象 [direct]