libnx  v4.2.1
Data Fields
HiddbgHdlsDeviceInfo Struct Reference

HdlsDeviceInfo, for [9.0.0+]. Converted to/from HiddbgHdlsDeviceInfoV7 on prior sysvers. More...

#include <hiddbg.h>

Data Fields

u8 deviceType
 HidDeviceType
 
u8 npadInterfaceType
 HidNpadInterfaceType. Additional type field used with the above type field (only applies to HidDeviceType_JoyRight1, HidDeviceType_JoyLeft2, HidDeviceType_FullKey3, and HidDeviceType_System19), if the value doesn't match one of the following a default is used. HidDeviceType_FullKey3: HidNpadInterfaceType_USB indicates that the controller is connected via USB. :::HidDeviceType_System19: HidNpadInterfaceType_USB = unknown. When value is HidNpadInterfaceType_Rail, state is merged with an existing controller (with HidDeviceType_JoyRight1 / HidDeviceType_JoyLeft2). Otherwise, it's a dedicated controller.
 
u8 pad [0x2]
 Padding.
 
u32 singleColorBody
 RGBA Single Body Color.
 
u32 singleColorButtons
 RGBA Single Buttons Color.
 
u32 colorLeftGrip
 [9.0.0+] RGBA Left Grip Color.
 
u32 colorRightGrip
 [9.0.0+] RGBA Right Grip Color.
 

Detailed Description

HdlsDeviceInfo, for [9.0.0+]. Converted to/from HiddbgHdlsDeviceInfoV7 on prior sysvers.


The documentation for this struct was generated from the following file: