fs.mitm: Add title-specific override key support.

This commit is contained in:
Michael Scire
2019-02-23 07:39:40 -08:00
parent eefee8c7a8
commit 6cc69fb3fc
2 changed files with 147 additions and 60 deletions

View File

@@ -37,6 +37,11 @@ enum BisStorageId : u32 {
BisStorageId_SystemProperPartition = 33,
};
struct OverrideKey {
u64 key_combination;
bool override_by_default;
};
class Utils {
public:
static bool IsSdInitialized();
@@ -72,6 +77,8 @@ class Utils {
static bool IsHidAvailable();
static Result GetKeysDown(u64 *keys);
static OverrideKey GetTitleOverrideKey(u64 tid);
static bool HasOverrideButton(u64 tid);
/* Settings! */