Add HID service

This commit is contained in:
wheremyfoodat 2022-09-18 02:31:58 +03:00
parent 5bc8c9d671
commit 340e0c9266
5 changed files with 46 additions and 2 deletions

View file

@ -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);
}
}