From 1b96111afcd2955d968230f77b7af80b2158f86d Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Sat, 9 Feb 2019 15:56:52 +0000 Subject: [PATCH] Add entry in README for supervisor support --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index c625e67..eb27a59 100644 --- a/README.md +++ b/README.md @@ -148,6 +148,18 @@ Developers can integrate the request directly into an app. Note that none of the Or, distribute `libgamemodeauto.so` and either add `-lgamemodeauto` to your linker arguments, or add it to an LD\_PRELOAD in a launch script. +### Supervisor support +Developers can also create apps that manage GameMode on the system, for other processes: + +```C +#include "gamemode_client.h" + + gamemode_request_start_for(gamePID); + gamemode_request_end_for(gamePID); +``` + +This functionality can also be controlled in the config file in the `supervisor` section. + --- ## Contributions