mirror of
https://github.com/MrLowPr/overdrive.git
synced 2026-10-19 04:06:34 +02:00
12 lines
478 B
C++
12 lines
478 B
C++
// Copyright (C) 2026 half144 and PS5 React contributors
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
// Additional attribution term: see LICENSE-ATTRIBUTION.
|
|
#pragma once
|
|
|
|
#include <SDL2/SDL.h>
|
|
|
|
// The Host owns the controller; the native API borrows it for light bar and rumble.
|
|
void desktop_set_controller(SDL_GameController* controller);
|
|
// Whether the app asked to open again once closed (host::arrange_relaunch); main runs itself again.
|
|
bool desktop_relaunch_requested();
|