libnx  v4.8.0
Data Structures | Enumerations | Functions
hidsys.h File Reference

hid:sys service IPC wrapper. More...

#include "../types.h"
#include "../kernel/event.h"
#include "../services/hid.h"
#include "../services/btdrv_types.h"
#include "../sf/service.h"

Go to the source code of this file.

Data Structures

struct  HidsysUniquePadId
 UniquePadId for a controller. More...
 
struct  HidsysUniquePadSerialNumber
 UniquePadSerialNumber. More...
 
struct  HidsysNotificationLedPatternCycle
 Mini Cycle struct for HidsysNotificationLedPattern. More...
 
struct  HidsysNotificationLedPattern
 Structure for hidsysSetNotificationLedPattern. More...
 
struct  HidsysButtonConfigEmbedded
 ButtonConfigEmbedded. More...
 
struct  HidsysButtonConfigFull
 ButtonConfigFull. More...
 
struct  HidsysButtonConfigLeft
 ButtonConfigLeft. More...
 
struct  HidsysButtonConfigRight
 ButtonConfigRight. More...
 
struct  HidcfgAnalogStickAssignment
 AnalogStickAssignment. More...
 
struct  HidcfgButtonConfigEmbedded
 ButtonConfigEmbedded. More...
 
struct  HidcfgButtonConfigFull
 ButtonConfigFull. More...
 
struct  HidcfgButtonConfigLeft
 ButtonConfigLeft. More...
 
struct  HidcfgButtonConfigRight
 ButtonConfigRight. More...
 
struct  HidcfgStorageName
 StorageName. More...
 

Enumerations

enum  HidcfgDigitalButtonAssignment {
  HidcfgDigitalButtonAssignment_A = 0 ,
  HidcfgDigitalButtonAssignment_B = 1 ,
  HidcfgDigitalButtonAssignment_X = 2 ,
  HidcfgDigitalButtonAssignment_Y = 3 ,
  HidcfgDigitalButtonAssignment_StickL = 4 ,
  HidcfgDigitalButtonAssignment_StickR = 5 ,
  HidcfgDigitalButtonAssignment_L = 6 ,
  HidcfgDigitalButtonAssignment_R = 7 ,
  HidcfgDigitalButtonAssignment_ZL = 8 ,
  HidcfgDigitalButtonAssignment_ZR = 9 ,
  HidcfgDigitalButtonAssignment_Select = 10 ,
  HidcfgDigitalButtonAssignment_Start = 11 ,
  HidcfgDigitalButtonAssignment_Left = 12 ,
  HidcfgDigitalButtonAssignment_Up = 13 ,
  HidcfgDigitalButtonAssignment_Right = 14 ,
  HidcfgDigitalButtonAssignment_Down = 15 ,
  HidcfgDigitalButtonAssignment_LeftSL = 16 ,
  HidcfgDigitalButtonAssignment_LeftSR = 17 ,
  HidcfgDigitalButtonAssignment_RightSL = 18 ,
  HidcfgDigitalButtonAssignment_RightSR = 19 ,
  HidcfgDigitalButtonAssignment_HomeButton = 20 ,
  HidcfgDigitalButtonAssignment_CaptureButton = 21 ,
  HidcfgDigitalButtonAssignment_Invalid = 22
}
 Selects what button to map to. More...
 
enum  HidcfgAnalogStickRotation {
  HidcfgAnalogStickRotation_None = 0 ,
  HidcfgAnalogStickRotation_Clockwise90 = 1 ,
  HidcfgAnalogStickRotation_Anticlockwise90 = 2
}
 AnalogStickRotation. More...
 
enum  HidsysUniquePadType {
  HidsysUniquePadType_Embedded = 0 ,
  HidsysUniquePadType_FullKeyController = 1 ,
  HidsysUniquePadType_RightController = 2 ,
  HidsysUniquePadType_LeftController = 3 ,
  HidsysUniquePadType_DebugPadController = 4
}
 UniquePadType. More...
 

Functions

Result hidsysInitialize (void)
 Initialize hidsys.
 
void hidsysExit (void)
 Exit hidsys.
 
ServicehidsysGetServiceSession (void)
 Gets the Service object for the actual hidsys service session.
 
Result hidsysSendKeyboardLockKeyEvent (u32 events)
 SendKeyboardLockKeyEvent. More...
 
Result hidsysAcquireHomeButtonEventHandle (Event *out_event, bool autoclear)
 Gets an Event which is signaled when HidHomeButtonState is updated. More...
 
Result hidsysActivateHomeButton (void)
 Activates the HomeButton sharedmem. More...
 
Result hidsysAcquireSleepButtonEventHandle (Event *out_event, bool autoclear)
 Gets an Event which is signaled when HidSleepButtonState is updated. More...
 
Result hidsysActivateSleepButton (void)
 Activates the SleepButton sharedmem. More...
 
Result hidsysAcquireCaptureButtonEventHandle (Event *out_event, bool autoclear)
 Gets an Event which is signaled when HidCaptureButtonState is updated. More...
 
Result hidsysActivateCaptureButton (void)
 Activates the CaptureButton sharedmem. More...
 
Result hidsysApplyNpadSystemCommonPolicy (void)
 Applies npad system common policy.
 
Result hidsysGetLastActiveNpad (u32 *out)
 Gets the npad id type of the last controller that was active. More...
 
Result hidsysGetSupportedNpadStyleSetOfCallerApplet (u32 *out)
 Gets the SupportedNpadStyleSet for the CallerApplet. More...
 
Result hidsysGetNpadInterfaceType (HidNpadIdType id, u8 *out)
 Gets the HidNpadInterfaceType for the specified controller. More...
 
Result hidsysGetNpadLeftRightInterfaceType (HidNpadIdType id, u8 *out0, u8 *out1)
 GetNpadLeftRightInterfaceType. More...
 
Result hidsysHasBattery (HidNpadIdType id, bool *out)
 HasBattery. More...
 
Result hidsysHasLeftRightBattery (HidNpadIdType id, bool *out0, bool *out1)
 HasLeftRightBattery. More...
 
Result hidsysGetUniquePadsFromNpad (HidNpadIdType id, HidsysUniquePadId *unique_pad_ids, s32 count, s32 *total_out)
 Gets the UniquePadIds for the specified controller. More...
 
Result hidsysEnableAppletToGetInput (bool enable)
 EnableAppletToGetInput. More...
 
Result hidsysAcquireUniquePadConnectionEventHandle (Event *out_event)
 AcquireUniquePadConnectionEventHandle. More...
 
Result hidsysGetUniquePadIds (HidsysUniquePadId *unique_pad_ids, s32 count, s32 *total_out)
 Gets a list of all UniquePadIds. More...
 
Result hidsysAcquireJoyDetachOnBluetoothOffEventHandle (Event *out_event, bool autoclear)
 AcquireJoyDetachOnBluetoothOffEventHandle. More...
 
Result hidsysGetUniquePadBluetoothAddress (HidsysUniquePadId unique_pad_id, BtdrvAddress *address)
 GetUniquePadBluetoothAddress. More...
 
Result hidsysDisconnectUniquePad (HidsysUniquePadId unique_pad_id)
 DisconnectUniquePad. More...
 
Result hidsysGetUniquePadType (HidsysUniquePadId unique_pad_id, HidsysUniquePadType *pad_type)
 GetUniquePadType. More...
 
Result hidsysGetUniquePadInterface (HidsysUniquePadId unique_pad_id, HidNpadInterfaceType *interface)
 GetUniquePadInterface. More...
 
Result hidsysGetUniquePadSerialNumber (HidsysUniquePadId unique_pad_id, HidsysUniquePadSerialNumber *serial)
 Gets the HidsysUniquePadSerialNumber. More...
 
