libnx
v4.7.0
|
Wrapper for using the controller LibraryApplet. More...
Go to the source code of this file.
Data Structures | |
struct | HidLaControllerSupportArgPrivate |
ControllerSupportArgPrivate. More... | |
struct | HidLaControllerSupportArgHeader |
Common header used by HidLaControllerSupportArg*. More... | |
struct | HidLaControllerSupportArgColor |
Identification color used by HidLaControllerSupportArg*. When HidLaControllerSupportArgHeader::enable_identification_color is set this controls the color of the UI player box outline. More... | |
struct | HidLaControllerSupportArgV3 |
ControllerSupportArg for [1.0.0+]. More... | |
struct | HidLaControllerSupportArg |
ControllerSupportArg for [8.0.0+], converted to HidLaControllerSupportArgV3 on pre-8.0.0. More... | |
struct | HidLaControllerFirmwareUpdateArg |
ControllerFirmwareUpdateArg. More... | |
struct | HidLaControllerKeyRemappingArg |
ControllerKeyRemappingArg. More... | |
struct | HidLaControllerSupportResultInfo |
ControllerSupportResultInfo. First 8-bytes from the applet output storage. More... | |
struct | HidLaControllerSupportResultInfoInternal |
Struct for the applet output storage. More... | |
Enumerations | |
enum | HidLaControllerSupportMode { HidLaControllerSupportMode_ShowControllerSupport = 0 , HidLaControllerSupportMode_ShowControllerStrapGuide = 1 , HidLaControllerSupportMode_ShowControllerFirmwareUpdate = 2 , HidLaControllerSupportMode_ShowControllerKeyRemappingForSystem = 4 } |
Mode values for HidLaControllerSupportArgPrivate::mode. More... | |
enum | HidLaControllerSupportCaller { HidLaControllerSupportCaller_Application = 0 , HidLaControllerSupportCaller_System = 1 } |
ControllerSupportCaller. More... | |
Wrapper for using the controller LibraryApplet.
Mode values for HidLaControllerSupportArgPrivate::mode.
void hidLaCreateControllerFirmwareUpdateArg | ( | HidLaControllerFirmwareUpdateArg * | arg | ) |
Initializes a HidLaControllerFirmwareUpdateArg with the defaults.
[out] | arg | HidLaControllerFirmwareUpdateArg |
void hidLaCreateControllerKeyRemappingArg | ( | HidLaControllerKeyRemappingArg * | arg | ) |
Initializes a HidLaControllerKeyRemappingArg with the defaults.
[out] | arg | HidLaControllerKeyRemappingArg |
void hidLaCreateControllerSupportArg | ( | HidLaControllerSupportArg * | arg | ) |
Initializes a HidLaControllerSupportArg with the defaults.
[out] | arg | HidLaControllerSupportArg |
Result hidLaSetExplainText | ( | HidLaControllerSupportArg * | arg, |
const char * | str, | ||
HidNpadIdType | id | ||
) |
Sets the ExplainText for the specified player and HidLaControllerSupportArg.
arg | HidLaControllerSupportArg | |
[in] | str | Input ExplainText UTF-8 string, max length is 0x80 excluding NUL-terminator.
|
Result hidLaShowControllerFirmwareUpdate | ( | const HidLaControllerFirmwareUpdateArg * | arg | ) |
Launches the applet for ControllerFirmwareUpdate.
[in] | arg | HidLaControllerFirmwareUpdateArg |
Result hidLaShowControllerFirmwareUpdateForSystem | ( | const HidLaControllerFirmwareUpdateArg * | arg, |
HidLaControllerSupportCaller | caller | ||
) |
This is the system version of hidLaShowControllerFirmwareUpdate.
[in] | arg | HidLaControllerFirmwareUpdateArg |
[in] | caller | HidLaControllerSupportCaller |
Result hidLaShowControllerKeyRemappingForSystem | ( | const HidLaControllerKeyRemappingArg * | arg, |
HidLaControllerSupportCaller | caller | ||
) |
Launches the applet for ControllerKeyRemappingForSystem.
[in] | arg | HidLaControllerKeyRemappingArg |
[in] | caller | HidLaControllerSupportCaller |
Result hidLaShowControllerStrapGuide | ( | void | ) |
Launches the applet for ControllerStrapGuide.
Result hidLaShowControllerSupport | ( | HidLaControllerSupportResultInfo * | result_info, |
const HidLaControllerSupportArg * | arg | ||
) |
Launches the applet for ControllerSupport.
[out] | result_info | HidLaControllerSupportResultInfo. Optional, can be NULL. |
[in] | arg | HidLaControllerSupportArg |
Result hidLaShowControllerSupportForSystem | ( | HidLaControllerSupportResultInfo * | result_info, |
const HidLaControllerSupportArg * | arg, | ||
bool | flag | ||
) |
This is the system version of hidLaShowControllerSupport.
[out] | result_info | HidLaControllerSupportResultInfo. Optional, can be NULL. |
[in] | arg | HidLaControllerSupportArg |
[in] | flag | Input flag. When true, the applet displays the menu as if launched by qlaunch. |