mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-25 16:09:11 +12:00
IR please stop
This commit is contained in:
parent
cfcf757e70
commit
3ad0fc6a56
2 changed files with 39 additions and 4 deletions
include/services
|
@ -11,6 +11,10 @@
|
|||
class Kernel;
|
||||
|
||||
class IRUserService {
|
||||
enum class DeviceID : u8 {
|
||||
CirclePadPro = 1,
|
||||
};
|
||||
|
||||
Handle handle = KernelHandles::IR_USER;
|
||||
Memory& mem;
|
||||
Kernel& kernel;
|
||||
|
@ -20,10 +24,16 @@ class IRUserService {
|
|||
void disconnect(u32 messagePointer);
|
||||
void finalizeIrnop(u32 messagePointer);
|
||||
void getConnectionStatusEvent(u32 messagePointer);
|
||||
void getReceiveEvent(u32 messagePointer);
|
||||
void initializeIrnopShared(u32 messagePointer);
|
||||
void requireConnection(u32 messagePointer);
|
||||
void sendIrnop(u32 messagePointer);
|
||||
|
||||
using IREvent = std::optional<Handle>;
|
||||
|
||||
IREvent connectionStatusEvent = std::nullopt;
|
||||
IREvent receiveEvent = std::nullopt;
|
||||
|
||||
std::optional<Handle> connectionStatusEvent = std::nullopt;
|
||||
std::optional<MemoryBlock> sharedMemory = std::nullopt;
|
||||
bool connectedDevice = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue