| 12345678910111213141516171819202122 |
- // mode_ps5.h -- Sony DualSense personality (MODE_PS5): 054C:0CE6 + gyro + split trackpad.
- //
- // Streams the DualSense USB input report (id 0x01) at ~250Hz from task(): sticks, triggers, PS-layout buttons,
- // gyro/accel, and BOTH Steam trackpads mapped onto the single DualSense touchpad (left pad -> left half, right
- // pad -> right half) via the shared touch packers in gamepad_util.
- #pragma once
- #include "controllers.h"
- class Ps5Controller : public IController {
- public:
- void begin() override;
- void task() override;
- bool dynamicMount() const override
- {
- return true;
- }
- uint8_t maxSlots() const override;
- void usbIdentity() override;
- void beginPool() override;
- void mountSlots(uint8_t k) override;
- };
- extern Ps5Controller g_ps5Ctl;
|