9 #include "../services/hid.h"
62 char explain_text[4][0x81];
70 char explain_text[8][0x81];
HidNpadIdType
HID controller IDs.
Definition: hid.h:214
void hidLaCreateControllerSupportArg(HidLaControllerSupportArg *arg)
Initializes a HidLaControllerSupportArg with the defaults.
void hidLaCreateControllerFirmwareUpdateArg(HidLaControllerFirmwareUpdateArg *arg)
Initializes a HidLaControllerFirmwareUpdateArg with the defaults.
Result hidLaShowControllerStrapGuide(void)
Launches the applet for ControllerStrapGuide.
HidLaControllerSupportCaller
ControllerSupportCaller.
Definition: hid_la.h:20
@ HidLaControllerSupportCaller_Application
Application, this is the default.
Definition: hid_la.h:21
@ HidLaControllerSupportCaller_System
System. Skips the firmware-update confirmation dialog. This has the same affect as using the controll...
Definition: hid_la.h:22
Result hidLaShowControllerKeyRemappingForSystem(const HidLaControllerKeyRemappingArg *arg, HidLaControllerSupportCaller caller)
Launches the applet for ControllerKeyRemappingForSystem.
HidLaControllerSupportMode
Mode values for HidLaControllerSupportArgPrivate::mode.
Definition: hid_la.h:12
@ HidLaControllerSupportMode_ShowControllerSupport
ShowControllerSupport.
Definition: hid_la.h:13
@ HidLaControllerSupportMode_ShowControllerStrapGuide
[3.0.0+] ShowControllerStrapGuide
Definition: hid_la.h:14
@ HidLaControllerSupportMode_ShowControllerFirmwareUpdate
[3.0.0+] ShowControllerFirmwareUpdate
Definition: hid_la.h:15
@ HidLaControllerSupportMode_ShowControllerKeyRemappingForSystem
[11.0.0+] ShowControllerKeyRemappingForSystem
Definition: hid_la.h:16
Result hidLaShowControllerSupport(HidLaControllerSupportResultInfo *result_info, const HidLaControllerSupportArg *arg)
Launches the applet for ControllerSupport.
Result hidLaShowControllerFirmwareUpdateForSystem(const HidLaControllerFirmwareUpdateArg *arg, HidLaControllerSupportCaller caller)
This is the system version of hidLaShowControllerFirmwareUpdate.
Result hidLaShowControllerFirmwareUpdate(const HidLaControllerFirmwareUpdateArg *arg)
Launches the applet for ControllerFirmwareUpdate.
Result hidLaSetExplainText(HidLaControllerSupportArg *arg, const char *str, HidNpadIdType id)
Sets the ExplainText for the specified player and HidLaControllerSupportArg.
Result hidLaShowControllerSupportForSystem(HidLaControllerSupportResultInfo *result_info, const HidLaControllerSupportArg *arg, bool flag)
This is the system version of hidLaShowControllerSupport.
void hidLaCreateControllerKeyRemappingArg(HidLaControllerKeyRemappingArg *arg)
Initializes a HidLaControllerKeyRemappingArg with the defaults.
ControllerFirmwareUpdateArg.
Definition: hid_la.h:74
u8 enable_force_update
enableForceUpdate, non-zero to enable. Default is 0. Forces a firmware update when enabled,...
Definition: hid_la.h:75
ControllerKeyRemappingArg.
Definition: hid_la.h:80
u32 unk_x8
Unknown.
Definition: hid_la.h:82
u64 unk_x0
Unknown.
Definition: hid_la.h:81
Identification color used by HidLaControllerSupportArg*. When HidLaControllerSupportArgHeader::enable...
Definition: hid_la.h:50
u8 a
Alpha color component.
Definition: hid_la.h:54
u8 g
Green color component.
Definition: hid_la.h:52
u8 b
Blue color component.
Definition: hid_la.h:53
u8 r
Red color component.
Definition: hid_la.h:51
ControllerSupportArgPrivate.
Definition: hid_la.h:26
u32 npad_style_set
Output from hidGetSupportedNpadStyleSet. With ShowControllerSupportForSystem on pre-3....
Definition: hid_la.h:33
u32 npad_joy_hold_type
Output from hidGetNpadJoyHoldType. With ShowControllerSupportForSystem on pre-3.0....
Definition: hid_la.h:34
u8 flag1
Flag1.
Definition: hid_la.h:30
u8 mode
HidLaControllerSupportMode
Definition: hid_la.h:31
u32 private_size
Size of this ControllerSupportArgPrivate struct.
Definition: hid_la.h:27
u8 controller_support_caller
HidLaControllerSupportCaller. Always zero except with hidLaShowControllerFirmwareUpdateForSystem,...
Definition: hid_la.h:32
u32 arg_size
Size of the storage following this one (HidLaControllerSupportArg or HidLaControllerFirmwareUpdateArg...
Definition: hid_la.h:28
u8 flag0
Flag0.
Definition: hid_la.h:29
ControllerSupportArg for [1.0.0+].
Definition: hid_la.h:58
HidLaControllerSupportArgHeader hdr
HidLaControllerSupportArgHeader
Definition: hid_la.h:59
u8 enable_explain_text
Enables using the ExplainText data when non-zero.
Definition: hid_la.h:61
ControllerSupportArg for [8.0.0+], converted to HidLaControllerSupportArgV3 on pre-8....
Definition: hid_la.h:66
u8 enable_explain_text
Enables using the ExplainText data when non-zero.
Definition: hid_la.h:69
HidLaControllerSupportArgHeader hdr
HidLaControllerSupportArgHeader
Definition: hid_la.h:67
Struct for the applet output storage.
Definition: hid_la.h:94
HidLaControllerSupportResultInfo info
HidLaControllerSupportResultInfo
Definition: hid_la.h:95
u32 res
Output res value.
Definition: hid_la.h:96
ControllerSupportResultInfo. First 8-bytes from the applet output storage.
Definition: hid_la.h:87
s8 player_count
playerCount.
Definition: hid_la.h:88
u32 selected_id
HidNpadIdType, selectedId.
Definition: hid_la.h:90
uint64_t u64
64-bit unsigned integer.
Definition: types.h:22
uint8_t u8
8-bit unsigned integer.
Definition: types.h:19
int8_t s8
8-bit signed integer.
Definition: types.h:25
u32 Result
Function error code result type.
Definition: types.h:44
uint32_t u32
32-bit unsigned integer.
Definition: types.h:21