Skarsnik / QUsb2snes

A Qt based webserver for usb2snes. Users: go check usb2snes.com
https://skarsnik.github.io/QUsb2snes/
GNU General Public License v3.0
52 stars 33 forks source link

Request: Allows to specify IP in QFile2Snes #94

Open shadowofdarkness opened 3 years ago

shadowofdarkness commented 3 years ago

Currently I have QUsb2Snes (no gui) running on a Raspberry Pi that is connected to my FXPAK Pro and I have QFile2Snes running on a laptop which works great and is what I wanted. But since I don't code this required just changing the source code to specify my Pi's IP instead of "localhost" and change trustedOrigin.append to Any

I feel it could be useful if proper support for this setup was added for many people like me that have a Pi and SNES connected to a TV and not close to a computer.

Skarsnik commented 3 years ago

You can add a listen parameter in the config file to specify witch address you want to listen to. I need to document this :)

shadowofdarkness commented 3 years ago

Thanks I compiled a clean QUsb2Snes version and used that listen parameter on the Pi and it worked great. I assume I have to still modify any client software like QFile2Snes to hard code the correct IP for the Pi since I could not find and parameters or configuration options to type in the IP of a host. But at least this is a good step and when more people know about it the other software will update to give configurable host options.