Result hidsysGetUniquePadControllerNumber (HidsysUniquePadId unique_pad_id, u64 *number)
 GetUniquePadControllerNumber. More...
 
Result hidsysSetNotificationLedPattern (const HidsysNotificationLedPattern *pattern, HidsysUniquePadId unique_pad_id)
 Sets the HOME-button notification LED pattern, for the specified controller. More...
 
Result hidsysSetNotificationLedPatternWithTimeout (const HidsysNotificationLedPattern *pattern, HidsysUniquePadId unique_pad_id, u64 timeout)
 Sets the HOME-button notification LED pattern, for the specified controller. More...
 
Result hidsysIsUsbFullKeyControllerEnabled (bool *out)
 IsUsbFullKeyControllerEnabled. More...
 
Result hidsysEnableUsbFullKeyController (bool flag)
 EnableUsbFullKeyController. More...
 
Result hidsysIsUsbConnected (HidsysUniquePadId unique_pad_id, bool *out)
 IsUsbConnected. More...
 
Result hidsysGetTouchScreenDefaultConfiguration (HidTouchScreenConfigurationForNx *touch_screen_configuration)
 GetTouchScreenDefaultConfiguration. More...
 
Result hidsysIsFirmwareUpdateNeededForNotification (HidsysUniquePadId unique_pad_id, bool *out)
 IsFirmwareUpdateNeededForNotification. More...
 
Result hidsysLegacyIsButtonConfigSupported (HidsysUniquePadId unique_pad_id, bool *out)
 Legacy IsButtonConfigSupported. More...
 
Result hidsysIsButtonConfigSupported (BtdrvAddress addr, bool *out)
 IsButtonConfigSupported. More...
 
Result hidsysIsButtonConfigEmbeddedSupported (bool *out)
 IsButtonConfigEmbeddedSupported. More...
 
Result hidsysLegacyDeleteButtonConfig (HidsysUniquePadId unique_pad_id)
 Legacy DeleteButtonConfig. More...
 
Result hidsysDeleteButtonConfig (BtdrvAddress addr)
 DeleteButtonConfig. More...
 
Result hidsysDeleteButtonConfigEmbedded (void)
 DeleteButtonConfigEmbedded. More...
 
Result hidsysLegacySetButtonConfigEnabled (HidsysUniquePadId unique_pad_id, bool flag)
 Legacy SetButtonConfigEnabled. More...
 
Result hidsysSetButtonConfigEnabled (BtdrvAddress addr, bool flag)
 SetButtonConfigEnabled. More...
 
Result hidsysSetButtonConfigEmbeddedEnabled (bool flag)
 SetButtonConfigEmbeddedEnabled. More...
 
Result hidsysLegacyIsButtonConfigEnabled (HidsysUniquePadId unique_pad_id, bool *out)
 Legacy IsButtonConfigEnabled. More...
 
Result hidsysIsButtonConfigEnabled (BtdrvAddress addr, bool *out)
 IsButtonConfigEnabled. More...
 
Result hidsysIsButtonConfigEmbeddedEnabled (bool *out)
 IsButtonConfigEmbeddedEnabled. More...
 
Result hidsysLegacySetButtonConfigEmbedded (HidsysUniquePadId unique_pad_id, const HidsysButtonConfigEmbedded *config)
 Legacy SetButtonConfigEmbedded. More...
 
Result hidsysSetButtonConfigEmbedded (const HidsysButtonConfigEmbedded *config)
 SetButtonConfigEmbedded. More...
 
Result hidsysLegacySetButtonConfigFull (HidsysUniquePadId unique_pad_id, const HidsysButtonConfigFull *config)
 Legacy SetButtonConfigFull. More...
 
Result hidsysSetButtonConfigFull (BtdrvAddress addr, const HidsysButtonConfigFull *config)
 SetButtonConfigFull. More...
 
Result hidsysLegacySetButtonConfigLeft (HidsysUniquePadId unique_pad_id, const HidsysButtonConfigLeft *config)
 Legacy SetButtonConfigLeft. More...
 
Result hidsysSetButtonConfigLeft (BtdrvAddress addr, const HidsysButtonConfigLeft *config)
 SetButtonConfigLeft. More...
 
Result hidsysLegacySetButtonConfigRight (HidsysUniquePadId unique_pad_id, const HidsysButtonConfigRight *config)
 Legacy SetButtonConfigRight. More...
 
Result hidsysSetButtonConfigRight (BtdrvAddress addr, const HidsysButtonConfigRight *config)
 SetButtonConfigRight. More...
 
Result hidsysLegacyGetButtonConfigEmbedded (HidsysUniquePadId unique_pad_id, HidsysButtonConfigEmbedded *config)
 Legacy GetButtonConfigEmbedded. More...
 
Result hidsysGetButtonConfigEmbedded (HidsysButtonConfigEmbedded *config)
 GetButtonConfigEmbedded. More...
 
Result hidsysLegacyGetButtonConfigFull (HidsysUniquePadId unique_pad_id, HidsysButtonConfigFull *config)
 Legacy GetButtonConfigFull. More...
 
Result hidsysGetButtonConfigFull (BtdrvAddress addr, HidsysButtonConfigFull *config)
 GetButtonConfigFull. More...
 
Result hidsysLegacyGetButtonConfigLeft (HidsysUniquePadId unique_pad_id, HidsysButtonConfigLeft *config)
 Legacy GetButtonConfigLeft. More...
 
Result hidsysGetButtonConfigLeft (BtdrvAddress addr, HidsysButtonConfigLeft *config)
 GetButtonConfigLeft. More...
 
Result hidsysLegacyGetButtonConfigRight (HidsysUniquePadId unique_pad_id, HidsysButtonConfigRight *config)
 Legacy GetButtonConfigRight. More...
 
Result hidsysGetButtonConfigRight (BtdrvAddress addr, HidsysButtonConfigRight *config)
 GetButtonConfigRight. More...
 
Result hidsysIsCustomButtonConfigSupported (HidsysUniquePadId unique_pad_id, bool *out)
 IsCustomButtonConfigSupported. More...
 
Result hidsysIsDefaultButtonConfigEmbedded (const HidcfgButtonConfigEmbedded *config, bool *out)
 IsDefaultButtonConfigEmbedded. More...
 
Result hidsysIsDefaultButtonConfigFull (const HidcfgButtonConfigFull *config, bool *out)
 IsDefaultButtonConfigFull. More...
 
Result hidsysIsDefaultButtonConfigLeft (const HidcfgButtonConfigLeft *config, bool *out)
 IsDefaultButtonConfigLeft. More...
 
Result hidsysIsDefaultButtonConfigRight (const HidcfgButtonConfigRight *config, bool *out)
 IsDefaultButtonConfigRight. More...
 
Result hidsysIsButtonConfigStorageEmbeddedEmpty (s32 index, bool *out)
 IsButtonConfigStorageEmbeddedEmpty. More...
 
Result hidsysIsButtonConfigStorageFullEmpty (s32 index, bool *out)
 IsButtonConfigStorageFullEmpty. More...
 
Result hidsysIsButtonConfigStorageLeftEmpty (s32 index, bool *out)
 IsButtonConfigStorageLeftEmpty. More...
 
Result hidsysIsButtonConfigStorageRightEmpty (s32 index, bool *out)
 IsButtonConfigStorageRightEmpty. More...
 
Result hidsysGetButtonConfigStorageEmbeddedDeprecated (s32 index, HidcfgButtonConfigEmbedded *config)
 GetButtonConfigStorageEmbeddedDeprecated. More...
 
Result hidsysGetButtonConfigStorageFullDeprecated (s32 index, HidcfgButtonConfigFull *config)
 GetButtonConfigStorageFullDeprecated. More...
 
Result hidsysGetButtonConfigStorageLeftDeprecated (s32 index, HidcfgButtonConfigLeft *config)
 GetButtonConfigStorageLeftDeprecated. More...
 
Result hidsysGetButtonConfigStorageRightDeprecated (s32 index, HidcfgButtonConfigRight *config)
 GetButtonConfigStorageRightDeprecated. More...
 
Result hidsysSetButtonConfigStorageEmbeddedDeprecated (s32 index, const HidcfgButtonConfigEmbedded *config)
 SetButtonConfigStorageEmbeddedDeprecated. More...
 
Result hidsysSetButtonConfigStorageFullDeprecated (s32 index, const HidcfgButtonConfigFull *config)
 SetButtonConfigStorageFullDeprecated. More...
 
Result hidsysSetButtonConfigStorageLeftDeprecated (s32 index, const HidcfgButtonConfigLeft *config)
 SetButtonConfigStorageLeftDeprecated. More...
 
Result hidsysSetButtonConfigStorageRightDeprecated (s32 index, const HidcfgButtonConfigRight *config)
 SetButtonConfigStorageRightDeprecated. More...
 
Result hidsysDeleteButtonConfigStorageEmbedded (s32 index)
 DeleteButtonConfigStorageEmbedded. More...
 
Result hidsysDeleteButtonConfigStorageFull (s32 index)
 DeleteButtonConfigStorageFull. More...
 
Result hidsysDeleteButtonConfigStorageLeft (s32 index)
 DeleteButtonConfigStorageLeft. More...
 
Result hidsysDeleteButtonConfigStorageRight (s32 index)
 DeleteButtonConfigStorageRight. More...
 
Result hidsysIsUsingCustomButtonConfig (HidsysUniquePadId unique_pad_id, bool *out)
 IsUsingCustomButtonConfig. More...
 
Result hidsysIsAnyCustomButtonConfigEnabled (bool *out)
 IsAnyCustomButtonConfigEnabled. More...
 
Result hidsysSetAllCustomButtonConfigEnabled (u64 AppletResourceUserId, bool flag)
 SetAllCustomButtonConfigEnabled. More...
 
Result hidsysSetAllDefaultButtonConfig (void)
 SetAllDefaultButtonConfig. More...
 
Result hidsysSetHidButtonConfigEmbedded (HidsysUniquePadId unique_pad_id, const HidcfgButtonConfigEmbedded *config)
 SetHidButtonConfigEmbedded. More...
 
Result hidsysSetHidButtonConfigFull (HidsysUniquePadId unique_pad_id, const HidcfgButtonConfigFull *config)
 SetHidButtonConfigFull. More...
 
Result hidsysSetHidButtonConfigLeft (HidsysUniquePadId unique_pad_id, const HidcfgButtonConfigLeft *config)
 SetHidButtonConfigLeft. More...
 
Result hidsysSetHidButtonConfigRight (HidsysUniquePadId unique_pad_id, const HidcfgButtonConfigRight *config)
 SetHidButtonConfigRight. More...
 
Result hidsysGetHidButtonConfigEmbedded (HidsysUniquePadId unique_pad_id, HidcfgButtonConfigEmbedded *config)
 GetHidButtonConfigEmbedded. More...
 
Result hidsysGetHidButtonConfigFull (HidsysUniquePadId unique_pad_id, HidcfgButtonConfigFull *config)
 GetHidButtonConfigFull. More...
 
Result hidsysGetHidButtonConfigLeft (HidsysUniquePadId unique_pad_id, HidcfgButtonConfigLeft *config)
 GetHidButtonConfigLeft. More...
 
Result hidsysGetHidButtonConfigRight (HidsysUniquePadId unique_pad_id, HidcfgButtonConfigRight *config)
 GetHidButtonConfigRight. More...
 
Result hidsysGetButtonConfigStorageEmbedded (s32 index, HidcfgButtonConfigEmbedded *config, HidcfgStorageName *name)
 GetButtonConfigStorageEmbedded. More...
 
Result hidsysGetButtonConfigStorageFull (s32 index, HidcfgButtonConfigFull *config, HidcfgStorageName *name)
 GetButtonConfigStorageFull. More...
 
Result hidsysGetButtonConfigStorageLeft (s32 index, HidcfgButtonConfigLeft *config, HidcfgStorageName *name)
 GetButtonConfigStorageLeft. More...
 
Result hidsysGetButtonConfigStorageRight (s32 index, HidcfgButtonConfigRight *config, HidcfgStorageName *name)
 GetButtonConfigStorageRight. More...
 
Result hidsysSetButtonConfigStorageEmbedded (s32 index, const HidcfgButtonConfigEmbedded *config, const HidcfgStorageName *name)
 SetButtonConfigStorageEmbedded. More...
 
Result hidsysSetButtonConfigStorageFull (s32 index, const HidcfgButtonConfigFull *config, const HidcfgStorageName *name)
 SetButtonConfigStorageFull. More...
 
Result hidsysSetButtonConfigStorageLeft (s32 index, const HidcfgButtonConfigLeft *config, const HidcfgStorageName *name)
 SetButtonConfigStorageLeft. More...
 
Result hidsysSetButtonConfigStorageRight (s32 index, const HidcfgButtonConfigRight *config, const HidcfgStorageName *name)
 SetButtonConfigStorageRight. More...
 

Detailed Description

hid:sys service IPC wrapper.

Author
exelix, yellows8, ndeadly

Enumeration Type Documentation

◆ HidcfgAnalogStickRotation

AnalogStickRotation.

Enumerator
HidcfgAnalogStickRotation_None 

None.

HidcfgAnalogStickRotation_Clockwise90 

Clockwise90.

HidcfgAnalogStickRotation_Anticlockwise90 

Anticlockwise90.

◆ HidcfgDigitalButtonAssignment

Selects what button to map to.

Enumerator
HidcfgDigitalButtonAssignment_A 

A.

HidcfgDigitalButtonAssignment_B 

B.

HidcfgDigitalButtonAssignment_X 

X.

HidcfgDigitalButtonAssignment_Y 

Y.

HidcfgDigitalButtonAssignment_StickL 

Left Stick Button.

HidcfgDigitalButtonAssignment_StickR 

Right Stick Button.

HidcfgDigitalButtonAssignment_L 

L.

HidcfgDigitalButtonAssignment_R 

R.

HidcfgDigitalButtonAssignment_ZL 

ZL.

HidcfgDigitalButtonAssignment_ZR 

ZR.

HidcfgDigitalButtonAssignment_Select 

Select / Minus.

HidcfgDigitalButtonAssignment_Start 

Start / Plus.

HidcfgDigitalButtonAssignment_Left 

Left.

HidcfgDigitalButtonAssignment_Up 

Up.

HidcfgDigitalButtonAssignment_Right 

Right.

HidcfgDigitalButtonAssignment_Down 

Down.

HidcfgDigitalButtonAssignment_LeftSL 

SL on Left controller.

HidcfgDigitalButtonAssignment_LeftSR 

SR on Left controller.

HidcfgDigitalButtonAssignment_RightSL 

SL on Right controller.

HidcfgDigitalButtonAssignment_RightSR 

SR on Right controller.

HidcfgDigitalButtonAssignment_HomeButton 

HomeButton.

HidcfgDigitalButtonAssignment_CaptureButton 

CaptureButton.

HidcfgDigitalButtonAssignment_Invalid 

Invalid / Disabled.

◆ HidsysUniquePadType

UniquePadType.

