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

OSC: Finish XSOverlay parity #124

Merged
merged 5 commits into from
Dec 29, 2024
Merged

Conversation

cubee-cb
Copy link
Contributor

@cubee-cb cubee-cb commented Dec 28, 2024

Adds parameters for averageTrackerBattery and averageControllerBattery.

As before, these are untested since I have no trackers and use WiVRn.

Might want to write some documentation for the OSC parameters, too. Let me know where I should put it and I'll do that if I can.

cubee-cb and others added 4 commits December 9, 2024 20:33
this just lets parameter be a `&str` instead of a `String`, and reduces repetition.
…tery parameters.

this should now be in parity with xsoverlay's parameters.

gone back to 1-indexing trackers because it's more user-friendly, so other programs can standardise more easily.
@cubee-cb cubee-cb marked this pull request as ready for review December 29, 2024 07:32
no idea how I made that mistake but the sent tracker parameters were actually still 0-indexed.
@galister
Copy link
Owner

Nice work, thanks!

As for the docs, if you don't have access to the wiki just drop the MD in the comment here and I'll make a wiki page out of it.

@galister galister merged commit c6ff314 into galister:main Dec 29, 2024
5 checks passed
@cubee-cb
Copy link
Contributor Author

doesn't look like i can edit the wiki so here: OSC-Parameters.md

i noticed there's a (now outdated) list of parameters in the osc feature section in Building from Source, might want to link to this new page from there:
https://github.com/galister/wlx-overlay-s/wiki/Building-from-Source#feature-osc

@galister
Copy link
Owner

done, thanks so much!

olekolek1000 pushed a commit to olekolek1000/wlx-overlay-s that referenced this pull request Jan 1, 2025
* osc-battery - utilise match return value to set parameter

this just lets parameter be a `&str` instead of a `String`, and reduces repetition.

* osc-battery - fix error where trackers were 1-indexed instead of 0-indexed

* osc-battery: xsoverlay parity! add average tracker and controller battery parameters.

this should now be in parity with xsoverlay's parameters.

gone back to 1-indexing trackers because it's more user-friendly, so other programs can standardise more easily.

* osc battery: ...that was not 1-indexed.

no idea how I made that mistake but the sent tracker parameters were actually still 0-indexed.
olekolek1000 pushed a commit to olekolek1000/wlx-overlay-s that referenced this pull request Jan 9, 2025
* osc-battery - utilise match return value to set parameter

this just lets parameter be a `&str` instead of a `String`, and reduces repetition.

* osc-battery - fix error where trackers were 1-indexed instead of 0-indexed

* osc-battery: xsoverlay parity! add average tracker and controller battery parameters.

this should now be in parity with xsoverlay's parameters.

gone back to 1-indexing trackers because it's more user-friendly, so other programs can standardise more easily.

* osc battery: ...that was not 1-indexed.

no idea how I made that mistake but the sent tracker parameters were actually still 0-indexed.
galister added a commit that referenced this pull request Jan 11, 2025
* config: add use_passthrough

* do not use ALPHA_BLEND if passthrough is off

* keyboard.yaml auto_labels

* OSC: Finish XSOverlay parity (#124)

* osc-battery - utilise match return value to set parameter

this just lets parameter be a `&str` instead of a `String`, and reduces repetition.

* osc-battery - fix error where trackers were 1-indexed instead of 0-indexed

* osc-battery: xsoverlay parity! add average tracker and controller battery parameters.

this should now be in parity with xsoverlay's parameters.

gone back to 1-indexing trackers because it's more user-friendly, so other programs can standardise more easily.

* osc battery: ...that was not 1-indexed.

no idea how I made that mistake but the sent tracker parameters were actually still 0-indexed.

* Update Envision section (#123)

add directions for appimage autostart

* Add Flatpak instructions (#127)

* Add Flatpak instructions

fix small inconsistencies between instructions

* Clarify Flatpak Steam setup for SteamVR and Monado/WiVRn users

* Additional instructions

* default AltLayout is None

* WayVR: IPC [1]: Local socket server, handshake receiver

* WayVR : IPC [2]: `ListDisplays`, `GetDisplay` commands

* WayVR: IPC [3]: `ListProcesses`, `TerminateProcess` commands

* WayVR: IPC [4]: Minor refactoring

* WayVR: Move IPC to separate Git repository

* Restore default features in Cargo.toml

* WayVR: Implement `WvrDisplayCreate`, Implement `WvrProcessLaunch`, Refactoring

* WayVR: Dashboard toggle support, minor refactoring

* Update Cargo.toml

* fix formatting for openxr_actions.json5

---------

Co-authored-by: galister <22305755+galister@users.noreply.github.com>
Co-authored-by: Jay <157681441+cubee-cb@users.noreply.github.com>
Co-authored-by: Marcus Howser <mhowser.git@mailbox.org>
Co-authored-by: Joshua Vandaële <joshua@vandaele.software>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants