Commit Graph

91 Commits

Author SHA1 Message Date
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
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
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
Jay da129b62b3
Add UI button actions to send arbitrary OSC values. (#140)
* osc: start adding osc buttons

a button action that sends an osc parameter.
struggling with borrows in openxr.rs and openvr.rs when getting the osc sender.

* osc: fix osc sender buttons

by passing a ref to the device list to send_params instead of the entire app state.

* osc: fix warnings

* osc: conditionally use OscSender crate in state.rs

* osc: fix button.rs compile errors without osc/wayvr features

* osc: add other types: int, bool, string. play thump noise when sent.

* osc: fix build without osc feature

i just want to use OscType directly, but since it doesn't derive serde::Deserialize, i can't just have one OscType action or list of actions...

* merge typed actions to one action, support multiple values.

i added a new struct OscValue that has Deserialize, and now the action just converts that to the corresponding OscType when sending the parameters.
perhaps not the most elegant solution, but it's the best i can think of without modifying the rosc crate.

* run `cargo fmt`
2025-01-26 11:23:18 +00:00
Aleksander 3c792608e7
config_io: Support `wayvr.conf.d` directory, refactoring (#139) 2025-01-20 14:26:17 +00: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
galister 51174b64d3 move timezones out of watch.yaml + sane defaults 2024-11-23 20:01:49 +09:00
galister e23444aa89 apply pipewire transforms to screens 2024-11-20 22:50:22 +01:00
galister ced753235e clippy 2024-11-05 03:45:22 +09:00
galister 9da1c509e3 fix font loading for 3+ byte codepoints 2024-11-05 03:41:21 +09: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
galister 7f72abc62a release modifiers on keyboard hide 2024-09-28 01:53:20 +09:00
galister 83ae798215 add virtualkey action for modular button 2024-09-27 02:23:13 +09:00
galister 583a5f7fe0 openxr: toggle for space rotate axis lock 2024-09-18 04:06:37 +09:00
galister 57ff3aa1dd clippy 2024-08-09 10:19:57 +00:00
galister 0808383e70 corner_radius is optional 2024-08-09 10:19:57 +00:00
galister c29bbbb142 review unwraps 2024-08-03 20:50:34 +09:00
galister 939a537d20 fix: ipd label not visible on uidev 2024-08-01 18:36:03 +09:00
galister dcc2cd0575 openxr: configurable screen downscale 2024-07-29 22:14:25 +09:00
Adalyn Black 88da3c832a Removed unused render_rect function 2024-07-24 23:59:39 +00:00
Adalyn Black 7b4576bd52 Removed unused imports 2024-07-24 23:59:39 +00:00
Adalyn Black a98b7a210f Switched to shader for corner rounding 2024-07-24 23:59:39 +00:00
Adalyn Black 32e0e7656a Moved corner radius property to be separate from the rect struct 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 7a6040bfee feat: ui sprites + openxr skybox 2024-07-24 21:06:37 +00:00
galister bdc500973c feat: cubic filtering 2024-07-11 16:23:48 +09:00
galister c7aa88647c feat: space drag multiplier 2024-06-17 14:36:21 +09:00
galister a0d93e821e fix: keyboard interact element overflow 2024-06-06 16:53:39 +09:00
galister 3a3cda7a45 feat: libxkbcommon layouts 2024-06-05 19:54:11 +09:00
galister 1eebde3944 feat: save active layout 2024-06-04 20:43:59 +09:00
galister b8a0e3630d feat: configurable openxr bindings 2024-06-04 17:13:44 +09:00
galister 6ee0cb4fd1 fix: font load error panic 2024-05-04 00:50:53 +09:00
galister c70833b86a feat: persist layout between sessions 2024-04-25 02:13:18 +02:00
galister 065ce8f136 fix: dont overload xr runtime with notify spam 2024-04-24 06:34:01 +02:00
Garrett 42ab3a3199
Add CenteredLabel (#35) 2024-04-17 05:40:04 +00:00
galister 42aef89822 feat: configurable primary_font 2024-04-14 18:16:26 +09:00
galister 7184a9f21f feat: canvas alpha 2024-04-14 17:48:44 +09:00
galister d99a58da9e feat: improve screen alighment on show/hide 2024-04-14 17:17:20 +09:00
galister 5db7524787
feat: ui dev window (#29)
* feat: ui dev window

* remove unneeded dep
2024-04-14 05:36:47 +00:00
galister 97aab43d09 chore: deps 2024-04-10 10:48:29 +09:00
galister 1bee936db1 feat: persist screen visibility & curvature 2024-04-05 01:59:03 +09:00
galister e3ae9a9890 rework config system 2024-04-04 22:46:39 +09:00
galister 2d0f733c67 feat(settings-panel): auto-realign toggle 2024-04-04 21:17:26 +09:00
galister c02edb7a43 feat: handle screen changes at runtime 2024-04-04 20:06:53 +09:00
galister 7f6e8909e6 feat: highlight toggle buttons when on 2024-03-29 12:48:31 +01:00
galister 4843aeef5d feat: toast topics 2024-03-29 12:21:12 +01:00