libnx/nx/include/switch/services/hid_dbg.h
2018-08-04 15:30:05 +00:00

18 lines
425 B
C

/**
* @file hid.h
* @brief Human input device (hid:dbg) service IPC wrapper.
* @author p-sam
* @copyright libnx Authors
*/
#pragma once
#include "../types.h"
#define HID_DBG_DHB_MAX_TRIES 100
#define HID_DBG_DHB_RC (0x16eca)
Result hidDbgInitialize(void);
void hidDbgExit(void);
/// Enables the default behavior of the HOME button (going back to the main menu) if it was disabled
Result hidDbgDeactivateHomeButton();