mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-16 16:53:57 +12:00
Implement controller gyroscope in SDL
This commit is contained in:
parent
88e0782f71
commit
d208c24c0c
6 changed files with 54 additions and 1 deletions
include/services
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue