Changes

Line 296: Line 296:  
== WriteHidData2 ==
 
== WriteHidData2 ==
 
Takes an input [[#Address]] and a type-0x9 input buffer, no output.
 
Takes an input [[#Address]] and a type-0x9 input buffer, no output.
 +
 +
This is internally the same as [[#WriteHidData]], with the input buffer being directly passed to the funcptr instead of a tmp copy of the input [[#HidReport]].
    
== HidSetReport ==
 
== HidSetReport ==
Line 323: Line 325:  
== GetHidEventInfo ==
 
== GetHidEventInfo ==
 
Takes a type-0xA output buffer, returns an output [[#HidEventType]].
 
Takes a type-0xA output buffer, returns an output [[#HidEventType]].
 +
 +
This copies 0x480-bytes from state to the output buffer. [[#HidEventType]] is set to: stateval!=0 ? 7 : 0.
    
== SetTsi ==
 
== SetTsi ==
Line 502: Line 506:  
== GetBleManagedEventInfo ==
 
== GetBleManagedEventInfo ==
 
Takes a type-0xA output buffer, returns an output [[#BleEventType]].
 
Takes a type-0xA output buffer, returns an output [[#BleEventType]].
 +
 +
This copies 0x400-bytes from state to the output buffer, and copies the [[#BleEventType]] from state to output.
    
== GetGattFirstCharacteristic ==
 
== GetGattFirstCharacteristic ==
Line 553: Line 559:  
== GetLeHidEventInfo ==
 
== GetLeHidEventInfo ==
 
Takes a type-0xA output buffer, returns an output [[#BleEventType]].
 
Takes a type-0xA output buffer, returns an output [[#BleEventType]].
 +
 +
This copies 0x400-bytes from state to the output buffer, and copies the [[#BleEventType]] from state to output. This also resets the state which was used for the outbuf-copy.
    
== RegisterBleHidEvent ==
 
== RegisterBleHidEvent ==