mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-12-01 07:33:07 +00:00
24 lines
535 B
C
24 lines
535 B
C
|
/**
|
||
|
* @file hid.h
|
||
|
* @brief Functions that help process gamepad inputs.
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "types.h"
|
||
|
#include "util.h"
|
||
|
|
||
|
namespace nn
|
||
|
{
|
||
|
namespace hid
|
||
|
{
|
||
|
struct NpadHandheldState;
|
||
|
struct NpadStyleTag;
|
||
|
|
||
|
void InitializeNpad();
|
||
|
void SetSupportedNpadIdType(u32 const* , u64);
|
||
|
void SetSupportedNpadStyleSet(nn::util::BitFlagSet<32, nn::hid::NpadStyleTag>);
|
||
|
void GetNpadStyleSet(u32 const &);
|
||
|
void GetNpadStates(nn::hid::NpadHandheldState *, s32, u32 const &);
|
||
|
};
|
||
|
};
|