Enumerator
HidsysUniquePadType_Embedded 

Embedded.

HidsysUniquePadType_FullKeyController 

FullKeyController.

HidsysUniquePadType_RightController 

RightController.

HidsysUniquePadType_LeftController 

LeftController.

HidsysUniquePadType_DebugPadController 

DebugPadController.

Function Documentation

◆ hidsysAcquireCaptureButtonEventHandle()

Result hidsysAcquireCaptureButtonEventHandle ( Event out_event,
bool  autoclear 
)

Gets an Event which is signaled when HidCaptureButtonState is updated.

Note
The Event must be closed by the user once finished with it.
This generally shouldn't be used, since AM-sysmodule uses it internally.
Parameters
[out]out_eventOutput Event.
[in]Eventautoclear.

◆ hidsysAcquireHomeButtonEventHandle()

Result hidsysAcquireHomeButtonEventHandle ( Event out_event,
bool  autoclear 
)

Gets an Event which is signaled when HidHomeButtonState is updated.

Note
The Event must be closed by the user once finished with it.
This generally shouldn't be used, since AM-sysmodule uses it internally.
Parameters
[out]out_eventOutput Event.
[in]Eventautoclear.

◆ hidsysAcquireJoyDetachOnBluetoothOffEventHandle()

Result hidsysAcquireJoyDetachOnBluetoothOffEventHandle ( Event out_event,
bool  autoclear 
)

AcquireJoyDetachOnBluetoothOffEventHandle.

Parameters
[out]out_eventOutput Event.
[in]Eventautoclear.

◆ hidsysAcquireSleepButtonEventHandle()

Result hidsysAcquireSleepButtonEventHandle ( Event out_event,
bool  autoclear 
)

Gets an Event which is signaled when HidSleepButtonState is updated.

Note
The Event must be closed by the user once finished with it.
This generally shouldn't be used, since AM-sysmodule uses it internally.
Parameters
[out]out_eventOutput Event.
[in]Eventautoclear.

◆ hidsysAcquireUniquePadConnectionEventHandle()

Result hidsysAcquireUniquePadConnectionEventHandle ( Event out_event)

AcquireUniquePadConnectionEventHandle.

Parameters
[out]out_eventOutput Event.

◆ hidsysActivateCaptureButton()

Result hidsysActivateCaptureButton ( void  )

Activates the CaptureButton sharedmem.

Note
This generally shouldn't be used, since AM-sysmodule uses it internally.

◆ hidsysActivateHomeButton()

Result hidsysActivateHomeButton ( void  )

Activates the HomeButton sharedmem.

Note
This generally shouldn't be used, since AM-sysmodule uses it internally.

◆ hidsysActivateSleepButton()

Result hidsysActivateSleepButton ( void  )

Activates the SleepButton sharedmem.

Note
This generally shouldn't be used, since AM-sysmodule uses it internally.

◆ hidsysDeleteButtonConfig()

Result hidsysDeleteButtonConfig ( BtdrvAddress  addr)

DeleteButtonConfig.

Note
Only available on [11.0.0-17.0.1]. On [10.0.0-10.2.0], use hidsysLegacyDeleteButtonConfig instead.
Parameters
[in]addrBtdrvAddress

◆ hidsysDeleteButtonConfigEmbedded()

Result hidsysDeleteButtonConfigEmbedded ( void  )

DeleteButtonConfigEmbedded.

Note
Only available on [11.0.0-17.0.1].

◆ hidsysDeleteButtonConfigStorageEmbedded()

Result hidsysDeleteButtonConfigStorageEmbedded ( s32  index)

DeleteButtonConfigStorageEmbedded.

Note
Only available on [10.0.0+].
Parameters
[in]indexArray index, should be 0-4.

◆ hidsysDeleteButtonConfigStorageFull()

Result hidsysDeleteButtonConfigStorageFull ( s32  index)

DeleteButtonConfigStorageFull.

Note
Only available on [10.0.0+].
Parameters
[in]indexArray index, should be 0-4.

◆ hidsysDeleteButtonConfigStorageLeft()

Result hidsysDeleteButtonConfigStorageLeft ( s32  index)

DeleteButtonConfigStorageLeft.

Note
Only available on [10.0.0+].
Parameters
[in]indexArray index, should be 0-4.

◆ hidsysDeleteButtonConfigStorageRight()

Result hidsysDeleteButtonConfigStorageRight ( s32  index)

DeleteButtonConfigStorageRight.

Note
Only available on [10.0.0+].
Parameters
[in]indexArray index, should be 0-4.

◆ hidsysDisconnectUniquePad()

Result hidsysDisconnectUniquePad ( HidsysUniquePadId  unique_pad_id)

DisconnectUniquePad.

Note
Only available on [3.0.0+].
Parameters
[in]unique_pad_idHidsysUniquePadId

◆ hidsysEnableAppletToGetInput()

Result hidsysEnableAppletToGetInput ( bool  enable)

EnableAppletToGetInput.

Parameters
[in]enableInput flag.

◆ hidsysEnableUsbFullKeyController()

Result hidsysEnableUsbFullKeyController ( bool  flag)

EnableUsbFullKeyController.

Note
Only available on [3.0.0+].
Parameters
[in]flagFlag

◆ hidsysGetButtonConfigEmbedded()

Result hidsysGetButtonConfigEmbedded ( HidsysButtonConfigEmbedded config)

GetButtonConfigEmbedded.

Note
Only available on [11.0.0-17.0.1]. On [10.0.0-10.2.0], use hidsysLegacyGetButtonConfigEmbedded instead.
Parameters
[out]configHidsysButtonConfigEmbedded

◆ hidsysGetButtonConfigFull()

Result hidsysGetButtonConfigFull ( BtdrvAddress  addr,
HidsysButtonConfigFull config 
)

GetButtonConfigFull.

Note
Only available on [11.0.0-17.0.1]. On [10.0.0-10.2.0], use hidsysLegacyGetButtonConfigFull instead.
Parameters
[in]addrBtdrvAddress
[out]configHidsysButtonConfigFull

◆ hidsysGetButtonConfigLeft()

Result hidsysGetButtonConfigLeft ( BtdrvAddress  addr,
HidsysButtonConfigLeft config 
)

GetButtonConfigLeft.

Note
Only available on [11.0.0-17.0.1]. On [10.0.0-10.2.0], use hidsysLegacyGetButtonConfigLeft instead.
Parameters
[in]addrBtdrvAddress
[out]configHidsysButtonConfigLeft

◆ hidsysGetButtonConfigRight()

Result hidsysGetButtonConfigRight ( BtdrvAddress  addr,
HidsysButtonConfigRight config 
)

GetButtonConfigRight.

Note
Only available on [11.0.0-17.0.1]. On [10.0.0-10.2.0], use hidsysLegacyGetButtonConfigRight instead.
Parameters
[in]addrBtdrvAddress
[out]configHidsysButtonConfigRight

◆ hidsysGetButtonConfigStorageEmbedded()

Result hidsysGetButtonConfigStorageEmbedded ( s32  index,
HidcfgButtonConfigEmbedded config,
HidcfgStorageName name 
)

GetButtonConfigStorageEmbedded.

Note
Only available on [11.0.0+].
Parameters
[in]indexArray index, should be 0-4.
[out]configHidcfgButtonConfigEmbedded
[out]nameHidcfgStorageName

◆ hidsysGetButtonConfigStorageEmbeddedDeprecated()

Result hidsysGetButtonConfigStorageEmbeddedDeprecated ( s32  index,
HidcfgButtonConfigEmbedded config 
)

GetButtonConfigStorageEmbeddedDeprecated.

