Skip to content

Allow starting server from command line without UI interaction #37

Description

@mahisafa82

Describe the solution you'd like

Add support for a command-line argument to automatically start the server when launching the application.

For example:

VGamepadPC --start

When the app is launched with the --start flag, it should immediately start the server without requiring the user to manually click the Start button in the UI.

Describe why you need it

This would make it easier to automate launching VirtualGamePad, especially for users who want to start the server on system startup, create shortcuts, or integrate it into scripts.

Currently, launching the app only opens the interface, and the server must be started manually every time. A command-line flag would provide a faster and more convenient workflow for users who always want the server running.

Describe alternatives you've considered

  • Adding an option in the settings to always start the server on launch.
  • Creating a separate launcher script that opens the app and triggers the start action.
  • Automatically starting the server for all launches, but this may not be desirable for users who only want to configure settings.

A command-line flag keeps the current behavior as the default while giving advanced users an easy way to enable automatic startup.

Additional context

This feature would be especially useful for headless or semi-automated setups where VirtualGamePad is launched as part of a startup process and no manual interaction with the UI is expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions