Config File
To configure the game sdk a config.toml can be created. The path to it can be set when executing Game.run(config_path="path/to/your/config.toml"). The default path is /home/pi/Controller/config.toml
Structure
Example
seat=1
[CONTROLLER]
input_device="/dev/input/event1"
[MQTT]
broker_ip="192.168.1.20"
borker_port="1883"
username="mqtt"
password="secret"
int seat: ID of your controller
CONTROLLER
Configuration for the connected gamepad
str input_device: Path to your input device
MQTT
Configuration to connect to the mqtt broker of the gamecontrol
str broker_ip: Adress to your mqtt brokerstr broker_port(Optional): MQTT Port of your broker (default1883)str username(Optional): Username for authentifikation (defaultNONE)str password(Optional): Password for authentifikation (defaultNONE)