Skip to content

PipeManager

Inherits: Node

Class for managing control messages sent through a named pipe

Description

The PipeManager creates a named pipe in /run/user/<uid>/opengamepadui that can be used as a communication mechanism to send OpenGamepadUI commands from another process. This is mostly done to handle custom ogui:// URIs which can be used to react in different ways.

Properties

Type Name Default
LaunchManager launch_manager
LibraryManager library_manager
SettingsManager settings_manager
FifoReader pipe
String pipe_path
CustomLogger logger

Methods

Returns Signature
String get_pipe_path()
String get_run_path()
int get_uid()

Property Descriptions

launch_manager

LaunchManager launch_manager

Note

There is currently no description for this property. Please help us by contributing one!

library_manager

LibraryManager library_manager

Note

There is currently no description for this property. Please help us by contributing one!

settings_manager

SettingsManager settings_manager

Note

There is currently no description for this property. Please help us by contributing one!

pipe

FifoReader pipe

Note

There is currently no description for this property. Please help us by contributing one!

pipe_path

String pipe_path

Note

There is currently no description for this property. Please help us by contributing one!

logger

CustomLogger logger

Note

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

get_pipe_path()

String get_pipe_path()

Returns the path to the named pipe (e.g. /run/user/1000/opengamepadui/opengamepadui-0)

get_run_path()

String get_run_path()

Returns the run path for the current user (e.g. /run/user/1000/opengamepadui)

get_uid()

int get_uid()

Returns the current user id (e.g. 1000)