Note
Only available on [10.0.0-12.1.0].
Parameters
[in]indexArray index, should be 0-4.
[out]configHidcfgButtonConfigEmbedded

◆ hidsysGetButtonConfigStorageFull()

Result hidsysGetButtonConfigStorageFull ( s32  index,
HidcfgButtonConfigFull config,
HidcfgStorageName name 
)

GetButtonConfigStorageFull.

Note
Only available on [11.0.0+].
Parameters
[in]indexArray index, should be 0-4.
[out]configHidcfgButtonConfigFull
[out]nameHidcfgStorageName

◆ hidsysGetButtonConfigStorageFullDeprecated()

Result hidsysGetButtonConfigStorageFullDeprecated ( s32  index,
HidcfgButtonConfigFull config 
)

GetButtonConfigStorageFullDeprecated.

Note
Only available on [10.0.0-12.1.0].
Parameters
[in]indexArray index, should be 0-4.
[out]configHidcfgButtonConfigFull

◆ hidsysGetButtonConfigStorageLeft()

Result hidsysGetButtonConfigStorageLeft ( s32  index,
HidcfgButtonConfigLeft config,
HidcfgStorageName name 
)

GetButtonConfigStorageLeft.

Note
Only available on [11.0.0+].
Parameters
[in]indexArray index, should be 0-4.
[out]configHidcfgButtonConfigLeft
[out]nameHidcfgStorageName

◆ hidsysGetButtonConfigStorageLeftDeprecated()

Result hidsysGetButtonConfigStorageLeftDeprecated ( s32  index,
HidcfgButtonConfigLeft config 
)

GetButtonConfigStorageLeftDeprecated.

Note
Only available on [10.0.0-12.1.0].
Parameters
[in]indexArray index, should be 0-4.
[out]configHidcfgButtonConfigLeft

◆ hidsysGetButtonConfigStorageRight()

Result hidsysGetButtonConfigStorageRight ( s32  index,
HidcfgButtonConfigRight config,
HidcfgStorageName name 
)

GetButtonConfigStorageRight.

Note
Only available on [11.0.0+].
Parameters
[in]indexArray index, should be 0-4.
[out]configHidcfgButtonConfigRight
[out]nameHidcfgStorageName

◆ hidsysGetButtonConfigStorageRightDeprecated()

Result hidsysGetButtonConfigStorageRightDeprecated ( s32  index,
HidcfgButtonConfigRight config 
)

GetButtonConfigStorageRightDeprecated.

Note
Only available on [10.0.0-12.1.0].
Parameters
[in]indexArray index, should be 0-4.
[out]configHidcfgButtonConfigRight

◆ hidsysGetHidButtonConfigEmbedded()

Result hidsysGetHidButtonConfigEmbedded ( HidsysUniquePadId  unique_pad_id,
HidcfgButtonConfigEmbedded config 
)

GetHidButtonConfigEmbedded.

Note
Only available on [10.0.0+].
Parameters
[in]unique_pad_idHidsysUniquePadId
[out]configHidcfgButtonConfigEmbedded

◆ hidsysGetHidButtonConfigFull()

Result hidsysGetHidButtonConfigFull ( HidsysUniquePadId  unique_pad_id,
HidcfgButtonConfigFull config 
)

GetHidButtonConfigFull.

Note
Only available on [10.0.0+].
Parameters
[in]unique_pad_idHidsysUniquePadId
[out]configHidcfgButtonConfigFull

◆ hidsysGetHidButtonConfigLeft()

Result hidsysGetHidButtonConfigLeft ( HidsysUniquePadId  unique_pad_id,
HidcfgButtonConfigLeft config 
)

GetHidButtonConfigLeft.

Note
Only available on [10.0.0+].
Parameters
[in]unique_pad_idHidsysUniquePadId
[out]configHidcfgButtonConfigLeft

◆ hidsysGetHidButtonConfigRight()

Result hidsysGetHidButtonConfigRight ( HidsysUniquePadId  unique_pad_id,
HidcfgButtonConfigRight config 
)

GetHidButtonConfigRight.

Note
Only available on [10.0.0+].
Parameters
[in]unique_pad_idHidsysUniquePadId
[out]configHidcfgButtonConfigRight

◆ hidsysGetLastActiveNpad()

Result hidsysGetLastActiveNpad ( u32 out)

Gets the npad id type of the last controller that was active.

Parameters
[out]outof HidNpadIdType.

◆ hidsysGetNpadInterfaceType()

Result hidsysGetNpadInterfaceType ( HidNpadIdType  id,
u8 out 
)

Gets the HidNpadInterfaceType for the specified controller.

Note
Only available on [10.0.0+].
Parameters
[in]idHidNpadIdType
[out]outHidNpadInterfaceType

◆ hidsysGetNpadLeftRightInterfaceType()

Result hidsysGetNpadLeftRightInterfaceType ( HidNpadIdType  id,
u8 out0,
u8 out1 
)

GetNpadLeftRightInterfaceType.

Note
Only available on [10.0.0+].
Parameters
[in]idHidNpadIdType
[out]out0HidNpadInterfaceType
[out]out1HidNpadInterfaceType

◆ hidsysGetSupportedNpadStyleSetOfCallerApplet()

Result hidsysGetSupportedNpadStyleSetOfCallerApplet ( u32 out)

Gets the SupportedNpadStyleSet for the CallerApplet.

applet must be initialized in order to use this (uses appletGetAppletResourceUserIdOfCallerApplet).

Note
Only available on [6.0.0+].
Parameters
[out]outBitmask of HidNpadStyleTag.

◆ hidsysGetTouchScreenDefaultConfiguration()

Result hidsysGetTouchScreenDefaultConfiguration ( HidTouchScreenConfigurationForNx touch_screen_configuration)

GetTouchScreenDefaultConfiguration.

Note
Only available on [9.0.0+].
Parameters
[out]touch_screen_configurationHidTouchScreenConfigurationForNx.

◆ hidsysGetUniquePadBluetoothAddress()

Result hidsysGetUniquePadBluetoothAddress ( HidsysUniquePadId  unique_pad_id,
BtdrvAddress address 
)

GetUniquePadBluetoothAddress.

Note
Only available on [3.0.0+].
Parameters
[in]unique_pad_idHidsysUniquePadId
[out]addressBtdrvAddress

◆ hidsysGetUniquePadControllerNumber()

Result hidsysGetUniquePadControllerNumber ( HidsysUniquePadId  unique_pad_id,
u64 number 
)

GetUniquePadControllerNumber.

Note
Only available on [5.0.0+].
Parameters
[in]unique_pad_idHidsysUniquePadId
[out]numberController number.

◆ hidsysGetUniquePadIds()

Result hidsysGetUniquePadIds ( HidsysUniquePadId unique_pad_ids,
s32  count,
s32 total_out 
)

Gets a list of all UniquePadIds.

Parameters
[out]unique_pad_idsOutput array of HidsysUniquePadId.
[in]countMax number of entries for the unique_pad_ids array.
[out]total_outTotal output array entries. Optional, can be NULL.

◆ hidsysGetUniquePadInterface()

Result hidsysGetUniquePadInterface ( HidsysUniquePadId  unique_pad_id,
HidNpadInterfaceType interface 
)

GetUniquePadInterface.

Note
Only available on [5.0.0+].
Parameters
[in]unique_pad_idHidsysUniquePadId
[out]interfaceHidNpadInterfaceType

◆ hidsysGetUniquePadSerialNumber()

Result hidsysGetUniquePadSerialNumber ( HidsysUniquePadId  unique_pad_id,
HidsysUniquePadSerialNumber serial 
)

Gets the HidsysUniquePadSerialNumber.

Note
Only available on [5.0.0+].
Parameters
[in]unique_pad_idHidsysUniquePadId
[out]serialHidsysUniquePadSerialNumber

◆ hidsysGetUniquePadsFromNpad()

Result hidsysGetUniquePadsFromNpad ( HidNpadIdType  id,
HidsysUniquePadId unique_pad_ids,
s32  count,
s32 total_out 
)

Gets the UniquePadIds for the specified controller.

Note
Only available on [3.0.0+].
Parameters
[in]idHidNpadIdType
[out]unique_pad_idsOutput array of HidsysUniquePadId.
[in]countMax number of entries for the unique_pad_ids array.
[out]total_outTotal output array entries. Optional, can be NULL.

◆ hidsysGetUniquePadType()

Result hidsysGetUniquePadType ( HidsysUniquePadId  unique_pad_id,
HidsysUniquePadType pad_type 
)

GetUniquePadType.

Note
Only available on [5.0.0+].
Parameters
[in]unique_pad_idHidsysUniquePadId
[out]pad_typeHidsysUniquePadType

◆ hidsysHasBattery()

Result hidsysHasBattery ( HidNpadIdType  id,
bool *  out 
)

HasBattery.

Note
Only available on [10.0.0+].
Parameters
[in]idHidNpadIdType
[out]outOutput flag.

◆ hidsysHasLeftRightBattery()

Result hidsysHasLeftRightBattery ( HidNpadIdType  id,
bool *  out0,
bool *  out1 
)

HasLeftRightBattery.

Note
Only available on [10.0.0+].
Parameters
[in]idHidNpadIdType
[out]out0Output flag.
[out]out1Output flag.

◆ hidsysIsAnyCustomButtonConfigEnabled()

Result hidsysIsAnyCustomButtonConfigEnabled ( bool *  out)

IsAnyCustomButtonConfigEnabled.

Note
Only available on [10.0.0+].
Parameters
[out]outOutput bool flag.

◆ hidsysIsButtonConfigEmbeddedEnabled()

Result hidsysIsButtonConfigEmbeddedEnabled ( bool *  out)

IsButtonConfigEmbeddedEnabled.

Note
Only available on [11.0.0-17.0.1].
Parameters
[out]outOutput bool flag.

◆ hidsysIsButtonConfigEmbeddedSupported()

Result hidsysIsButtonConfigEmbeddedSupported ( bool *  out)

IsButtonConfigEmbeddedSupported.

Note
Only available on [11.0.0-17.0.1].
Parameters
[out]outOutput bool flag.

◆ hidsysIsButtonConfigEnabled()

Result hidsysIsButtonConfigEnabled ( BtdrvAddress  addr,
bool *  out 
)

IsButtonConfigEnabled.

Note
Only available on [11.0.0-17.0.1]. On [10.0.0-10.2.0], use hidsysLegacyIsButtonConfigEnabled instead.
Parameters
[in]addrBtdrvAddress
[in]outOutput bool flag.

◆ hidsysIsButtonConfigStorageEmbeddedEmpty()

Result hidsysIsButtonConfigStorageEmbeddedEmpty ( s32  index,
bool *  out 
)

IsButtonConfigStorageEmbeddedEmpty.

Note
Only available on [10.0.0+].
Parameters
[in]indexArray index, should be 0-4.
[out]outOutput bool flag.

◆ hidsysIsButtonConfigStorageFullEmpty()

Result hidsysIsButtonConfigStorageFullEmpty ( s32  index,
bool *  out 
)

IsButtonConfigStorageFullEmpty.

Note
Only available on [10.0.0+].
Parameters
[in]indexArray index, should be 0-4.
[out]outOutput bool flag.

◆ hidsysIsButtonConfigStorageLeftEmpty()

Result hidsysIsButtonConfigStorageLeftEmpty ( s32  index,
bool *  out 
)

IsButtonConfigStorageLeftEmpty.

Note
Only available on [10.0.0+].
Parameters
[in]indexArray index, should be 0-4.
[out]outOutput bool flag.

◆ hidsysIsButtonConfigStorageRightEmpty()

Result hidsysIsButtonConfigStorageRightEmpty ( s32  index,
bool *  out 
)

IsButtonConfigStorageRightEmpty.

Note
Only available on [10.0.0+].
Parameters
[in]indexArray index, should be 0-4.
[out]outOutput bool flag.

◆ hidsysIsButtonConfigSupported()

Result hidsysIsButtonConfigSupported ( BtdrvAddress  addr,
bool *  out 
)

IsButtonConfigSupported.

Note
Only available on [11.0.0-17.0.1]. On [10.0.0-10.2.0], use hidsysLegacyIsButtonConfigSupported instead.
Parameters
[in]addrBtdrvAddress
[out]outOutput bool flag.

◆ hidsysIsCustomButtonConfigSupported()

Result hidsysIsCustomButtonConfigSupported ( HidsysUniquePadId  unique_pad_id,
bool *  out 
)

IsCustomButtonConfigSupported.

Note
Only available on [10.0.0+].
Parameters
[in]unique_pad_idHidsysUniquePadId
[out]outOutput bool flag.

◆ hidsysIsDefaultButtonConfigEmbedded()

Result hidsysIsDefaultButtonConfigEmbedded ( const HidcfgButtonConfigEmbedded config,
bool *  out 
)

IsDefaultButtonConfigEmbedded.

Note
Only available on [10.0.0+].
Parameters
[in]configHidcfgButtonConfigEmbedded
[out]outOutput bool flag.

◆ hidsysIsDefaultButtonConfigFull()

Result hidsysIsDefaultButtonConfigFull ( const HidcfgButtonConfigFull config,
bool *  out 
)

IsDefaultButtonConfigFull.

Note
Only available on [10.0.0+].
Parameters
[in]configHidcfgButtonConfigFull
[out]outOutput bool flag.

◆ hidsysIsDefaultButtonConfigLeft()

Result hidsysIsDefaultButtonConfigLeft ( const HidcfgButtonConfigLeft config,
bool *  out 
)

IsDefaultButtonConfigLeft.

Note
Only available on [10.0.0+].
Parameters
[in]configHidcfgButtonConfigLeft
[out]outOutput bool flag.

◆ hidsysIsDefaultButtonConfigRight()

Result hidsysIsDefaultButtonConfigRight ( const HidcfgButtonConfigRight config,
bool *  out 
)

IsDefaultButtonConfigRight.

Note
Only available on [10.0.0+].
Parameters
[in]configHidcfgButtonConfigRight
[out]outOutput bool flag.

◆ hidsysIsFirmwareUpdateNeededForNotification()

Result hidsysIsFirmwareUpdateNeededForNotification ( HidsysUniquePadId  unique_pad_id,
bool *  out 
)

IsFirmwareUpdateNeededForNotification.

Note
Only available on [9.0.0+].
Parameters
[in]unique_pad_idHidsysUniquePadId
[out]outOutput flag.

◆ hidsysIsUsbConnected()

Result hidsysIsUsbConnected ( HidsysUniquePadId  unique_pad_id,
bool *  out 
)

IsUsbConnected.

Note
Only available on [3.0.0+].
Parameters
[in]unique_pad_idHidsysUniquePadId
[out]outOutput flag.

◆ hidsysIsUsbFullKeyControllerEnabled()

Result hidsysIsUsbFullKeyControllerEnabled ( bool *  out)

IsUsbFullKeyControllerEnabled.

Note
Only available on [3.0.0+].
Parameters
[out]outOutput flag.

◆ hidsysIsUsingCustomButtonConfig()

Result hidsysIsUsingCustomButtonConfig ( HidsysUniquePadId  unique_pad_id,
bool *  out 
)

IsUsingCustomButtonConfig.

Note
Only available on [10.0.0+].
Parameters
[in]unique_pad_idHidsysUniquePadId
[out]outOutput bool flag.

◆ hidsysLegacyDeleteButtonConfig()

Result hidsysLegacyDeleteButtonConfig ( HidsysUniquePadId  unique_pad_id)

Legacy DeleteButtonConfig.

Note
Only available on [10.0.0-10.2.0]. On [11.0.0-17.0.1], use hidsysDeleteButtonConfig instead.
Parameters
[in]unique_pad_idHidsysUniquePadId

◆ hidsysLegacyGetButtonConfigEmbedded()

Result hidsysLegacyGetButtonConfigEmbedded ( HidsysUniquePadId  unique_pad_id,
HidsysButtonConfigEmbedded config 
)

Legacy GetButtonConfigEmbedded.

Note
Only available on [10.0.0-10.2.0]. On [11.0.0-17.0.1], use hidsysGetButtonConfigEmbedded instead.
Parameters
[in]unique_pad_idHidsysUniquePadId
[out]configHidsysButtonConfigEmbedded

◆ hidsysLegacyGetButtonConfigFull()

Result hidsysLegacyGetButtonConfigFull ( HidsysUniquePadId  unique_pad_id,
HidsysButtonConfigFull config 
)

Legacy GetButtonConfigFull.

Note
Only available on [10.0.0-10.2.0]. On [11.0.0-17.0.1], use hidsysGetButtonConfigFull instead.
Parameters
[in]unique_pad_idHidsysUniquePadId
[out]configHidsysButtonConfigFull

◆ hidsysLegacyGetButtonConfigLeft()

Result hidsysLegacyGetButtonConfigLeft ( HidsysUniquePadId  unique_pad_id,
HidsysButtonConfigLeft config 
)

Legacy GetButtonConfigLeft.

Note
Only available on [10.0.0-10.2.0]. On [11.0.0-17.0.1], use hidsysGetButtonConfigLeft instead.
Parameters
[in]unique_pad_idHidsysUniquePadId
[out]configHidsysButtonConfigLeft

◆ hidsysLegacyGetButtonConfigRight()

Result hidsysLegacyGetButtonConfigRight ( HidsysUniquePadId  unique_pad_id,
HidsysButtonConfigRight config 
)

Legacy GetButtonConfigRight.

Note
Only available on [10.0.0-10.2.0]. On [11.0.0-17.0.1], use hidsysGetButtonConfigRight instead.
Parameters
[in]unique_pad_idHidsysUniquePadId
[out]configHidsysButtonConfigRight

◆ hidsysLegacyIsButtonConfigEnabled()

Result hidsysLegacyIsButtonConfigEnabled ( HidsysUniquePadId  unique_pad_id,
bool *  out 
)

Legacy IsButtonConfigEnabled.

Note
Only available on [10.0.0-10.2.0]. On [11.0.0-17.0.1], use hidsysIsButtonConfigEnabled instead.
Parameters
[in]unique_pad_idHidsysUniquePadId
[out]outOutput bool flag.

◆ hidsysLegacyIsButtonConfigSupported()

Result hidsysLegacyIsButtonConfigSupported ( HidsysUniquePadId  unique_pad_id,
bool *  out 
)

Legacy IsButtonConfigSupported.

Note
Only available on [10.0.0-10.2.0]. On [11.0.0-17.0.1], use hidsysIsButtonConfigSupported instead.
Parameters
[in]unique_pad_idHidsysUniquePadId
[out]outOutput bool flag.

◆ hidsysLegacySetButtonConfigEmbedded()

Result hidsysLegacySetButtonConfigEmbedded ( HidsysUniquePadId  unique_pad_id,
const HidsysButtonConfigEmbedded config 
)

Legacy SetButtonConfigEmbedded.

Note
Only available on [10.0.0-10.2.0]. On [11.0.0-17.0.1], use hidsysSetButtonConfigEmbedded instead.
Parameters
[in]unique_pad_idHidsysUniquePadId
[in]configHidsysButtonConfigEmbedded

◆ hidsysLegacySetButtonConfigEnabled()

Result hidsysLegacySetButtonConfigEnabled ( HidsysUniquePadId  unique_pad_id,
bool  flag 
)

Legacy SetButtonConfigEnabled.

Note
Only available on [10.0.0-10.2.0]. On [11.0.0-17.0.1], use hidsysSetButtonConfigEnabled instead.
Parameters
[in]unique_pad_idHidsysUniquePadId
[in]flagInput flag.

◆ hidsysLegacySetButtonConfigFull()

Result hidsysLegacySetButtonConfigFull ( HidsysUniquePadId  unique_pad_id,
const HidsysButtonConfigFull config 
)

Legacy SetButtonConfigFull.

Note
Only available on [10.0.0-10.2.0]. On [11.0.0-17.0.1], use hidsysSetButtonConfigFull instead.
Parameters
[in]unique_pad_idHidsysUniquePadId
[in]configHidsysButtonConfigFull

◆ hidsysLegacySetButtonConfigLeft()

Result hidsysLegacySetButtonConfigLeft ( HidsysUniquePadId  unique_pad_id,
const HidsysButtonConfigLeft config 
)

Legacy SetButtonConfigLeft.

Note
Only available on [10.0.0-10.2.0]. On [11.0.0-17.0.1], use hidsysSetButtonConfigLeft instead.
Parameters
[in]unique_pad_idHidsysUniquePadId
[in]configHidsysButtonConfigLeft

◆ hidsysLegacySetButtonConfigRight()

Result hidsysLegacySetButtonConfigRight ( HidsysUniquePadId  unique_pad_id,
const HidsysButtonConfigRight config 
)

Legacy SetButtonConfigRight.

Note
Only available on [10.0.0-10.2.0]. On [11.0.0-17.0.1], use hidsysSetButtonConfigRight instead.
Parameters
[in]unique_pad_idHidsysUniquePadId
[in]configHidsysButtonConfigRight

◆ hidsysSendKeyboardLockKeyEvent()

Result hidsysSendKeyboardLockKeyEvent ( u32  events)

SendKeyboardLockKeyEvent.

Parameters
[in]eventsBitfield of HidKeyboardLockKeyEvent.

◆ hidsysSetAllCustomButtonConfigEnabled()

Result hidsysSetAllCustomButtonConfigEnabled ( u64  AppletResourceUserId,
bool  flag 
)

SetAllCustomButtonConfigEnabled.

Note
Only available on [10.0.0+].
Parameters
[in]AppletResourceUserIdAppletResourceUserId
[in]flagInput bool flag.

◆ hidsysSetAllDefaultButtonConfig()

Result hidsysSetAllDefaultButtonConfig ( void  )

SetAllDefaultButtonConfig.

Note
Only available on [10.0.0+].

◆ hidsysSetButtonConfigEmbedded()

Result hidsysSetButtonConfigEmbedded ( const HidsysButtonConfigEmbedded config)

SetButtonConfigEmbedded.

Note
Only available on [11.0.0-17.0.1]. On [10.0.0-10.2.0], use hidsysLegacySetButtonConfigEmbedded instead.
Parameters
[in]configHidsysButtonConfigEmbedded

◆ hidsysSetButtonConfigEmbeddedEnabled()

Result hidsysSetButtonConfigEmbeddedEnabled ( bool  flag)

SetButtonConfigEmbeddedEnabled.

Note
Only available on [11.0.0-17.0.1].
Parameters
[in]flagInput flag.

◆ hidsysSetButtonConfigEnabled()

Result hidsysSetButtonConfigEnabled ( BtdrvAddress  addr,
bool  flag 
)

