mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 20:49:12 +12:00
Add HID service
This commit is contained in:
parent
5bc8c9d671
commit
340e0c9266
5 changed files with 46 additions and 2 deletions
|
@ -0,0 +1,22 @@
|
|||
#include "services/hid.hpp"
|
||||
|
||||
namespace HIDCommands {
|
||||
enum : u32 {
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
namespace Result {
|
||||
enum : u32 {
|
||||
Success = 0,
|
||||
};
|
||||
}
|
||||
|
||||
void HIDService::reset() {}
|
||||
|
||||
void HIDService::handleSyncRequest(u32 messagePointer) {
|
||||
const u32 command = mem.read32(messagePointer);
|
||||
switch (command) {
|
||||
default: Helpers::panic("HID service requested. Command: %08X\n", command);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue