Changes

Jump to navigation Jump to search
230 bytes added ,  22:41, 2 March 2020
Line 2,182: Line 2,182:     
== GetBusHandle ==
 
== GetBusHandle ==
Takes an input u32, an u64, an u64 [[AM_services|AppletResourceUserId]], returns an output u8 bool and a [[#BusHandle]].
+
Takes an input u32 [[#NpadIdType]], an u64, an u64 [[AM_services|AppletResourceUserId]], returns an output u8 bool and a [[#BusHandle]].
 +
 
 +
The u64 is [[#BusType]]. The bool indicates whether the [[#BusHandle]] is valid.
 +
 
 +
Official sw will assert when the u8 at [[#BusHandle]]+0x4 is >=0x13.
    
== IsExternalDeviceConnected ==
 
== IsExternalDeviceConnected ==
Line 2,222: Line 2,226:  
== BusHandle ==
 
== BusHandle ==
 
This is "nn::hidbus::BusHandle". This is 0x8-bytes.
 
This is "nn::hidbus::BusHandle". This is 0x8-bytes.
 +
 +
== BusType ==
 +
This is "nn::hidbus::BusType". This is an u32.
    
= RomFS =
 
= RomFS =

Navigation menu