SetButtonConfigEnabled.

Note
Only available on [11.0.0-17.0.1]. On [10.0.0-10.2.0], use hidsysLegacySetButtonConfigEnabled instead.
Parameters
[in]addrBtdrvAddress
[in]flagInput flag.

◆ hidsysSetButtonConfigFull()

Result hidsysSetButtonConfigFull ( BtdrvAddress  addr,
const HidsysButtonConfigFull config 
)

SetButtonConfigFull.

Note
Only available on [11.0.0-17.0.1]. On [10.0.0-10.2.0], use hidsysLegacySetButtonConfigFull instead.
Parameters
[in]addrBtdrvAddress
[in]configHidsysButtonConfigFull

◆ hidsysSetButtonConfigLeft()

Result hidsysSetButtonConfigLeft ( BtdrvAddress  addr,
const HidsysButtonConfigLeft config 
)

SetButtonConfigLeft.

Note
Only available on [11.0.0-17.0.1]. On [10.0.0-10.2.0], use hidsysLegacySetButtonConfigLeft instead.
Parameters
[in]addrBtdrvAddress
[in]configHidsysButtonConfigLeft

◆ hidsysSetButtonConfigRight()

Result hidsysSetButtonConfigRight ( BtdrvAddress  addr,
const HidsysButtonConfigRight config 
)

SetButtonConfigRight.

Note
Only available on [11.0.0-17.0.1]. On [10.0.0-10.2.0], use hidsysLegacySetButtonConfigRight instead.
Parameters
[in]addrBtdrvAddress
[in]configHidsysButtonConfigRight

◆ hidsysSetButtonConfigStorageEmbedded()

Result hidsysSetButtonConfigStorageEmbedded ( s32  index,
const HidcfgButtonConfigEmbedded config,
const HidcfgStorageName name 
)

SetButtonConfigStorageEmbedded.

Note
Only available on [11.0.0+].
Parameters
[in]indexArray index, should be 0-4.
[in]configHidcfgButtonConfigEmbedded
[in]nameHidcfgStorageName

◆ hidsysSetButtonConfigStorageEmbeddedDeprecated()

Result hidsysSetButtonConfigStorageEmbeddedDeprecated ( s32  index,
const HidcfgButtonConfigEmbedded config 
)

SetButtonConfigStorageEmbeddedDeprecated.

Note
Only available on [10.0.0-12.1.0].
Parameters
[in]indexArray index, should be 0-4.
[in]configHidcfgButtonConfigEmbedded

◆ hidsysSetButtonConfigStorageFull()

Result hidsysSetButtonConfigStorageFull ( s32  index,
const HidcfgButtonConfigFull config,
const HidcfgStorageName name 
)

SetButtonConfigStorageFull.

Note
Only available on [11.0.0+].
Parameters
[in]indexArray index, should be 0-4.
[in]configHidcfgButtonConfigFull
[in]nameHidcfgStorageName

◆ hidsysSetButtonConfigStorageFullDeprecated()

Result hidsysSetButtonConfigStorageFullDeprecated ( s32  index,
const HidcfgButtonConfigFull config 
)

SetButtonConfigStorageFullDeprecated.

Note
Only available on [10.0.0-12.1.0].
Parameters
[in]indexArray index, should be 0-4.
[in]configHidcfgButtonConfigFull

◆ hidsysSetButtonConfigStorageLeft()

Result hidsysSetButtonConfigStorageLeft ( s32  index,
const HidcfgButtonConfigLeft config,
const HidcfgStorageName name 
)

SetButtonConfigStorageLeft.

Note
Only available on [11.0.0+].
Parameters
[in]indexArray index, should be 0-4.
[in]configHidcfgButtonConfigLeft
[in]nameHidcfgStorageName

◆ hidsysSetButtonConfigStorageLeftDeprecated()

Result hidsysSetButtonConfigStorageLeftDeprecated ( s32  index,
const HidcfgButtonConfigLeft config 
)

SetButtonConfigStorageLeftDeprecated.

Note
Only available on [10.0.0-12.1.0].
Parameters
[in]indexArray index, should be 0-4.
[in]configHidcfgButtonConfigLeft

◆ hidsysSetButtonConfigStorageRight()

Result hidsysSetButtonConfigStorageRight ( s32  index,
const HidcfgButtonConfigRight config,
const HidcfgStorageName name 
)

SetButtonConfigStorageRight.

Note
Only available on [11.0.0+].
Parameters
[in]indexArray index, should be 0-4.
[in]configHidcfgButtonConfigRight
[in]nameHidcfgStorageName

◆ hidsysSetButtonConfigStorageRightDeprecated()

Result hidsysSetButtonConfigStorageRightDeprecated ( s32  index,
const HidcfgButtonConfigRight config 
)

SetButtonConfigStorageRightDeprecated.

Note
Only available on [10.0.0-12.1.0].
Parameters
[in]indexArray index, should be 0-4.
[in]configHidcfgButtonConfigRight

◆ hidsysSetHidButtonConfigEmbedded()

Result hidsysSetHidButtonConfigEmbedded ( HidsysUniquePadId  unique_pad_id,
const HidcfgButtonConfigEmbedded config 
)

SetHidButtonConfigEmbedded.

Note
Only available on [10.0.0+].
Parameters
[in]unique_pad_idHidsysUniquePadId
[in]configHidcfgButtonConfigEmbedded

◆ hidsysSetHidButtonConfigFull()

Result hidsysSetHidButtonConfigFull ( HidsysUniquePadId  unique_pad_id,
const HidcfgButtonConfigFull config 
)

SetHidButtonConfigFull.

Note
Only available on [10.0.0+].
Parameters
[in]unique_pad_idHidsysUniquePadId
[in]configHidcfgButtonConfigFull

◆ hidsysSetHidButtonConfigLeft()

Result hidsysSetHidButtonConfigLeft ( HidsysUniquePadId  unique_pad_id,
const HidcfgButtonConfigLeft config 
)

SetHidButtonConfigLeft.

Note
Only available on [10.0.0+].
Parameters
[in]unique_pad_idHidsysUniquePadId
[in]configHidcfgButtonConfigLeft

◆ hidsysSetHidButtonConfigRight()

Result hidsysSetHidButtonConfigRight ( HidsysUniquePadId  unique_pad_id,
const HidcfgButtonConfigRight config 
)

SetHidButtonConfigRight.

Note
Only available on [10.0.0+].
Parameters
[in]unique_pad_idHidsysUniquePadId
[in]configHidcfgButtonConfigRight

◆ hidsysSetNotificationLedPattern()

Result hidsysSetNotificationLedPattern ( const HidsysNotificationLedPattern pattern,
HidsysUniquePadId  unique_pad_id 
)

Sets the HOME-button notification LED pattern, for the specified controller.

Note
Generally this should only be used if hidsysSetNotificationLedPatternWithTimeout is not usable.
Only available on [7.0.0+].
Parameters
[in]patternHidsysNotificationLedPattern
[in]unique_pad_idHidsysUniquePadId

◆ hidsysSetNotificationLedPatternWithTimeout()

Result hidsysSetNotificationLedPatternWithTimeout ( const HidsysNotificationLedPattern pattern,
HidsysUniquePadId  unique_pad_id,
u64  timeout 
)

Sets the HOME-button notification LED pattern, for the specified controller.

The LED will automatically be disabled once the specified timeout occurs.

Note
Only available on [9.0.0+], and with controllers which have the [9.0.0+] firmware installed.
Parameters
[in]patternHidsysNotificationLedPattern
[in]unique_pad_idHidsysUniquePadId
[in]timeoutTimeout in nanoseconds.