2020-06-13 00:08:43 +00:00
|
|
|
#pragma once
|
|
|
|
#include <switch.h>
|
|
|
|
#include <stratosphere.hpp>
|
|
|
|
|
2020-06-13 17:15:59 +00:00
|
|
|
namespace ams::bluetooth::hid::report {
|
2020-06-13 00:08:43 +00:00
|
|
|
|
2020-06-13 17:15:59 +00:00
|
|
|
SharedMemory *GetRealSharedMemory(void);
|
|
|
|
SharedMemory *GetFakeSharedMemory(void);
|
2020-06-13 00:08:43 +00:00
|
|
|
|
2020-06-13 17:15:59 +00:00
|
|
|
os::SystemEventType *GetSystemEvent(void);
|
|
|
|
os::SystemEventType *GetForwardEvent(void);
|
|
|
|
os::SystemEventType *GetUserForwardEvent(void);
|
2020-06-13 00:08:43 +00:00
|
|
|
|
2020-06-13 17:15:59 +00:00
|
|
|
Result MapRemoteSharedMemory(Handle handle);
|
|
|
|
Result InitializeFakeSharedMemory(void);
|
2020-06-13 00:08:43 +00:00
|
|
|
|
2020-06-13 17:15:59 +00:00
|
|
|
Result InitializeEvents(void);
|
|
|
|
Result StartEventHandlerThread(void);
|
|
|
|
|
|
|
|
}
|