Files
erickdavestech--ps5-dualsen…/include/common_fps/lifecycle.hpp
T
erickdavestech 7b9547efcc ps5-dualsense-overlay v1.0.0
On-screen DualSense controller overlay for a PS5 running homebrew.

Derivative of Common FPS for PS5 v1.2.1 by porhe911 with the SimpleFPS
patch by khalifa007, both GPL-3.0-or-later. Controller artwork by
Zacksly, CC BY 3.0, modified. See CREDITS.md and CHANGELOG.md.

Signed-off-by: erickdavestech <54048831+erickdavestech@users.noreply.github.com>
2026-10-03 20:16:44 -04:00

29 lines
505 B
C++

/*
* Common FPS for PS5
* Copyright (C) 2026 porhe911
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#pragma once
#include "common_fps/fps_sampler.hpp"
#include "common_fps/types.hpp"
namespace common_fps {
class Lifecycle {
public:
Lifecycle(Platform& platform, OverlayConfig cfg);
OverlayFrame tick();
void set_config(const OverlayConfig& cfg);
void reset();
private:
Platform& platform_;
FpsSampler sampler_;
OverlayConfig config_;
};
} // namespace common_fps