Commit Graph

165 Commits

Author SHA1 Message Date
galister
7ac3072506 move drm modifiers to WlxGraphics 2025-04-07 03:06:22 +09:00
Aleksander
bb2f8380fd WayVR: Fix frame_meta returning None 2025-04-06 19:03:29 +02:00
galister
1deae19f92 refactors & clippy recommendations 2025-04-07 00:58:03 +09:00
galister
cf29682e66 rework rendering backend 2025-04-06 22:12:56 +09:00
Jay
5f93bc9cac Config notification/toast sound (#179)
* try adding config to load different sound

looks like include_bytes!() doesn't take a variable parameter, so will need a different solution lol.

* no errors in loading, but toast.rs now has a lifetime issue

* hey, config toast sound works now!

the sound is loaded in AppState now, since Toast are created in several different places at different times, and i don't want to load the sound every time a toast is made.

also put back the original sound since i accidentally commited my custom one.

* clean up

* change custom toast sound leak to happen on load rather than every play

* move toast sound loading into a function

so it can be reused in the future, for example if we want to load arbitrary keypress sounds or other [u8] data.

* remove label from try_load_bytes, return early when failing
2025-03-24 11:32:29 +00:00
Aleksander
a55d0d74bb WayVR: Convert target_display to lowercase at runtime (Closes #158)
[skip ci]
2025-03-12 17:55:05 +01:00
Aleksander
6d39380ebc WayVR: Implement software texture blitting as an alternative to dmabuf (Closes #174) (#178) 2025-03-11 22:42:37 +00:00
galister
a1cc41f541 cargo fmt 2025-03-12 03:07:35 +09:00
Aleksander
91af7c99b1 WayVR: Read the WAYVR_DISPLAY_AUTH environment variable from external processes, matching it to our virtual display.
This enables applications to be run via Flatpak or any other wrapper application.
2025-03-09 21:14:50 +01:00
galister
0b7cd61d05 wayvr modifiers 2025-03-10 03:45:00 +09:00
AdiMCS
b0883e81bf Switch to WheelHiRes. Add horizontal scrolling (#171)
* Switch to HiResScroll. Add horizontal scrolling

* Fix OpenVR compilation for horizontal scrolling

* fix OpenXR scroll using x axis for both scroll axes
2025-03-09 17:20:10 +00:00
Aleksander
075e55a8e8 WayVR: Add DashboardShown and DashboardHidden events, add WlxInputState support (#167)
Wlx: Fix various Clippy warnings
2025-02-28 21:05:27 +00:00
Aleksander
3c67abcebb WayVR: Layouting system, state changing feedback, process userdata, various IPC changes
WayVR:
- Layouting system (tiled and stacked)

IPC:
- Implemented routes: `WvrDisplaySetWindowLayout`, `WvrDisplayWindowList`, `WvrWindowSetVisible`, `WvrProcessGet`,

- Packet broadcasting
- State change feedback to the client (displays/windows/processes)
2025-01-31 20:00:56 +01:00
Aleksander
8766999e28 WayVR: Haptics support, fix warnings, EGL fix, display visibility IPC, bump dashboard resolution to 1080p 2025-01-23 20:26:34 +01:00
Aleksander
3c792608e7 config_io: Support wayvr.conf.d directory, refactoring (#139) 2025-01-20 14:26:17 +00:00
Aleksander
80d9b02ac7 WayVR: Display removal support 2025-01-19 15:20:52 +01:00
Aleksander
6c95607d44 Watch: Add "Toggle Dashboard" button by default, Toast: Show user-specific error messages in various places, WayVR: Modify example env vars 2025-01-19 00:53:59 +01:00
Aleksander
de6c5b8ad9 WayVR: Fix process launching calling create_display two times 2025-01-12 16:30:07 +01:00
Aleksander
eb3087f230 Merge Staging into main (#130)
* 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>
2025-01-11 08:46:54 +00:00
galister
ab6b5c0b46 default AltLayout is None 2025-01-04 22:05:43 +09:00
galister
1903271d05 keyboard.yaml auto_labels 2024-12-23 17:16:24 +09:00
galister
2c31d57afe add mouse_move_interval_ms setting 2024-11-23 18:29:12 +09:00
galister
bdf02ea206 update deps, back to env_logger, fix screen transform 2024-11-20 22:50:22 +01:00
galister
e23444aa89 apply pipewire transforms to screens 2024-11-20 22:50:22 +01:00
Aleksander
502cf5d372 WayVR: Display auto-hide support (Fixes #98), keyboard settings in config 2024-11-05 16:40:03 +01:00
Aleksander
96db24d02e WayVR: Modify readme, Various improvements
- Add "Quick setup" and images in readme
- Implement `click_freeze_time_ms`
- Automatically show hidden display if AppClick has been triggered
2024-11-03 16:26:37 +01:00
Anon_11487
24096b7b5a Configurable Purple laser modifier 2024-11-03 09:34:44 +01:00
Anon_11487
f941f76339 Enable CTRL modifier key with purple laser 2024-11-03 09:34:44 +01:00
Aleksander
7e09c010db WayVR: External process support, various tweaks and bugfixes
- Support for foreign wayland clients, WayVR process is now separated into
  managed and external one
- Add `run_compositor_at_start` global param
- Add `primary` display param
- Export WAYLAND_DISPLAY number into XDG_RUNTIME_DIR directory
- Bugfix: Redraw event is not triggered after despawning a process
- Sanitization in WayVRConfig::post_load()
2024-10-27 21:26:33 +01:00
Aleksander
cf5eabdfdf WayVR: shown_at_start app param support 2024-10-26 18:44:08 +02:00
Aleksander
8d82993704 WayVR: attach_to, pos and rotation spawn parameters in wayvr.yaml config script 2024-10-24 22:44:37 +02:00
Aleksander
83bf0fff5d WayVR: Process cleanup support, Refactoring 2024-10-21 20:46:52 +02:00
Aleksander
07d7afa96f WayVR: WayVRDisplayList ui type, toggle display visibility and pause rendering of them 2024-10-21 20:46:52 +02:00
Aleksander
d9dddbad11 WayVR: Initial GUI integration
The format of the wayvr.yaml configuration file is subject to change at any time.
2024-10-21 20:46:52 +02:00
Aleksander
edfa77e07c Integrate WayVR into wlx directly 2024-10-18 21:11:56 +02:00
Aleksander
bc9bac8c40 Fix compilation issues with uidev target or without wayland target 2024-10-17 22:53:17 +02:00
galister
7f72abc62a release modifiers on keyboard hide 2024-09-28 01:53:20 +09:00
galister
bdbdbea20b screen notification popups 2024-09-26 23:51:46 +09:00
galister
4f38d1ad44 make pipewire default on wlroots 2024-08-24 02:21:43 +09:00
galister
c6bc880bc3 add logging for screen pipeline 2024-08-20 16:49:35 +09:00
galister
6a3b60f298 feat: screen_render_down 2024-08-20 13:54:18 +09:00
hypevhs
378ea120c8 Fix mirrors spawning behind head 2024-08-10 20:34:55 +00:00
galister
f4cc49ca69 fix keyboard macro regex 2024-08-09 23:25:59 +00:00
galister
57ff3aa1dd clippy 2024-08-09 10:19:57 +00:00
galister
c71911998e upright screen fix 2024-08-09 08:38:37 +09:00
galister
c29bbbb142 review unwraps 2024-08-03 20:50:34 +09:00
galister
dcc2cd0575 openxr: configurable screen downscale 2024-07-29 22:14:25 +09:00
Adalyn Black
e14b35bece Cattpuccin Macchiato Re-theme 2024-07-24 23:59:39 +00:00
Adalyn Black
f27c320231 feat: rounded corners
A proof of concept commit for rounded corners. Currently unoptimized and in need of reorganization too. May also make keyboard keys invisible
2024-07-24 23:59:39 +00:00
galister
a56ed68b44 mirrors: print pw errors 2024-07-24 21:06:37 +00:00