Implement controller gyroscope in SDL

This commit is contained in:
wheremyfoodat 2024-08-14 22:35:02 +03:00
parent 88e0782f71
commit d208c24c0c
6 changed files with 54 additions and 1 deletions
include/services

View file

@ -88,6 +88,8 @@ class HIDService {
}
public:
static constexpr float gyroscopeCoeff = 14.375f; // Same as retail 3DS
HIDService(Memory& mem, Kernel& kernel) : mem(mem), kernel(kernel) {}
void reset();
void handleSyncRequest(u32 messagePointer);