HID services: Difference between revisions

Line 1,670: Line 1,670:
! Cmd || Name || Notes
! Cmd || Name || Notes
|-
|-
| 0 || || Takes an input s32, no output.
| 0 || AcquireDevice || Takes an input s32, no output.
|-
|-
| 1 || || Takes an input s32, no output.
| 1 || ReleaseDevice || Takes an input s32, no output.
|-
|-
| 2 || || Takes an input u32, returns an [[#ICtrlSession]].
| 2 || GetCtrlSession || Takes an input u32, returns an [[#ICtrlSession]].
|-
|-
| 3 || || Takes an input u32, returns an [[#IReadSession]].
| 3 || GetReadSession || Takes an input u32, returns an [[#IReadSession]].
|-
|-
| [1.0.0-2.3.0] 4 || || Takes an input u32, returns an [[#IWriteSession]].
| [1.0.0-2.3.0] 4 || GetWriteSession || Takes an input u32, returns an [[#IWriteSession]].
|}
|}


Line 1,688: Line 1,688:
! Cmd || Name || Notes
! Cmd || Name || Notes
|-
|-
| 0 || ||  
| 0 || GetString ||  
|-
|-
| 1 || ||  
| 1 || GetCodeBook ||  
|-
|-
| 2 || ||  
| 2 || GetReport ||  
|-
|-
| 3 || ||  
| 3 || SetReport ||  
|-
|-
| 4 || ||  
| 4 || GetIdle ||  
|-
|-
| 5 || ||  
| 5 || SetIdle ||  
|-
|-
| 6 || ||  
| 6 || GetProtocol ||  
|-
|-
| 7 || ||  
| 7 || SetProtocol ||  
|-
|-
| 8 || ||  
| 8 || GetDescriptor ||  
|-
|-
| 9 || ||  
| 9 || SetDescriptor ||  
|-
|-
| 10 || ||  
| 10 || GetStateChangeEvent ||  
|-
|-
| 11 || ||  
| 11 || SignalStateChangeEvent ||  
|-
|-
| 12 || [3.0.0+] ||  
| 12 || [3.0.0+] Write ||  
|}
|}


Line 1,724: Line 1,724:
! Cmd || Name || Notes
! Cmd || Name || Notes
|-
|-
| 0 || ||  
| 0 || Read ||  
|}
|}


Line 1,740: Line 1,740:
! Cmd || Name || Notes
! Cmd || Name || Notes
|-
|-
| 0 || || This is the inverse of [[#IReadSession]] cmd0. Uses the OUTPUT endpoint with an input buffer.
| 0 || Write || This is the inverse of [[#IReadSession]] cmd0. Uses the OUTPUT endpoint with an input buffer.
|}
|}