hid: Implement SevenSixAxis and ConsoleSixAxisSensor

This commit is contained in:
german77
2021-04-22 13:15:59 -05:00
parent cdce1edf74
commit c19ad21ae8
10 changed files with 220 additions and 17 deletions

View File

@ -36,6 +36,10 @@ std::shared_ptr<TransferMemory> TransferMemory::Create(KernelCore& kernel,
return transfer_memory;
}
u8* TransferMemory::GetPointer() {
return memory.GetPointer(base_address);
}
const u8* TransferMemory::GetPointer() const {
return memory.GetPointer(base_address);
}

View File

@ -56,6 +56,9 @@ public:
return HANDLE_TYPE;
}
/// Gets a pointer to the backing block of this instance.
u8* GetPointer();
/// Gets a pointer to the backing block of this instance.
const u8* GetPointer() const;