HID services: Difference between revisions

Line 702: Line 702:


Prior to using this cmd, the input [[#HdlsStateList]] is written to tmem+0 by the user-process.
Prior to using this cmd, the input [[#HdlsStateList]] is written to tmem+0 by the user-process.
The [[#HdlsState]] will be applied for each HdlsHandle. If a HdlsHandle is not found, code similar to [[#AttachHdlsVirtualDevice]] will run with the [[#HdlsDeviceInfo]], then it will continue with applying state with the new device.


== AttachHdlsVirtualDevice ==
== AttachHdlsVirtualDevice ==
Line 738: Line 740:
| 0x0 || 0x8 || HdlsHandle
| 0x0 || 0x8 || HdlsHandle
|-
|-
| 0x8 || 0x10 || [[#HdlsDeviceInfo]]
| 0x8 || 0x10 || [[#HdlsDeviceInfo]]. With [[#ApplyHdlsStateList]] this is only used when creating new devices.
|-
|-
| 0x18 || 0x24 || [[#HdlsState]]
| 0x18 || 0x24 || [[#HdlsState]]