Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store and manage user preferences #2

Open
3 tasks
kitswas opened this issue Aug 6, 2023 · 3 comments
Open
3 tasks

Store and manage user preferences #2

kitswas opened this issue Aug 6, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@kitswas
Copy link
Owner

kitswas commented Aug 6, 2023

Currently, all the application settings are hard-coded.

We need to let the user change them.

The QSettings Class can help us achieve this.

Mockups

The main window needs a preferences button.
image

The settings/preferences dialog box should look like
image

Behaviour

  1. The settings should be stored in an ini file.
  2. The settings must be loaded on the application launch.
  3. On pressing OK in the Settings window, the old settings should be overwritten.
  4. If the ini file is missing/not found, the default settings must be written to a file on app launch.
  5. Individual settings should be grouped. e.g., Default Port under section Server, key mappings under section Keymap.

Checklist

  • Create the UI. (Just the outline as shown in the mockup)
  • Add logic to the UI elements
  • Complete the individual sections
@kitswas kitswas added the enhancement New feature or request label Aug 6, 2023
@kitswas
Copy link
Owner Author

kitswas commented Dec 16, 2023

Partially handled by #5.

@TheEmiLady
Copy link

Hi, I have been searching for a way to get in touch about VirtualGamePad and only found this lol - I never used GitHub before, please be kind!
After my gamepad stopped working, I searched for a way to play without it, and today I have spent a few hours trying to use VGP as a controller for the emulator I was playing with (the game emulator I'm playing is on a Windows computer running VGP's server and the controller is on an Android smartphone running VGP's client) with limited success.
I would have liked to emulate a XInput-like gamepad; all instructions I found worked, unfortunately the mobile app's "settings" button doesn't do anything and apparently I cannot edit anything without editing VGP's code, which I am unable to since I have extremely limited knowledge about all this.
So I just wanted to let you know that even if I was unable to do what I want with it, I think VirtualGamePad sounds like a fantastic project! I was surprised how hard it is to find such an opensource software, there are some other softwares that seem similar but they require users to pay and/or their sourcecode isn't free so I don't trust them much. I'll look forward to updates with an easier way to customize it hopefully.

@kitswas
Copy link
Owner Author

kitswas commented Oct 6, 2024

their sourcecode isn't free so I don't trust them much

Good, you shouldn't. Having non-verifiable software send random input to your device is no different from giving away your device, unlocked.

I have been searching for a way to get in touch about VirtualGamePad

Other people have also said so when they finally contacted me through various ...surprising sources.
I had plans to have a Discord server since gamers are much likely to have an account already, but moderation is a problem. Especially when most users of VirtualGamePad are likely to be minors.
GitHub discussions was enabled but it sat collecting dust till I disabled it.

emulate a XInput-like gamepad

That won't be possible as I have explained here - #8 (comment)
Since you mentioned an emulator, keyboard and mouse input should work just fine.

how hard it is to find such an opensource software

This is a niche that requires the willingness, patience and skill to dive into systems progamming (Here Be Dragons).
And it requires a diverse skillset. (Desktop App development + Mobile App development)

editing VGP's code, which I am unable to

Even I find it frustating to deal with the setup I have to do to start working on this codebase.

the mobile app's "settings" button doesn't do anything ... I'll look forward to updates with an easier way to customize it hopefully.

I hadn't implemented it in v0.1. Forgot to remove or disable the button before releasing.
The current main branch for both the PC and Mobile app have improvements with some customization support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants