Fixed: - Xbox style; - removed dropdown; - replaced screenshot; - added flatpack instructions; moved around declarations
This commit is contained in:
parent
dbedb0a81a
commit
abd7333306
6 changed files with 26 additions and 11 deletions
19
README.md
19
README.md
|
|
@ -1,6 +1,6 @@
|
|||
# JS-DualShock3-Monitor
|
||||
|
||||
Pure javascript-driven gamepad monitor (styled for Dualshock 3, NES, SNES, XBox 360)
|
||||
Pure javascript-driven gamepad monitor (styled for mini-Dualshock 3, NES, SNES, XBox 360)
|
||||
|
||||
Built to be used in OBS an an overlay.
|
||||
That means the controller will be semi-transparent.
|
||||
|
|
@ -14,12 +14,23 @@ Compatible with any XInput device (xbox controllers, Mayflash Magic adapters in
|
|||
- Click "Browse" and select the index.html from this repo
|
||||
- Tick the "Shutdown source when not visible" box
|
||||
- Tick the "Refresh browser when scene becomes active" box
|
||||
- Make suse the browser source has `body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden; }` in the `Custom CSS` field
|
||||
- Make suse the browser source has `body { background-color: rgba(0, 0, 0, 0)!important; overflow: hidden; }` in the `Custom CSS` field
|
||||
|
||||
### To change styles:
|
||||
- Right click your browser source
|
||||
- Pick the "Ineteract" options
|
||||
- Click on dropdown list utill it's open. Note that you won't see any actual items, instead there will be thick border inside the list 
|
||||
- Use up/down arrows to chose the desired style
|
||||
- Select "Controller type"
|
||||
- Adjust strokes and fill colors using sliders
|
||||
|
||||
### Flatpack OBS
|
||||
Flatpack OBS is a weird beast (as all flatpacks surely are), but many consider it to be the only way to use OBS on their Linux system.
|
||||
At least on Manjaro, the default "permissions" of flatpacks disallow controller access.
|
||||
That *is* fixable, but [opens a can of worms of its own](https://docs.flatpak.org/en/latest/sandbox-permissions.html).
|
||||
If you're okay with that, add `--filesystem=/run/udev --device=all` to your .desktop file/launch script.<br>
|
||||
Mine ended up looking like this:
|
||||
```
|
||||
/usr/bin/flatpak run --filesystem=/run/udev --device=all --branch=stable --arch=x86_64 --command=obs com.obsproject.Studio
|
||||
```
|
||||
|
||||
### Screenshots
|
||||

|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue