mirror of
https://github.com/ndeadly/MissionControl
synced 2024-11-30 16:19:13 +00:00
20 lines
502 B
C++
20 lines
502 B
C++
#pragma once
|
|
#include <switch.h>
|
|
#include <stratosphere.hpp>
|
|
#include "bluetooth_types.hpp"
|
|
|
|
namespace ams::bluetooth::hid {
|
|
|
|
bool IsInitialized(void);
|
|
|
|
os::SystemEventType *GetSystemEvent(void);
|
|
os::SystemEventType *GetForwardEvent(void);
|
|
os::SystemEventType *GetUserForwardEvent(void);
|
|
|
|
Result Initialize(Handle eventHandle);
|
|
void Finalize(void);
|
|
|
|
Result GetEventInfo(ncm::ProgramId program_id, HidEventType *type, u8* buffer, size_t size);
|
|
void HandleEvent(void);
|
|
|
|
}
|