Compare commits

...
1657 Commits
Author SHA1 Message Date
loucass003 b3d464b5d5 More setting pages and primitives 2026-10-26 13:48:10 +01:00
loucass003 c294de7867 Settings quick search, bare dialogs 2026-10-26 02:57:35 +01:00
loucass003 308a45e81d Settings layout, resets page, save confirmation 2026-10-26 02:30:27 +01:00
loucass003 2fc6be013a Flow engine, onboarding flow stubs 2026-10-26 00:19:11 +01:00
loucass003 262fbd72ef Tracker cards 2026-10-25 22:08:44 +01:00
loucass003 a902ffa15f Datafeed ingest, trackers store, developer prefs 2026-10-25 21:39:27 +01:00
loucass003 106cecd93c Assets, fonts, image, video and slime sprites 2026-10-25 17:58:04 +01:00
loucass003 06e1aa7584 App shell, title bar, connection gate 2026-10-25 17:03:33 +01:00
loucass003 b94cfcb46f Page, section, toolbar, settings group and row 2026-10-25 06:14:32 +01:00
loucass003 26c64c7979 Select, file input, keybind recorder, copy button 2026-10-25 04:34:56 +01:00
loucass003 af00794cd6 Number Field 2026-10-25 03:26:03 +01:00
loucass003 7ef875de9f Primitives + field contract 2026-10-25 03:07:06 +01:00
loucass003 b470613921 Dialogs, popovers, status, toasts 2026-10-25 02:24:46 +02:00
loucass003 69f5282ecc Nav core + back stack + shortcuts 2026-10-25 01:15:43 +02:00
loucass003 52bf583397 Icons 2026-10-24 21:10:15 +02:00
loucass003 fea53102dd Lint 2026-10-24 19:47:11 +02:00
loucass003 98731ff850 Css variables / themes / standard for surfaces 2026-10-24 19:46:43 +02:00
loucass003 fbb02b5c28 error reporting 2026-10-24 19:18:09 +02:00
loucass003 ce39007b95 Format 2026-10-24 18:44:41 +02:00
loucass003 9e6eca9617 l10n bindings 2026-10-24 18:32:40 +02:00
loucass003 041c8ae74f solarxr: ressource, stream and setting 2026-10-24 17:54:57 +02:00
loucass003 c0bbd7fdaa solarxr client 2026-10-24 17:16:25 +02:00
loucass003 5c0d049f65 Platform + storage 2026-10-24 16:50:26 +02:00
loucass003 833986e851 First commit on solidjs 2026-10-24 16:29:00 +02:00
loucass003 d7883b2026 Better loader on buttons 2026-10-24 03:23:09 +02:00
Erimel 714f8cbca4 reduce upper legs dragging spine when single spine tracker 2026-10-23 18:34:51 -04:00
Erimel e02cba43a2 Use extra performance headroom to lower IK threshold 2026-10-23 17:19:36 -04:00
Erimel 7fb25632d0 More easy optimizations in skeleton
from 23% to 15.5%!
2026-10-23 17:05:15 -04:00
Erimel 9aa78e8f87 Optimize skeleton loop and rework pause tracking 2026-10-23 16:41:35 -04:00
Erimel b0b381b6fa lint 2026-10-22 16:22:12 -04:00
Erimel a1cfabc45f Revert FoxVR easter egg 2026-10-22 15:48:23 -04:00
Erimel 29a071291c SlimeVR icon follows theme + citrus and fire themes 2026-10-21 20:38:23 -04:00
Erimel ff18a1ed77 SPOTLESS 2026-10-21 18:11:04 -04:00
Erimel 655fba5703 Stabler spine and better additional trackers support 2026-10-21 17:58:40 -04:00
Erimel 46390b49a4 even darker settings reset icon 2026-10-21 15:16:33 -04:00
Erimel 8e8bd126ed Make disabled setting reset darker and tweak themes 2026-10-20 23:40:18 -04:00
Erimel fa5488436d Make skeleton overrun logging more leniant 2026-10-20 21:11:01 -04:00
Erimel 0fa1177763 WIP weighted spine 2026-10-20 20:32:28 -04:00
Erimel ca85097473 Make trackercard fit 2 lines for name 2026-10-20 19:21:26 -04:00
Erimel 172ff8fc6c Increase height calibration range 2026-10-20 19:21:13 -04:00
Erimel b13b7ac5bf Cast value to Number in NumberSelector 2026-10-20 17:49:35 -04:00
Erimel 95a532dd50 Make HMD specific stuff HMD again 2026-10-20 17:27:59 -04:00
Erimel e51016baf4 Display Pre-release fw version as Pre-release 2026-10-20 17:06:06 -04:00
Erimel 4fbbfc7fb0 v22 and <v21 accel offset patch 2026-10-20 16:28:21 -04:00
Erimel efdc1aa4f5 Expand spine model to support several sources per bone 2026-10-19 22:10:09 -04:00
Erimel 6c25eae4f0 Temp patch for accel / Step Mounting 2026-10-19 17:44:43 -04:00
Erimel 3d17273916 comma 2026-10-19 16:07:13 -04:00
Erimel 65339a3105 Improve English translations 2026-10-19 16:05:04 -04:00
loucass003 2909187d00 Redesign of stay align settings 2026-10-19 20:24:06 +02:00
Sapphire 36115fbb1a Clarify meaning of SteamVR disconnected step 2026-10-17 20:04:18 -05:00
loucass003 414755fcb1 Reduce CPU usage on UDP 2026-10-18 01:07:46 +02:00
loucass003 6a82f5a54b Slower skeleton rate at idle 2026-10-17 17:57:58 +02:00
loucass003 71c627f6fa OTA fixes (not tested) 2026-10-17 07:17:20 +02:00
Erimel 6942810e4b more strokeWidth I forgor my bad 2026-10-17 00:48:26 -04:00
loucass003 bd08648046 Fix tap reset checkbox 2026-10-17 06:47:24 +02:00
Erimel f45889f993 strokeWidth 2026-10-17 00:44:49 -04:00
Sapphire 2d3b88fcf3 Remove no-longer-used rest calibration logic hook 2026-10-16 20:53:40 -05:00
Erimel ad70324679 better fox and trans themes 2026-10-16 19:48:59 -04:00
Erimel bacb171f84 Nothing to see here
Now FoxVR
2026-10-16 19:04:17 -04:00
Erimel 99a4f5420e Fix VMC tests 2026-10-16 18:58:58 -04:00
Erimel a0abe1e33b Improve Light theme and add Fox theme 2026-10-16 16:20:56 -04:00
loucass003 57d21c79ff useConnectedEffect - Fix issues when gui reconnects, now that the router is not unloaded when we loose connection 2026-10-16 18:08:54 +02:00
loucass003 db2e6b10c9 Fix newline detection in logger 2026-10-16 17:25:23 +02:00
loucass003 f005dd3c58 Fix scroll issues in logger + fix translations 2026-10-16 17:22:23 +02:00
loucass003 f0a8f07ea1 Logger 2026-10-16 17:00:27 +02:00
Erimel ef83b28a41 Make tracker preview models face the good way 2026-10-15 18:09:48 -04:00
Erimel 0de3a95d41 small tweak to foot scale 2026-10-15 18:09:36 -04:00
Erimel 13bb66c9e0 Run neck processor even without active head 2026-10-15 17:22:39 -04:00
Erimel e977e5dd0e Fine tune neck tracking estimation 2026-10-15 17:02:37 -04:00
Erimel eb1bc5f201 Fix driver velocity axes 2026-10-15 16:40:37 -04:00
Erimel 8e8d4e433b Fix VMC head using neck 2026-10-15 15:45:56 -04:00
Erimel 06bd37a854 flip order of dongle - wifi for adding trackers 2026-10-15 14:14:40 -04:00
loucass003 75caf21de5 Fix sentry issue when no server 2026-10-15 18:07:33 +02:00
loucass003 0140b0970d Small settings improvements for mobile 2026-10-15 10:18:53 +02:00
loucass003 1838e3f60d update gitignore 2026-10-15 07:15:06 +02:00
loucass003 02ce2ef901 Separate devices.json config tracker data now lives outside of profiles. Use hardwareId instead of mac address for all devices actions 2026-10-15 07:15:06 +02:00
loucass003 4e49f3aea2 Forget tracker + better unknown device handling 2026-10-15 07:15:06 +02:00
Erimel b8a4be7c36 Improved neck tracking estimation 2026-10-14 22:34:28 -04:00
Erimel fc9666cc7f Simplify skating correction to bare bones 2026-10-14 21:03:38 -04:00
Erimel 2c99580804 WIP improve skating correction 2026-10-14 18:33:06 -04:00
Erimel 5e689f4f28 Performance optimizations on skeleton 2026-10-14 16:59:13 -04:00
Erimel 3d1bb1629b Decrease IK threshold 2026-10-14 15:58:56 -04:00
Erimel d264d80419 Improve side spine + hip-less tracking 2026-10-14 15:30:08 -04:00
Erimel 4b02f8d81b Fix and improve toe snap 2026-10-14 14:48:18 -04:00
loucass003 8f760d7953 Move js files back to hook 2026-10-14 18:19:44 +02:00
loucass003 4bfd762622 Tracker telemetry 2026-10-14 18:04:33 +02:00
Erimel 7d72dc2c8a No more hip-upperlegs interpolation; improve chest-only tracking 2026-10-13 18:28:34 -04:00
Erimel efac8fda65 Erimel small GUI improvements and nits 2026-10-13 16:05:08 -04:00
loucass003 59be0e5275 Fix stay aligned steps 2026-10-13 21:58:57 +02:00
loucass003 350dca5e5c Add resets to tap reset table + Fix vrc warnings title 2026-10-13 21:35:49 +02:00
loucass003 c975680b06 Settings profile ui 2026-10-13 21:07:05 +02:00
loucass003 50c5ce4290 Settings profiles in solarxr 2026-10-13 19:17:56 +02:00
loucass003 a771054681 Base code for profiles switching 2026-10-13 19:03:58 +02:00
loucass003 4a4b15dce9 Improve settings look + Improve search look + Improve consent page look 2026-10-13 17:17:31 +02:00
Meia 335b5b145c Update CONTRIBUTING.md (#1948) 2026-10-13 22:07:43 +09:00
loucass003 5294be1588 Quick search in settings 2026-10-13 00:15:54 +02:00
loucass003 e65e5ad2f9 Settings defaults - add a way to reset any setting field individually 2026-10-12 22:40:32 +02:00
loucass003 862ecbdfef Settings pages relooking 2026-10-12 20:58:38 +02:00
loucass003 662d949ebe De groupping of setting pages. re ordering of pages. Move dev mode to advanced 2026-10-12 18:41:45 +02:00
loucass003 02cdabd0e9 Fix layout shift caused by the loaderIcon 2026-10-12 17:57:34 +02:00
loucass003 7d72bffeb7 Fix Typography dom error in tip boxes 2026-10-12 17:47:15 +02:00
loucass003 be2e1be7f8 Fix tooltips focus when opening modals 2026-10-12 17:06:42 +02:00
loucass003 110b44cd9b Handle unknown mounting method on the toolbar 2026-10-12 16:33:56 +02:00
loucass003 c1afe43f1f Fix flightlist status wrapping wrong 2026-10-12 16:10:40 +02:00
loucass003 f441908bf1 Fix race on prerequisites 2026-10-12 15:39:26 +02:00
loucass003 d09d80b07b fix reset settings getting overwritten 2026-10-12 15:25:56 +02:00
loucass003 7f485bc3e7 Improve reset settings 2026-10-12 14:52:30 +02:00
loucass003 8eb427f8c1 Set the right url to connect tracker buttons 2026-10-12 13:54:09 +02:00
loucass003 9b8d11e444 Extra button to change mounting method 2026-10-12 13:54:07 +02:00
Sapphire 7024aa0477 Fix owoTrack 2026-10-11 23:37:19 -05:00
Sapphire 9dcef1542e Make standable checklist step ignorable 2026-10-11 10:56:20 -05:00
Erimel 7d1e142737 Disable sendVelocity by default 2026-10-09 23:33:25 -04:00
Butterscotch! 73dbfa0c99 Step Mounting tune params, scale lowpass, timeout 2026-10-09 20:19:16 -04:00
Erimel d2669f42af Refactor + better smoothing for skating correction 2026-10-09 18:35:01 -04:00
Erimel e3dd8985a9 clampedRemap 2026-10-09 17:30:21 -04:00
Erimel 8fe1bb7d7b Remove useless tapdetection test 2026-10-09 16:49:24 -04:00
Butterscotch! 267b552716 Add Step Mounting error threshold to GUI 2026-10-09 16:47:52 -04:00
Butterscotch! 59d9156c29 Fix TapDetectionTest not compiling 2026-10-09 16:43:22 -04:00
Butterscotch! 6de710816e Step Mounting error threshold & SolarXR status 2026-10-09 16:43:22 -04:00
Erimel 86cb892936 Spine tracking improvements 2026-10-09 16:01:27 -04:00
Erimel b6c6a070d8 tweak skeleton preview colours and shoulders 2026-10-09 14:40:48 -04:00
Erimel b50ef2ed67 Merge branch 'server-rewrite' of https://github.com/abb128/SlimeVR-Server into server-rewrite 2026-10-09 14:08:53 -04:00
Erimel 983bfb7f41 VMC as reliable reference so that it doesn't reset 2026-10-09 14:03:16 -04:00
Erimel a366e4c20c Fix tests 2026-10-09 13:39:48 -04:00
Erimel a66c43feb7 Remove calibration range VRChat warning 2026-10-09 13:11:25 -04:00
Erimel 2243e1583c Fix/improve/rewrite a part of VMC 2026-10-08 22:04:41 -04:00
Erimel 84975c4e02 Disable feet constraints for now 2026-10-08 19:44:16 -04:00
Butterscotch! 10de6776c3 Add skating correction release smoothing 2026-10-08 17:56:51 -04:00
abb128 aca2097ff2 skeleton preview tuning 2026-10-08 22:35:05 +02:00
Butterscotch! 7c71348733 Increase recommended calibration range 2026-10-08 14:50:43 -04:00
Erimel fbd26125b6 Legtweaks Only use angular velocity 2026-10-08 12:38:48 -04:00
Butterscotch! 797b2eda2c Use feet for skating correction now with fallbacks 2026-10-08 12:15:21 -04:00
Butterscotch! 0225e8a55b Use arrays for iterateBodyPartHierarchy (micro-optimization) 2026-10-08 11:42:01 -04:00
Erimel 83172ba2b3 Fix CI 2026-10-07 19:52:32 -04:00
Erimel 189a711d5c Remove VRCSpineMode and shoulder_width_compensation
VRCSpineMode No longer needed with new spine model
And for shoulder width compensation, that's a per-avatar thing, not really related to SlimeVR and should've never been here.
2026-10-07 19:35:41 -04:00
Erimel 184afc4867 idkhowtocallthis small improvements whatever 2026-10-07 18:36:23 -04:00
Erimel 41a56f2f68 -2cm foot shift 2026-10-07 18:31:39 -04:00
Erimel edb70869bc Fine tune default foot shift and foot length 2026-10-07 17:21:23 -04:00
Erimel e43cd0dc9a buildBones mutable for optimization 2026-10-07 17:07:29 -04:00
Erimel d08cfad199 place trackers over usb at the bottom 2026-10-07 14:37:43 -04:00
Erimel 98d7606b66 clamp upsampling skeleton processor 2026-10-07 14:37:32 -04:00
Erimel 131be48e98 Simplify floorclip and fix it again lol 2026-10-07 13:55:30 -04:00
Erimel dc6e986650 Try to fix OSCQuery and fail miserably 2026-10-06 20:40:18 -04:00
Erimel 41440c6337 Minimize VRCOSC status layout shift 2026-10-06 18:25:37 -04:00
Erimel c897980c88 pre-computed HALF_PI 2026-10-06 17:59:42 -04:00
Erimel 34c24ed9df Add VRCOSC toes to bone routing 2026-10-06 17:59:31 -04:00
Sapphire eb04fdd300 Fix bindings provider build 2026-10-06 16:47:53 -05:00
Erimel 2949cfe726 Refactor toes osc and fix yaw 2026-10-06 17:47:26 -04:00
Sapphire 9791a031c8 Fix provisioning test hanging 2026-10-06 16:40:03 -05:00
Erimel f26f892d01 Fix VRCOSC using headPosition 2026-10-06 17:15:51 -04:00
Erimel bacf9b09c7 Fix floorclip 2026-10-06 17:15:37 -04:00
Erimel ac6b6b85a2 Rewrite bone fallback processor 2026-10-06 14:39:46 -04:00
Erimel dc2452a666 Don't show hip assignment before chest 2026-10-05 20:38:56 -04:00
Erimel 12e06d4b3c Floorclip more generic and work with all children 2026-10-05 20:31:43 -04:00
Erimel 2bb23256a5 tracker-yaw-correction.kt side refactor 2026-10-05 19:25:07 -04:00
Erimel 10652049d5 Floorclip make work on feet, not just ankles 2026-10-05 19:24:52 -04:00
Erimel c5f9b82395 Use FastMath Pi and angle conversion 2026-10-05 19:24:33 -04:00
loucass003 46acc4768d Fix datarace on mounting method picker. Improve Radio comp. 2026-10-06 01:03:41 +02:00
loucass003 b140a18752 make hand and feet assignment stay on body view instead of extremity view 2026-10-06 00:08:03 +02:00
loucass003 a319b74a05 Fix offset, again 2026-10-06 00:03:29 +02:00
loucass003 8d08c94465 Round pos offset vector 2026-10-05 23:49:02 +02:00
loucass003 c3427650c4 Ui fix for assignment page 2026-10-05 23:44:41 +02:00
loucass003 a7b5733f5d Fix flightlist step for mounting method 2026-10-05 23:26:01 +02:00
loucass003 ff296ce924 proper leasing of serial ports, automatic port closing when not in use 2026-10-05 21:47:38 +02:00
loucass003 753fdb527e allow a single spine tracker to control the whole spine without warning 2026-10-05 20:44:41 +02:00
loucass003 c30efd2317 Better assignment warning and proposed trackers system 2026-10-05 20:29:05 +02:00
Erimel 7fe01747d0 Start driver trackers with non-null position 2026-10-05 13:59:49 -04:00
loucass003 9a3c5ab1d6 revert translation mistake 2026-10-05 13:52:21 +02:00
loucass003 0c5528aad7 List automatic mounted trackers on the left of the manual mounting page for fast edit. Small ui fixes 2026-10-05 13:47:36 +02:00
Erimel d07b05935c Add todos for fallback processors 2026-10-02 17:57:45 -04:00
Erimel b756a30030 Mocap Mode final improvements for rewrite 2026-10-02 17:45:33 -04:00
Erimel 52fb3f8fc4 No more T-pose (down)
To be superseded by https://github.com/SlimeVR/SlimeVR-Server/issues/1944
math was wrong anyways
2026-10-02 12:36:01 -04:00
Erimel 5e8cbb2a0b Tweak new mounting text 2026-10-02 11:52:02 -04:00
Erimel dc8c74b78e Weaker finger rest pose curl 2026-10-02 11:43:21 -04:00
Erimel 02c322c601 Electron uninstall error in contributing.md 2026-10-02 11:31:34 -04:00
Butterscotch! 2c19f8a6ff Revert "Use rawAcceleration for Step Mounting"
This reverts commit d8e632a979.
2026-10-02 04:28:58 -04:00
Butterscotch! 943e5d4c12 Fix step mounting fromTo 2026-10-02 04:28:48 -04:00
Butterscotch! d8e632a979 Use rawAcceleration for Step Mounting 2026-10-02 03:43:38 -04:00
Butterscotch! db1690377a Fix StepMountingResult output 2026-10-02 03:43:28 -04:00
loucass003 79c1daede3 lint 2026-10-02 09:42:29 +02:00
loucass003 4d0a0194e3 Redo the onboarding steppers for mounting + nicer modal + unify stepper 2026-10-02 09:39:39 +02:00
loucass003 bcf26a94e2 Load more renders. Instructions based off the settings for mounting 2026-10-02 07:52:31 +02:00
Butterscotch! b85ca1922d Don't use pos trackers in step mount 2026-10-02 01:37:56 -04:00
Butterscotch! 22dddb54f0 Spotless 2026-10-02 01:37:20 -04:00
loucass003 0ef2a782a6 MVP for step mounting in gui 2026-10-02 04:05:25 +02:00
loucass003 470e8c37c7 Step mounting to solarxr + rework reset for selected mounting method + guards 2026-10-02 04:05:25 +02:00
Erimel 57aa975be6 Nuke correctConstraints 2026-10-01 20:30:51 -04:00
Erimel 5295b9f9f6 Fix toe snap snapping toes when lying down 2026-10-01 19:58:38 -04:00
Erimel ca423d87e2 Add Quest 3 controller offsets 2026-10-01 18:33:35 -04:00
Erimel 465d9333db no filtering by default 2026-10-01 17:41:15 -04:00
Erimel 33833db61b upper arms are longer than forearms 2026-10-01 17:38:12 -04:00
Erimel 46b48055d0 time syntax 2026-10-01 16:24:50 -04:00
Erimel 3e90e81a6a Skeleton bone input data upsampling 2026-10-01 16:23:23 -04:00
Erimel 305849ad41 Add PICO Controllers offsets 2026-10-01 14:52:40 -04:00
Erimel 8c88e2f9c3 Faster debounce for changing bone offsets 2026-10-01 13:52:43 -04:00
Erimel 770b554807 Add todo for android sentry @loucass003 2026-10-01 13:52:23 -04:00
Erimel 2d137475fc nuke todo 2026-10-01 13:51:10 -04:00
Erimel 47ea90e869 Fix velocity axes 2026-10-01 13:50:44 -04:00
Sapphire 89dec5257c Remove stale todo 2026-10-01 02:19:01 -05:00
loucass003 1f5269cbd0 Fix serial not working on butterflies 2026-10-01 04:35:14 +02:00
Erimel b1c1f1f7c5 Fix CI 2026-09-30 19:41:49 -04:00
Erimel f7fbc098e8 Fix tests 2026-09-30 19:41:27 -04:00
Erimel 2bb33fd533 tracking pause always active bones instead of processors 2026-09-30 18:18:04 -04:00
Erimel ecaabe5e6d Fix tracking pause and improve yaw fallback 2026-09-30 18:03:40 -04:00
Erimel f58c4dc24f Finger rest rotation 2026-09-30 16:36:49 -04:00
Erimel d791928ece Fix boneOffset and add rotation offset for driver 2026-09-30 16:12:38 -04:00
Sapphire 7d89c8deaf Fix sending some unneeded settings responses 2026-09-30 06:05:49 -05:00
Sapphire 87783bba26 Remove jattach patching in flake 2026-09-30 05:55:10 -05:00
loucass003 809f6c904c Speed up flake a bit 2026-09-30 07:04:32 +02:00
Erimel 7d7893e418 Mocap Mode with Dead Reckoning WIP 2026-09-29 22:10:07 -04:00
loucass003 58fce713e4 Bone offset on positional trackers 2026-09-30 00:56:04 +02:00
loucass003 e04e91ca77 Properly skip wizard 2026-09-30 00:17:42 +02:00
loucass003 58a3400a35 Fix redirects issues 2026-09-30 00:06:36 +02:00
Erimel 8ceb0eaeb6 Refactor Localizer 2026-09-29 17:40:43 -04:00
loucass003 a0c90f2355 Sentry to Server / Electron / Android(untested) 2026-09-29 23:35:39 +02:00
Erimel 87c9190354 Clarify hip-upperleg interpolation description 2026-09-29 14:28:30 -04:00
Erimel 692fc49e6a remove terms that shouldn't be translated from translation file 2026-09-29 14:10:01 -04:00
loucass003 5d174359a6 Crowdin in context edits 2026-09-29 14:00:20 +02:00
Sapphire 2f31892bcb Add lower chest to tap reset tracker selection dropdown 2026-09-28 20:25:44 -05:00
Butterscotch! 0181119829 Initial step mounting 2026-09-28 13:48:05 -04:00
SlimeVR-bot 420aa2c461 New Crowdin updates (#1935) 2026-09-28 18:29:15 +02:00
Sapphire 585d234e4f Ensure active tracker is preferred over inactive ones in UI displays 2026-09-26 04:45:56 -05:00
Sapphire 3a82031504 Fix empty tracker name on some pages after setting and clearing custom name 2026-09-26 04:16:29 -05:00
Sapphire eff66da1b1 Make assignment conflict logic a little more sane 2026-09-26 03:58:59 -05:00
Sapphire 4f28de0b63 Name the specific SolarXR connection that triggered a reset 2026-09-26 03:53:27 -05:00
Erimel 7b237f46d3 Sort reliable and unreliable reference trackers the same way 2026-09-26 04:20:35 -04:00
loucass003 e68638e9c3 Better scaled proportions for smaller sizes and better scaling of the 3d preview 2026-09-26 03:52:52 +02:00
Erimel 9d3a0eddc8 Fix and improve mocap mode 2026-09-25 21:49:41 -04:00
loucass003 0b520d0f40 Better preview 2026-09-26 01:20:26 +02:00
loucass003 89592a9689 Lock ota updates to only UDP devices 2026-09-25 21:15:44 +02:00
Erimel 5f3820597e bone acceleration fallback 2026-09-25 13:27:16 -04:00
loucass003 65600a3141 update solarxr 2026-09-25 05:09:19 +02:00
loucass003 faedf3092f Spotless 2026-09-25 05:09:06 +02:00
loucass003 c3391f16c0 Redo serial logic 2026-09-25 05:08:30 +02:00
Erimel 388bcb33a1 Tracker-Bone Offset 2026-09-24 21:56:44 -04:00
Erimel 8e9558fcee trigger crowding CI 2026-09-24 17:31:05 -04:00
Erimel 3efac0bde3 revert UNASSIGNED_HMD translation change 2026-09-23 21:46:05 -04:00
Erimel 431c9a584a fix CI 2026-09-23 21:15:00 -04:00
loucass003 86a62eebc8 Merge branch 'main' of github.com:SlimeVR/SlimeVR-Server into server-rewrite 2026-09-24 03:13:58 +02:00
Erimel 1dc9127fa6 Fix Skeleton preview and other fixup 2026-09-23 20:58:24 -04:00
Erimel 2fc6810043 No more HMD; flexible reliable reference instead. 2026-09-23 20:35:20 -04:00
loucass003 6b253da7cf Fix helper typing 2026-09-24 01:54:02 +02:00
Erimel bc8fe31e51 EXTERMINATE CENTAUR 🗡️🦊 2026-09-23 19:02:33 -04:00
Erimel dfb895345d Improve mocap mode a bit 2026-09-23 17:49:41 -04:00
Erimel b21e50a041 Expected TPS 2026-09-23 17:39:43 -04:00
abb128 a53879be3f Update thumb location 2026-09-23 22:03:54 +02:00
abb128 0c9a1c3654 Replace many gltf with one glb 2026-09-23 22:03:54 +02:00
Erimel 77f94da67a WIP fixing positional tracker mounting/reference 2026-09-22 20:52:14 -04:00
Erimel 18729089b8 Fix shoulders width description 2026-09-22 16:04:36 -04:00
loucass003 44725de59d try more preview shader stuff 2026-09-22 20:54:00 +02:00
loucass003 78616e074b Leg tweaks disabled on some pages 2026-09-22 20:01:34 +02:00
loucass003 8cfbd90a47 Fix telemetry graph showing all trackers instead of only the selected ones 2026-09-22 05:25:05 +02:00
loucass003 ba9379d556 Toes bone routing group + toes icon 2026-09-22 05:22:28 +02:00
loucass003 a5bbb6b643 Improve floor shader 2026-09-22 04:55:42 +02:00
loucass003 2ea2407723 Improve floor shader 2026-09-22 04:50:49 +02:00
loucass003 963bc4ac1b Fix jitter when position/height change 2026-09-22 04:38:00 +02:00
loucass003 8dbe1e5c21 Camera reset button 2026-09-22 04:32:09 +02:00
Butterscotch! b662b03556 Disable arm IK if arm trackers are active 2026-09-21 21:48:34 -04:00
Butterscotch! 6b607ad453 Remove center of mass todo 2026-09-21 21:48:16 -04:00
loucass003 1f769e474b Remove regression on click with trackers on assignment page. Improved tap modal + improved controller controls 2026-09-22 03:33:51 +02:00
loucass003 3952db9c64 Button to assign on HID modal text 2026-09-22 02:52:20 +02:00
loucass003 f8aebdd066 Button to assign on HID 2026-09-22 02:52:20 +02:00
Butterscotch! 30d5d5e462 Skating correction pressure & hand Ik 2026-09-21 20:40:27 -04:00
Erimel 351b64d0c1 Merge branch 'server-rewrite' of https://github.com/SlimeVR/SlimeVR-Server into server-rewrite 2026-09-21 15:06:24 -04:00
Erimel afb00dcbf4 Finger mounting same as arms 2026-09-21 15:06:02 -04:00
Erimel 860ec28e1f Spine default back mounting 2026-09-21 15:01:54 -04:00
SlimeVR-bot d6121278ba New Crowdin updates (#1932) 2026-09-21 21:01:31 +02:00
Erimel 4c7b7196c8 HAND_LENGTH, no more HAND_Z 2026-09-21 14:11:26 -04:00
abb128 fe44ec2ae5 Fix Android inset bug (#1934) 2026-09-21 19:17:02 +02:00
Erimel d4921c5a25 Positional tracker mounting! 2026-09-18 21:16:44 -04:00
loucass003 83a8c7ee6a Update crowdin.yml paths for server-rewrite 2026-09-19 00:07:26 +02:00
loucass003 c7ef8a3615 Remove Crowdin GitHub Action in favor of native UI integration 2026-09-18 23:42:42 +02:00
loucass003 ac6f5fd63a Remove duplicate workflow 2026-09-18 23:29:02 +02:00
loucass003 32be0ac254 Setup Crowdin synchronization for server-rewrite 2026-09-18 23:28:51 +02:00
loucass003 83941fd38e Clean up crowdin.yml to use env variables 2026-09-18 22:02:52 +02:00
loucass003 64a2484827 Add project_id and CROWDIN_API_TOKEN fallback to Crowdin sync 2026-09-18 21:58:52 +02:00
loucass003 d75417de49 Standardize Crowdin action env mapping 2026-09-18 21:55:43 +02:00
loucass003 51aa13b6c8 Pass crowdin_personal_token and project_id to crowdin action 2026-09-18 21:48:50 +02:00
loucass003 7c202618b3 Remove label argument from translation PR creation to prevent token scope errors 2026-09-18 20:48:00 +02:00
loucass003 e3be80fadc Ignore node_modules, dist, and build stats in subdirectories 2026-09-18 20:04:07 +02:00
loucass003 49d631a2a7 Add dry-run Crowdin testing workflow and draft PR protection 2026-09-18 19:32:40 +02:00
loucass003 0efb1ca808 Configure Crowdin for l10n_main and update translation workflows 2026-09-18 19:27:28 +02:00
Futura c1424c2a23 Update Crowdin configuration file
[ci skip]
2026-09-18 18:54:54 +02:00
loucass003 027061af77 Commit id on server and gui 2026-09-18 03:19:13 +02:00
Erimel cc0bc18ed5 Working mocap mode! 2026-09-17 20:45:38 -04:00
loucass003 a9cdcbcfdf Spotless 2026-09-18 02:31:39 +02:00
loucass003 4ff461b49f Add warning if VRCOSC is working but tracking data toggle is not enbled in vrc 2026-09-18 02:31:06 +02:00
loucass003 75317ebfa4 Fix shadow clip of the tracker on the group toolbox 2026-09-18 01:35:02 +02:00
loucass003 927776a495 Fix Empty home list centering 2026-09-18 01:16:34 +02:00
loucass003 1604aaf745 anchorHip GUI 2026-09-18 01:13:20 +02:00
loucass003 cd74086e6f Anchor to hip mode 2026-09-18 01:11:52 +02:00
Erimel 3c07e4bd45 add toes to side.kt 2026-09-17 18:59:32 -04:00
Erimel 081f576643 Make position nullable again 2026-09-17 18:20:54 -04:00
Erimel 18ef835373 Mocap mode more wip 2026-09-17 18:11:09 -04:00
loucass003 e50469d46b Fix reset processors race 2026-09-17 22:46:02 +02:00
Erimel 81a1ab0089 clarify todo 2026-09-17 14:18:12 -04:00
Erimel 3c707268a7 Add digit constraints + tune and clean up 2026-09-17 13:45:02 -04:00
Erimel 737d6f5e2a spotless 2026-09-16 18:47:38 -04:00
Sapphire 22328ecb5f Fix bindings provider code style 2026-09-16 17:22:01 -05:00
Sapphire 706dfd6dce Call Process::waitFor interruptibly for bindings provider 2026-09-16 16:44:33 -05:00
Sapphire 099f54f4ba Yoink bridge code from driver for bindings provider
Gotta clean this up later...
2026-09-16 16:43:25 -05:00
Erimel b624c81f9a fix spine hip flipping 360 and fine tune a bit 2026-09-16 17:40:24 -04:00
Erimel c06fa006a5 patch for head going wrong way 2026-09-16 16:38:25 -04:00
Erimel ac4eb8f5d8 Temporary patch for processors reset race condition 2026-09-16 16:17:54 -04:00
Erimel 5fec3962ee Simplify position input logic 2026-09-16 16:10:06 -04:00
Erimel 3b51900a00 Fix shoulders constraints 2026-09-16 15:43:14 -04:00
Erimel 71abdf1f97 Fix spine interpolation aligning on x-axis 2026-09-16 14:03:13 -04:00
Sapphire bb4f7699c7 Merge remote-tracking branch 'origin/main' into server-rewrite
Fix CI
2026-09-15 21:38:31 -05:00
Erimel 38f53fb154 Pitch-side spine reliability 2026-09-15 21:37:57 -04:00
Erimel 62ed5d0031 Fix centaur using unit test 2026-09-15 17:58:59 -04:00
loucass003 d69357b53b Revert "Solarxr Connection Handshake and bone registry + untested but compile change for binding provider"
This reverts commit 69acb068c7.
2026-09-15 21:07:46 +02:00
loucass003 f8e126efdd Revert "Move registry into a module, preparing for extensions"
This reverts commit a371af75fa.
2026-09-15 20:57:00 +02:00
loucass003 963b6f640c Revert "Remove BodyPart fully from solarxr, implement new connection sequence"
This reverts commit 65cdc83e3c.
2026-09-15 20:56:17 +02:00
loucass003 e58c6e7646 Revert "Fix conneciton looping"
This reverts commit be2c16d827.
2026-09-15 20:56:04 +02:00
Erimel c00ff72b63 Fix manual mounting config loading 2026-09-15 12:42:57 -04:00
Erimel 30629aa66c Mocap mode description 2026-09-15 12:39:15 -04:00
Butterscotch! b92b91778a Add source for body part masses 2026-09-14 21:04:40 -04:00
Erimel 82e48cbad4 WIP fixing centaur and run spotless 2026-09-14 20:31:42 -04:00
loucass003 be2c16d827 Fix conneciton looping 2026-09-15 01:08:21 +02:00
loucass003 65cdc83e3c Remove BodyPart fully from solarxr, implement new connection sequence 2026-09-15 00:12:06 +02:00
Erimel ee38e9f6ba No more TestFactory
So much more optimized and no more inflating numbers
2026-09-14 17:33:58 -04:00
Erimel 2681ae7621 toRotationVectorR and Q 2026-09-14 16:48:50 -04:00
Erimel 747931404f Make spine processor easier to port over for Futura 2026-09-14 15:01:55 -04:00
Erimel 67140a7703 Rename RelaxedSpine to just Spine 2026-09-14 14:40:00 -04:00
Sapphire 8ef05d49cc Parse sensor temperature for legacy HID protocol 2026-09-14 01:57:44 -05:00
Erimel 9995a81caf Not just osc trackers 2026-09-13 14:37:56 -04:00
loucass003 07626b9623 move freeze up 2026-09-13 14:14:43 +02:00
loucass003 a371af75fa Move registry into a module, preparing for extensions 2026-09-13 14:14:12 +02:00
loucass003 69acb068c7 Solarxr Connection Handshake and bone registry + untested but compile change for binding provider 2026-09-13 12:50:39 +02:00
Erimel 15775a1247 Fix centaur 2026-09-12 15:47:00 -04:00
Erimel 6dfad04ebb Add comment about prediction multiplier 2026-09-12 14:10:01 -04:00
Butterscotch! 6ebae1bedf Don't perform toe snap with a 0 length foot 2026-09-12 02:57:57 -04:00
Erimel bc11c874e2 Remove OutboundProbe to fix CI 2026-09-11 20:18:35 -04:00
Erimel 889c54720c Absolute twist for spine 2026-09-11 19:48:07 -04:00
Erimel 8c7ec3a453 revert polarityReference causing centaur 2026-09-11 19:02:36 -04:00
Erimel ebe5c6b010 Rewrite relaxed spine processor 2026-09-11 18:52:38 -04:00
Sapphire c11dc54ed1 Change UDP tracker status to OK from TIMED_OUT on rotation/accel update (#1923) 2026-09-12 00:51:16 +02:00
loucass003 2de0569326 Remove serial detection modal 2026-09-11 20:40:49 +02:00
loucass003 2a28c0766a Fix x scroll on home 2026-09-11 20:24:09 +02:00
loucass003 ec59f373ae Make height text on preview send to height calibration page 2026-09-11 20:14:58 +02:00
loucass003 64d1aa6209 Properly remember flightlist closed state across pages 2026-09-11 20:11:40 +02:00
loucass003 183f986eee Tracker table sorting + column selection. Remove moreInfo and sortByName dev toggles 2026-09-11 20:04:13 +02:00
loucass003 83e99e2708 Home screen, no trackers view 2026-09-11 19:16:18 +02:00
loucass003 1608c3ea91 Better keybinds 2026-09-11 19:03:04 +02:00
loucass003 a9f252f59f Sligtly better spacing in assignment 2026-09-11 16:23:38 +02:00
loucass003 e8196425da more metrics on dispatcher 2026-09-11 15:57:15 +02:00
Sapphire bd2c4da2f2 Fix devices potentially showing in wrong group 2026-09-10 20:56:58 -05:00
Erimel bc1f5a2652 Fix CI 2026-09-10 20:41:18 -04:00
Erimel 6b1ccd3f6f Improve relaxed spine even more!!! ^v^ 2026-09-10 20:38:01 -04:00
Erimel 2acf7804d8 Don't mark occluded tracker bone as inactive 2026-09-10 19:42:16 -04:00
Erimel 1d2b6295c9 Fix toes not following ankle 2026-09-10 19:09:51 -04:00
Erimel 28efcda839 Potential fix for smoothing causing centaur 2026-09-10 19:03:28 -04:00
Erimel 28eb411ecb Rename processors 2026-09-10 19:01:20 -04:00
Erimel 1b40f12791 Split waist, default upper chest, and use lower chest to relax spine 2026-09-10 18:17:32 -04:00
loucass003 59fc10da6e Better preview camera 2026-09-10 22:56:35 +02:00
loucass003 fb6fda82e1 More keyboard / controller motion controls 2026-09-10 22:28:24 +02:00
Erimel 6c9339514e More mocap mode wip 2026-09-10 13:28:52 -04:00
loucass003 2dde4104d0 Prevent preview buttons from being focusable 2026-09-10 19:25:48 +02:00
Erimel 26e7acd49c no finger lean and different toe lengths 2026-09-10 13:12:42 -04:00
Erimel 2fd5c68429 Make yaw and mounting reset properly reset polarity 2026-09-10 12:23:38 -04:00
loucass003 c829bdc06e Controller navigation 2026-09-10 17:41:31 +02:00
loucass003 280d5f8c1c Better scaled proportions responsive 2026-09-10 11:29:53 +02:00
loucass003 b6a34cee91 More accessibility stuff 2026-09-10 11:00:36 +02:00
loucass003 dbed346fe8 Better clickable regions / buttons - Accessability 2026-09-10 10:51:47 +02:00
loucass003 dfe015c868 Inputs / better focus 2026-09-10 09:57:08 +02:00
loucass003 622464f85e Slightly improved looks of core components 2026-09-10 09:43:01 +02:00
loucass003 dfd5ceca42 Make Foot shift able to go negative 2026-09-10 08:23:49 +02:00
Butterscotch! 95c87f66e0 Uncomment floor clip & skating correction 2026-09-09 21:30:28 -04:00
loucass003 cde49f828c spotless you sonofabish 2026-09-10 02:39:20 +02:00
Butterscotch! fb70d4405d Fix constraints & clean up IK/constraints 2026-09-09 20:37:10 -04:00
loucass003 6d4fcee967 Bone headOffset / remove left/right hip 2026-09-10 02:32:42 +02:00
Sapphire 443cfc118a Re-add port to stringified IP address, strip it for datafeed and OTA 2026-09-09 18:52:22 -05:00
Sapphire 1c28d73b74 Remove address from UDP logs
It already shows in the log scope, since it's in the name of the context
2026-09-09 18:05:07 -05:00
Erimel 2c1bce29c2 fix build and tests 2026-09-09 17:34:41 -04:00
loucass003 99de177797 Make network profile show when invalid 2026-09-09 23:19:36 +02:00
loucass003 dda5c7c73c Make network profile step ignorable 2026-09-09 23:19:13 +02:00
loucass003 0f546e26b0 VMC input untested 2026-09-09 23:12:39 +02:00
Sapphire ba4b10469f Trim some unneeded imports from desktop IPC 2026-09-09 14:59:20 -05:00
Sapphire 9874df3939 Fix bindings provider: The Sequel 2026-09-09 14:58:06 -05:00
Erimel b2c70b0a71 Don't reset polarity on yaw and mounting 2026-09-09 14:15:06 -04:00
Erimel f7db29fb2c Send resetType on resetProcessors 2026-09-09 13:54:51 -04:00
Erimel aaf392c21c more mocap mode wip + resettableSkeletonProcessors 2026-09-09 13:36:28 -04:00
Erimel f023fa33e1 Go back to tracking polarity on raw rotation 2026-09-09 13:17:29 -04:00
Erimel 2e7d9b1691 Don't log below 100 times missed hz skeleton 2026-09-09 12:20:02 -04:00
Butterscotch! ffd71293eb Initial AutoBone structure 2026-09-09 00:39:20 -04:00
Sapphire dac736e4b3 Remove unused import from VRCWarningsPage 2026-09-08 19:01:54 -05:00
Sapphire d45351dfb5 Fix some instances of swapped throwable and message order 2026-09-08 19:00:05 -05:00
Sapphire 5bfd50dd14 Increase OTA response timeout, add more logging for OTA flashing 2026-09-08 19:00:04 -05:00
Sapphire 7b85570bf5 Fix IP address display and OTA flashing not working on desktop 2026-09-08 19:00:04 -05:00
Erimel 4d338ec684 Don't run toe snap and foot plant when foot is active 2026-09-08 19:54:37 -04:00
Erimel e71fa3ed3d Try to fix centaur bug more 2026-09-08 19:51:30 -04:00
Erimel 86f04d90ac mountingResetOrientation for tracker on skeleton 2026-09-08 18:46:50 -04:00
Erimel fe08eb103e Make velocity toggle for driver actually work 2026-09-08 18:08:46 -04:00
Erimel 2f120cfff7 finger curl mounting reset 2026-09-08 17:54:38 -04:00
Erimel 94fa3f54a3 Add back a sendVelocity toggle 2026-09-08 17:18:10 -04:00
Erimel 0cd81ac143 Finger imputing 2026-09-08 16:59:48 -04:00
Erimel 357ec14ee9 toe active link for grouping them up better 2026-09-08 14:29:55 -04:00
lucas lelievre 0361c1c578 Merge branch 'server-rewrite' of github.com:SlimeVR/SlimeVR-Server into server-rewrite 2026-09-08 19:48:41 +02:00
lucas lelievre ebc5b7ead1 Tracker position on skeleton WIP 2026-09-08 19:48:29 +02:00
Erimel 97769d466d don't includes toes in body nor feet reset 2026-09-08 13:08:18 -04:00
lucas lelievre 2da229f983 Render modes 2026-09-08 17:41:44 +02:00
lucas lelievre 480e26255c Merge remote-tracking branch 'global/robot-skeleton-preview' into server-rewrite 2026-09-08 17:29:19 +02:00
lucas lelievre 6286c50efd Slightly optimized loader and animations / low priority modes 2026-09-08 17:23:47 +02:00
abb128 1302538168 Update skeleton preview 2026-09-08 13:59:38 +02:00
loucass003 7a3027332f Fix mirror legend 2026-09-07 21:40:50 +02:00
loucass003 bed6f63624 More assignment refactor + Single tracker assign rework 2026-09-07 21:35:31 +02:00
loucass003 f9df514b95 More assignment refactor 2026-09-07 19:55:38 +02:00
loucass003 6cffadf792 Remove debug log 2026-09-07 18:57:07 +02:00
loucass003 1fbbf1b9ea Fix mobile nav in settings 2026-09-07 18:55:11 +02:00
loucass003 ce73034ec6 Move VRC warnings into settings for real this time 2026-09-07 18:47:40 +02:00
loucass003 3e83e2153d More Tracker assignment refactoring 2026-09-07 17:40:47 +02:00
loucass003 8250845177 Android serial flashing 2026-09-07 15:18:00 +02:00
loucass003 5a8192daa0 Attempt at a better skeleton preview 2026-09-07 13:04:32 +02:00
Sapphire f0aae5a2f1 Add 'Latest' flair/tag to sorted first version in DIY firmware tool 2026-09-05 04:40:49 -05:00
Sapphire ef4eeb9500 Update SolarXR 2026-09-04 22:03:44 -05:00
Sapphire 0b80befd1c Avoid allocating objects and immediately throwing them away in createBone 2026-09-04 21:45:54 -05:00
Sapphire b6b52c90f2 Fix feedback sound not playing when setting volume to its original state at the time the page loaded 2026-09-04 21:37:45 -05:00
Sapphire 2a9bf46d84 Only redirect output streams after the first time we log a message
When we log for the first time, the static initialiser for
io.klogging.internal.hostname is called, since it instantiates a
LogEvent class where the 'host' field defaults to the aforementioned
hostname variable when no host is provided in the constructor.
The static initialiser may throw an UnknownHostException (since Java
may perform a DNS lookup in `InetAddress.getLocalHost().getHostName()`),
which is caught and tries to log the exception to stderr inside the
catch block.

Since we redirect the streams before the first time we log, the message
ends up getting passed to our LineLogger where we try to log it with
Klogger. This ends up trying to instantiate a LogEvent again with no
host field specified, and since an exception was thrown in hostname's
static initialiser, it is null, so an exception is thrown by the
constructor. This manifests as a crash with VERY CONFUSING log output:

INFO [                main] :        Configuration : Configuration set using the DSL with append=false

Exception: java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread "main"

Output with debugger printing all exceptions:

Connected to the target VM, address: 'localhost:35355', transport: 'socket'
---snip---
Exception 'java.net.UnknownHostException' occurred in thread 'main @Main#1' at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:-1)
Breakpoint reached
	at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:-1)
	at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:52)
	at java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1134)
	at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1712)
	at java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1060)
	at java.net.InetAddress.getAllByName0(InetAddress.java:1702)
	at java.net.InetAddress.getLocalHost(InetAddress.java:1796)
	at io.klogging.internal.KloggingEngine_jvmKt.<clinit>(KloggingEngine.jvm.kt:26)
	at io.klogging.events.LogEvent.<init>(LogEvent.kt:51)
	at io.klogging.BaseLogger.eventFrom(BaseLogger.kt:108)
	at io.klogging.impl.KloggerImpl.eventFrom(KloggerImpl.kt:39)
	at io.klogging.impl.KloggerImpl.emitEvent(KloggerImpl.kt:57)
	at io.klogging.Klogger.emitEvent$default(Klogger.kt:48)
	at io.klogging.Klogger.log$suspendImpl(Klogger.kt:123)
	at io.klogging.Klogger.log(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.log(KloggerImpl.kt:39)
	at io.klogging.Klogger.info$suspendImpl(Klogger.kt:323)
	at io.klogging.Klogger.info(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.info(KloggerImpl.kt:39)
	at dev.slimevr.logging.LoggerKt.configureLogging(logger.kt:74)
	at dev.slimevr.logging.LoggerKt.configureLogging$default(logger.kt:48)
	at dev.slimevr.desktop.LoggingKt.setupDesktopLogging(logging.kt:13)
	at dev.slimevr.desktop.Main$main$1.invokeSuspend(Main.kt:62)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith$$$capture(ContinuationImpl.kt:34)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:-1)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
	at dev.slimevr.desktop.Main.main(Main.kt:61)
Exception 'java.net.UnknownHostException' occurred in thread 'main @Main#1' at java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1137)
Breakpoint reached
	at java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1137)
	at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1712)
	at java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1060)
	at java.net.InetAddress.getAllByName0(InetAddress.java:1702)
	at java.net.InetAddress.getLocalHost(InetAddress.java:1796)
	at io.klogging.internal.KloggingEngine_jvmKt.<clinit>(KloggingEngine.jvm.kt:26)
	at io.klogging.events.LogEvent.<init>(LogEvent.kt:51)
	at io.klogging.BaseLogger.eventFrom(BaseLogger.kt:108)
	at io.klogging.impl.KloggerImpl.eventFrom(KloggerImpl.kt:39)
	at io.klogging.impl.KloggerImpl.emitEvent(KloggerImpl.kt:57)
	at io.klogging.Klogger.emitEvent$default(Klogger.kt:48)
	at io.klogging.Klogger.log$suspendImpl(Klogger.kt:123)
	at io.klogging.Klogger.log(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.log(KloggerImpl.kt:39)
	at io.klogging.Klogger.info$suspendImpl(Klogger.kt:323)
	at io.klogging.Klogger.info(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.info(KloggerImpl.kt:39)
	at dev.slimevr.logging.LoggerKt.configureLogging(logger.kt:74)
	at dev.slimevr.logging.LoggerKt.configureLogging$default(logger.kt:48)
	at dev.slimevr.desktop.LoggingKt.setupDesktopLogging(logging.kt:13)
	at dev.slimevr.desktop.Main$main$1.invokeSuspend(Main.kt:62)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith$$$capture(ContinuationImpl.kt:34)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:-1)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
	at dev.slimevr.desktop.Main.main(Main.kt:61)
Exception 'java.net.UnknownHostException' occurred in thread 'main @Main#1' at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1727)
Breakpoint reached
	at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1727)
	at java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1060)
	at java.net.InetAddress.getAllByName0(InetAddress.java:1702)
	at java.net.InetAddress.getLocalHost(InetAddress.java:1796)
	at io.klogging.internal.KloggingEngine_jvmKt.<clinit>(KloggingEngine.jvm.kt:26)
	at io.klogging.events.LogEvent.<init>(LogEvent.kt:51)
	at io.klogging.BaseLogger.eventFrom(BaseLogger.kt:108)
	at io.klogging.impl.KloggerImpl.eventFrom(KloggerImpl.kt:39)
	at io.klogging.impl.KloggerImpl.emitEvent(KloggerImpl.kt:57)
	at io.klogging.Klogger.emitEvent$default(Klogger.kt:48)
	at io.klogging.Klogger.log$suspendImpl(Klogger.kt:123)
	at io.klogging.Klogger.log(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.log(KloggerImpl.kt:39)
	at io.klogging.Klogger.info$suspendImpl(Klogger.kt:323)
	at io.klogging.Klogger.info(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.info(KloggerImpl.kt:39)
	at dev.slimevr.logging.LoggerKt.configureLogging(logger.kt:74)
	at dev.slimevr.logging.LoggerKt.configureLogging$default(logger.kt:48)
	at dev.slimevr.desktop.LoggingKt.setupDesktopLogging(logging.kt:13)
	at dev.slimevr.desktop.Main$main$1.invokeSuspend(Main.kt:62)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith$$$capture(ContinuationImpl.kt:34)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:-1)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
	at dev.slimevr.desktop.Main.main(Main.kt:61)
Exception 'java.net.UnknownHostException' occurred in thread 'main @Main#1' at java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1104)
Breakpoint reached
	at java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1104)
	at java.net.InetAddress.getAllByName0(InetAddress.java:1702)
	at java.net.InetAddress.getLocalHost(InetAddress.java:1796)
	at io.klogging.internal.KloggingEngine_jvmKt.<clinit>(KloggingEngine.jvm.kt:26)
	at io.klogging.events.LogEvent.<init>(LogEvent.kt:51)
	at io.klogging.BaseLogger.eventFrom(BaseLogger.kt:108)
	at io.klogging.impl.KloggerImpl.eventFrom(KloggerImpl.kt:39)
	at io.klogging.impl.KloggerImpl.emitEvent(KloggerImpl.kt:57)
	at io.klogging.Klogger.emitEvent$default(Klogger.kt:48)
	at io.klogging.Klogger.log$suspendImpl(Klogger.kt:123)
	at io.klogging.Klogger.log(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.log(KloggerImpl.kt:39)
	at io.klogging.Klogger.info$suspendImpl(Klogger.kt:323)
	at io.klogging.Klogger.info(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.info(KloggerImpl.kt:39)
	at dev.slimevr.logging.LoggerKt.configureLogging(logger.kt:74)
	at dev.slimevr.logging.LoggerKt.configureLogging$default(logger.kt:48)
	at dev.slimevr.desktop.LoggingKt.setupDesktopLogging(logging.kt:13)
	at dev.slimevr.desktop.Main$main$1.invokeSuspend(Main.kt:62)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith$$$capture(ContinuationImpl.kt:34)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:-1)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
	at dev.slimevr.desktop.Main.main(Main.kt:61)
Exception 'java.net.UnknownHostException' occurred in thread 'main @Main#1' at java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1111)
Breakpoint reached
	at java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1111)
	at java.net.InetAddress.getAllByName0(InetAddress.java:1702)
	at java.net.InetAddress.getLocalHost(InetAddress.java:1796)
	at io.klogging.internal.KloggingEngine_jvmKt.<clinit>(KloggingEngine.jvm.kt:26)
	at io.klogging.events.LogEvent.<init>(LogEvent.kt:51)
	at io.klogging.BaseLogger.eventFrom(BaseLogger.kt:108)
	at io.klogging.impl.KloggerImpl.eventFrom(KloggerImpl.kt:39)
	at io.klogging.impl.KloggerImpl.emitEvent(KloggerImpl.kt:57)
	at io.klogging.Klogger.emitEvent$default(Klogger.kt:48)
	at io.klogging.Klogger.log$suspendImpl(Klogger.kt:123)
	at io.klogging.Klogger.log(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.log(KloggerImpl.kt:39)
	at io.klogging.Klogger.info$suspendImpl(Klogger.kt:323)
	at io.klogging.Klogger.info(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.info(KloggerImpl.kt:39)
	at dev.slimevr.logging.LoggerKt.configureLogging(logger.kt:74)
	at dev.slimevr.logging.LoggerKt.configureLogging$default(logger.kt:48)
	at dev.slimevr.desktop.LoggingKt.setupDesktopLogging(logging.kt:13)
	at dev.slimevr.desktop.Main$main$1.invokeSuspend(Main.kt:62)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith$$$capture(ContinuationImpl.kt:34)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:-1)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
	at dev.slimevr.desktop.Main.main(Main.kt:61)
Exception 'java.net.UnknownHostException' occurred in thread 'main @Main#1' at java.net.InetAddress.getLocalHost(InetAddress.java:1803)
Breakpoint reached
	at java.net.InetAddress.getLocalHost(InetAddress.java:1803)
	at io.klogging.internal.KloggingEngine_jvmKt.<clinit>(KloggingEngine.jvm.kt:26)
	at io.klogging.events.LogEvent.<init>(LogEvent.kt:51)
	at io.klogging.BaseLogger.eventFrom(BaseLogger.kt:108)
	at io.klogging.impl.KloggerImpl.eventFrom(KloggerImpl.kt:39)
	at io.klogging.impl.KloggerImpl.emitEvent(KloggerImpl.kt:57)
	at io.klogging.Klogger.emitEvent$default(Klogger.kt:48)
	at io.klogging.Klogger.log$suspendImpl(Klogger.kt:123)
	at io.klogging.Klogger.log(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.log(KloggerImpl.kt:39)
	at io.klogging.Klogger.info$suspendImpl(Klogger.kt:323)
	at io.klogging.Klogger.info(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.info(KloggerImpl.kt:39)
	at dev.slimevr.logging.LoggerKt.configureLogging(logger.kt:74)
	at dev.slimevr.logging.LoggerKt.configureLogging$default(logger.kt:48)
	at dev.slimevr.desktop.LoggingKt.setupDesktopLogging(logging.kt:13)
	at dev.slimevr.desktop.Main$main$1.invokeSuspend(Main.kt:62)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith$$$capture(ContinuationImpl.kt:34)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:-1)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
	at dev.slimevr.desktop.Main.main(Main.kt:61)
Exception 'java.lang.NullPointerException' occurred in thread 'main @Main#1' at kotlin.jvm.internal.Intrinsics.throwParameterIsNullNPE(Intrinsics.java:140)
Breakpoint reached
	at kotlin.jvm.internal.Intrinsics.throwParameterIsNullNPE(Intrinsics.java:140)
	at kotlin.jvm.internal.Intrinsics.checkNotNullParameter(Intrinsics.java:131)
	at io.klogging.events.LogEvent.<init>(LogEvent.kt:48)
	at io.klogging.events.LogEvent.<init>(LogEvent.kt:48)
	at io.klogging.BaseLogger.eventFrom(BaseLogger.kt:108)
	at io.klogging.impl.NoCoLoggerImpl.eventFrom(NoCoLoggerImpl.kt:41)
	at io.klogging.impl.NoCoLoggerImpl.emitEvent(NoCoLoggerImpl.kt:66)
	at io.klogging.NoCoLogger.emitEvent$default(NoCoLogger.kt:43)
	at io.klogging.NoCoLogger.log(NoCoLogger.kt:79)
	at io.klogging.impl.NoCoLoggerImpl.log(NoCoLoggerImpl.kt:41)
	at dev.slimevr.logging.LineLogger.write(standard-streams.kt:36)
	at java.io.OutputStream.write(OutputStream.java:167)
	at java.io.PrintStream.write(PrintStream.java:539)
	at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:220)
	at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:315)
	at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:101)
	at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:179)
	at java.io.PrintStream.writeln(PrintStream.java:690)
	at java.io.PrintStream.println(PrintStream.java:1004)
	at io.klogging.internal.PrintErr_jvmKt.printErr(PrintErr.jvm.kt:21)
	at io.klogging.internal.InternalLoggingKt.log(InternalLogging.kt:64)
	at io.klogging.internal.InternalLoggingKt.warn(InternalLogging.kt:127)
	at io.klogging.internal.KloggingEngine_jvmKt.<clinit>(KloggingEngine.jvm.kt:28)
	at io.klogging.events.LogEvent.<init>(LogEvent.kt:51)
	at io.klogging.BaseLogger.eventFrom(BaseLogger.kt:108)
	at io.klogging.impl.KloggerImpl.eventFrom(KloggerImpl.kt:39)
	at io.klogging.impl.KloggerImpl.emitEvent(KloggerImpl.kt:57)
	at io.klogging.Klogger.emitEvent$default(Klogger.kt:48)
	at io.klogging.Klogger.log$suspendImpl(Klogger.kt:123)
	at io.klogging.Klogger.log(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.log(KloggerImpl.kt:39)
	at io.klogging.Klogger.info$suspendImpl(Klogger.kt:323)
	at io.klogging.Klogger.info(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.info(KloggerImpl.kt:39)
	at dev.slimevr.logging.LoggerKt.configureLogging(logger.kt:74)
	at dev.slimevr.logging.LoggerKt.configureLogging$default(logger.kt:48)
	at dev.slimevr.desktop.LoggingKt.setupDesktopLogging(logging.kt:13)
	at dev.slimevr.desktop.Main$main$1.invokeSuspend(Main.kt:62)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith$$$capture(ContinuationImpl.kt:34)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:-1)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
	at dev.slimevr.desktop.Main.main(Main.kt:61)
Exception 'java.lang.NullPointerException' occurred in thread 'main @Main#1' at java.io.PrintStream.write(PrintStream.java:542)
Breakpoint reached
	at java.io.PrintStream.write(PrintStream.java:542)
	at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:220)
	at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:315)
	at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:101)
	at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:179)
	at java.io.PrintStream.writeln(PrintStream.java:690)
	at java.io.PrintStream.println(PrintStream.java:1004)
	at io.klogging.internal.PrintErr_jvmKt.printErr(PrintErr.jvm.kt:21)
	at io.klogging.internal.InternalLoggingKt.log(InternalLogging.kt:64)
	at io.klogging.internal.InternalLoggingKt.warn(InternalLogging.kt:127)
	at io.klogging.internal.KloggingEngine_jvmKt.<clinit>(KloggingEngine.jvm.kt:28)
	at io.klogging.events.LogEvent.<init>(LogEvent.kt:51)
	at io.klogging.BaseLogger.eventFrom(BaseLogger.kt:108)
	at io.klogging.impl.KloggerImpl.eventFrom(KloggerImpl.kt:39)
	at io.klogging.impl.KloggerImpl.emitEvent(KloggerImpl.kt:57)
	at io.klogging.Klogger.emitEvent$default(Klogger.kt:48)
	at io.klogging.Klogger.log$suspendImpl(Klogger.kt:123)
	at io.klogging.Klogger.log(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.log(KloggerImpl.kt:39)
	at io.klogging.Klogger.info$suspendImpl(Klogger.kt:323)
	at io.klogging.Klogger.info(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.info(KloggerImpl.kt:39)
	at dev.slimevr.logging.LoggerKt.configureLogging(logger.kt:74)
	at dev.slimevr.logging.LoggerKt.configureLogging$default(logger.kt:48)
	at dev.slimevr.desktop.LoggingKt.setupDesktopLogging(logging.kt:13)
	at dev.slimevr.desktop.Main$main$1.invokeSuspend(Main.kt:62)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith$$$capture(ContinuationImpl.kt:34)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:-1)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
	at dev.slimevr.desktop.Main.main(Main.kt:61)
Exception 'java.lang.NullPointerException' occurred in thread 'main @Main#1' at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:104)
Breakpoint reached
	at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:104)
	at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:179)
	at java.io.PrintStream.writeln(PrintStream.java:690)
	at java.io.PrintStream.println(PrintStream.java:1004)
	at io.klogging.internal.PrintErr_jvmKt.printErr(PrintErr.jvm.kt:21)
	at io.klogging.internal.InternalLoggingKt.log(InternalLogging.kt:64)
	at io.klogging.internal.InternalLoggingKt.warn(InternalLogging.kt:127)
	at io.klogging.internal.KloggingEngine_jvmKt.<clinit>(KloggingEngine.jvm.kt:28)
	at io.klogging.events.LogEvent.<init>(LogEvent.kt:51)
	at io.klogging.BaseLogger.eventFrom(BaseLogger.kt:108)
	at io.klogging.impl.KloggerImpl.eventFrom(KloggerImpl.kt:39)
	at io.klogging.impl.KloggerImpl.emitEvent(KloggerImpl.kt:57)
	at io.klogging.Klogger.emitEvent$default(Klogger.kt:48)
	at io.klogging.Klogger.log$suspendImpl(Klogger.kt:123)
	at io.klogging.Klogger.log(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.log(KloggerImpl.kt:39)
	at io.klogging.Klogger.info$suspendImpl(Klogger.kt:323)
	at io.klogging.Klogger.info(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.info(KloggerImpl.kt:39)
	at dev.slimevr.logging.LoggerKt.configureLogging(logger.kt:74)
	at dev.slimevr.logging.LoggerKt.configureLogging$default(logger.kt:48)
	at dev.slimevr.desktop.LoggingKt.setupDesktopLogging(logging.kt:13)
	at dev.slimevr.desktop.Main$main$1.invokeSuspend(Main.kt:62)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith$$$capture(ContinuationImpl.kt:34)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:-1)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
	at dev.slimevr.desktop.Main.main(Main.kt:61)
Exception 'java.lang.NullPointerException' occurred in thread 'main @Main#1' at java.io.PrintStream.writeln(PrintStream.java:693)
Breakpoint reached
	at java.io.PrintStream.writeln(PrintStream.java:693)
	at java.io.PrintStream.println(PrintStream.java:1004)
	at io.klogging.internal.PrintErr_jvmKt.printErr(PrintErr.jvm.kt:21)
	at io.klogging.internal.InternalLoggingKt.log(InternalLogging.kt:64)
	at io.klogging.internal.InternalLoggingKt.warn(InternalLogging.kt:127)
	at io.klogging.internal.KloggingEngine_jvmKt.<clinit>(KloggingEngine.jvm.kt:28)
	at io.klogging.events.LogEvent.<init>(LogEvent.kt:51)
	at io.klogging.BaseLogger.eventFrom(BaseLogger.kt:108)
	at io.klogging.impl.KloggerImpl.eventFrom(KloggerImpl.kt:39)
	at io.klogging.impl.KloggerImpl.emitEvent(KloggerImpl.kt:57)
	at io.klogging.Klogger.emitEvent$default(Klogger.kt:48)
	at io.klogging.Klogger.log$suspendImpl(Klogger.kt:123)
	at io.klogging.Klogger.log(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.log(KloggerImpl.kt:39)
	at io.klogging.Klogger.info$suspendImpl(Klogger.kt:323)
	at io.klogging.Klogger.info(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.info(KloggerImpl.kt:39)
	at dev.slimevr.logging.LoggerKt.configureLogging(logger.kt:74)
	at dev.slimevr.logging.LoggerKt.configureLogging$default(logger.kt:48)
	at dev.slimevr.desktop.LoggingKt.setupDesktopLogging(logging.kt:13)
	at dev.slimevr.desktop.Main$main$1.invokeSuspend(Main.kt:62)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith$$$capture(ContinuationImpl.kt:34)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:-1)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
	at dev.slimevr.desktop.Main.main(Main.kt:61)
Exception 'java.lang.ExceptionInInitializerError' occurred in thread 'main @Main#1' at io.klogging.events.LogEvent.<init>(LogEvent.kt:51)
Breakpoint reached
	at io.klogging.events.LogEvent.<init>(LogEvent.kt:51)
	at io.klogging.BaseLogger.eventFrom(BaseLogger.kt:108)
	at io.klogging.impl.KloggerImpl.eventFrom(KloggerImpl.kt:39)
	at io.klogging.impl.KloggerImpl.emitEvent(KloggerImpl.kt:57)
	at io.klogging.Klogger.emitEvent$default(Klogger.kt:48)
	at io.klogging.Klogger.log$suspendImpl(Klogger.kt:123)
	at io.klogging.Klogger.log(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.log(KloggerImpl.kt:39)
	at io.klogging.Klogger.info$suspendImpl(Klogger.kt:323)
	at io.klogging.Klogger.info(Klogger.kt:-1)
	at io.klogging.impl.KloggerImpl.info(KloggerImpl.kt:39)
	at dev.slimevr.logging.LoggerKt.configureLogging(logger.kt:74)
	at dev.slimevr.logging.LoggerKt.configureLogging$default(logger.kt:48)
	at dev.slimevr.desktop.LoggingKt.setupDesktopLogging(logging.kt:13)
	at dev.slimevr.desktop.Main$main$1.invokeSuspend(Main.kt:62)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith$$$capture(ContinuationImpl.kt:34)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:-1)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
	at dev.slimevr.desktop.Main.main(Main.kt:61)
Exception 'java.lang.ExceptionInInitializerError' occurred in thread 'main' at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:108)
Breakpoint reached
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:108)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
	at dev.slimevr.desktop.Main.main(Main.kt:61)
Exception 'java.lang.NoClassDefFoundError' occurred in thread 'main' at java.io.PrintStream.write(PrintStream.java:542)
Breakpoint reached
	at java.io.PrintStream.write(PrintStream.java:542)
	at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:220)
	at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:315)
	at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:101)
	at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:179)
	at java.io.PrintStream.writeln(PrintStream.java:690)
	at java.io.PrintStream.println(PrintStream.java:1027)
	at java.lang.Throwable$WrappedPrintStream.println(Throwable.java:790)
	at java.lang.Throwable.printStackTrace(Throwable.java:697)
	at java.lang.Throwable.printStackTrace(Throwable.java:686)
	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:579)
	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:571)
	at java.lang.Thread.dispatchUncaughtException(Thread.java:2556)
Exception 'java.lang.NoClassDefFoundError' occurred in thread 'main' at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:104)
Breakpoint reached
	at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:104)
	at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:179)
	at java.io.PrintStream.writeln(PrintStream.java:690)
	at java.io.PrintStream.println(PrintStream.java:1027)
	at java.lang.Throwable$WrappedPrintStream.println(Throwable.java:790)
	at java.lang.Throwable.printStackTrace(Throwable.java:697)
	at java.lang.Throwable.printStackTrace(Throwable.java:686)
	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:579)
	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:571)
	at java.lang.Thread.dispatchUncaughtException(Thread.java:2556)
Exception 'java.lang.NoClassDefFoundError' occurred in thread 'main' at java.io.PrintStream.writeln(PrintStream.java:693)
Breakpoint reached
	at java.io.PrintStream.writeln(PrintStream.java:693)
	at java.io.PrintStream.println(PrintStream.java:1027)
	at java.lang.Throwable$WrappedPrintStream.println(Throwable.java:790)
	at java.lang.Throwable.printStackTrace(Throwable.java:697)
	at java.lang.Throwable.printStackTrace(Throwable.java:686)
	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:579)
	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:571)
	at java.lang.Thread.dispatchUncaughtException(Thread.java:2556)
Exception 'java.lang.NoClassDefFoundError' occurred in thread 'main' at java.lang.Throwable.printStackTrace(Throwable.java:710)
Breakpoint reached
	at java.lang.Throwable.printStackTrace(Throwable.java:710)
	at java.lang.Throwable.printStackTrace(Throwable.java:686)
	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:579)
	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:571)
	at java.lang.Thread.dispatchUncaughtException(Thread.java:2556)
Disconnected from the target VM, address: 'localhost:35355', transport: 'socket'
2026-09-04 20:31:25 -05:00
Erimel 7d6d838cd6 Correct spelling mistake in centre ("center") 2026-09-04 20:06:00 -04:00
Erimel dce4717510 Progress on Mocap Mode! ^-^ 2026-09-04 20:03:40 -04:00
Erimel aa266d96ae disable hip yaw roll align when thighs no active 2026-09-04 17:28:40 -04:00
Erimel 1579da304c Filtering steps of 5% and allow 0% 2026-09-04 15:29:48 -04:00
Erimel 4a0a7274b0 Fix angular velocity 2026-09-04 14:46:45 -04:00
loucass003 24ce1ae284 Checklist -> tracker error. only when invalid 2026-09-04 20:29:46 +02:00
loucass003 910fe5cf71 Mobile QOL + Improve autimatic set detection 2026-09-04 20:12:46 +02:00
loucass003 28bbb53fb7 Reworked tooltips to use Popover API 2026-09-04 19:41:29 +02:00
loucass003 04aba4beb9 Fix mirror display on assignment + cleanup / fix rerenders 2026-09-04 17:09:23 +02:00
loucass003 5d57fb4b3a Clean comment 2026-09-04 15:15:55 +02:00
loucass003 a0ed8cc7e0 HID protocol v3 and legacy rewrite 2026-09-04 15:13:06 +02:00
Erimel 2bec11f261 Get rid of send_derived_velocity 2026-09-03 20:19:36 -04:00
Sapphire c08a57c96c Ignore .worktree 2026-09-03 19:09:33 -05:00
Erimel e8d24380b8 Fix velocity processing 2026-09-03 20:08:23 -04:00
Erimel 9fac29dfa3 Vector3.NULL -> Vector3.ZERO 2026-09-03 13:49:23 -04:00
Erimel 10d5f137f4 add debug launch arguments 2026-09-03 13:39:17 -04:00
loucass003 768424d49c Better telemetry readings 2026-09-03 12:28:41 +02:00
loucass003 0b235e6669 Velocity optimisations 2026-09-03 06:42:09 +02:00
loucass003 191f1004f1 Fix rebase fail 2026-09-03 05:19:04 +02:00
loucass003 eadb83db9e Precise timers 2026-09-03 05:10:53 +02:00
Erimel 5584ae4ffa predict/smooth before other inputprocessors
for optimization!!!
2026-09-02 21:54:03 -04:00
Erimel 30f9178fec Skeleton processors extract stuff 2026-09-02 21:32:57 -04:00
Erimel bcfe86e8ac MonotonicValueTimeMark 2026-09-02 21:18:19 -04:00
Erimel 9f0cf6554d ikTargets mutable, some refactoring in skeleton 2026-09-02 21:16:10 -04:00
Erimel 0465abc005 Velocity WIP 2026-09-02 19:13:20 -04:00
loucass003 d833052e78 Only use dedicated thread for the compute loop 2026-09-03 01:04:46 +02:00
loucass003 2595430ed2 Speeeeeeed 2026-09-03 00:00:32 +02:00
Erimel f7c5e2c130 tracker polarityFallbackRotation 2026-09-02 15:47:11 -04:00
Erimel 4211ef3b16 500hz skeleton 2026-09-02 14:43:22 -04:00
loucass003 1911ceb6cb Lint 2026-09-02 16:53:25 +02:00
loucass003 e97c9a16bd Redo HID device handling. No more shit abstraction on top of HidApi 2026-09-02 16:49:57 +02:00
Butterscotch! c09bddf148 Target ankles for skating correction 2026-09-02 06:57:59 -04:00
loucass003 edf6a819e1 Add butterfly 3d model (basic) 2026-09-02 11:27:31 +02:00
Sapphire b50ae9b24f Use ResetTrackerAssignments in GUI 2026-09-02 01:57:38 -05:00
Sapphire a4d62fc668 Fix ResetTrackerAssignments 2026-09-02 01:57:38 -05:00
Sapphire 44773e47f6 Update dongle name when pressing Enter 2026-09-02 01:57:37 -05:00
loucass003 48c9c3e079 Fix render desync in skeleton preview 2026-09-02 08:21:25 +02:00
Sapphire 4344abfffd Don't show update warning on Steam 2026-09-02 01:11:53 -05:00
loucass003 5661668c20 Fix wrongly removed key 2026-09-02 08:06:54 +02:00
loucass003 06d035402f use real assigned trackers count instead of the assigned of a set 2026-09-02 04:59:19 +02:00
Sapphire 7c6646ccf7 pls build 2026-09-01 21:46:48 -05:00
Sapphire 0bc8b58c36 pls build 2026-09-01 21:36:47 -05:00
Sapphire 89bee2a6f4 pls build 2026-09-01 21:24:44 -05:00
Sapphire 2c58ae71b4 Fix bindings provider (maybe)
idk if it builds on windows lol
2026-09-01 21:00:30 -05:00
Sapphire 00ced5e745 Fix tests 2026-09-01 20:48:00 -05:00
Sapphire c242018582 Remove unused variable in tap detection tests
evil fox asked me to
2026-09-01 20:39:46 -05:00
Erimel a62cb42189 Add acceleration and velocity to bones 2026-09-01 20:31:31 -04:00
Erimel f58cb7dfcf Add ankle chain for IK 2026-09-01 17:54:55 -04:00
Erimel f9c08e5ec7 Don't use getValue in skeleton 2026-09-01 17:31:58 -04:00
Erimel f6084e398e Fix automatic routing when no tracker is connected 2026-09-01 17:20:01 -04:00
Erimel 08409660c4 Fix toe snap multiplication order 2026-09-01 16:04:22 -04:00
Erimel f1f2ca6d6d Fix CI and some toe tracking stuff 2026-09-01 14:44:21 -04:00
Erimel 74860c26c1 Oops, buildBones needs the parents. 2026-09-01 13:52:06 -04:00
Erimel 7d84e7cfa0 Actually optimize buildBones 2026-09-01 13:17:55 -04:00
loucass003 fcbd4394f5 Fix translations 2026-09-01 09:02:33 +02:00
loucass003 10f783b347 Unify mounting picker logic with assigment / simplify logic 2026-09-01 08:23:17 +02:00
loucass003 d37a0d0a66 Toes assigment 2026-09-01 07:57:43 +02:00
e5ad3e02eb Toe tracking server rewrite (#1897)
Co-authored-by: Erimel <[email protected]>
Co-authored-by: Erimel <[email protected]>
Co-authored-by: loucass003 <[email protected]>
2026-09-01 06:20:44 +02:00
loucass003 b8a72e43c0 Assigment Hands + Cleanup 2026-09-01 05:38:03 +02:00
Erimel 15e27092d3 Don't compute findFirstCommonParent if has HEAD 2026-08-31 21:54:20 -04:00
Erimel 9426366780 findFirstCommonParent buildBones 2026-08-31 21:48:07 -04:00
Erimel b2614d5118 BodyPartMap mutateCopy 2026-08-31 20:51:54 -04:00
Erimel 6ead7e1bb5 Everything needed for mocap mode 2026-08-31 20:08:53 -04:00
loucass003 9af5608613 More translations cleanup 2026-09-01 01:35:11 +02:00
loucass003 7fea99cbec Clean old transation keys 2026-09-01 01:26:45 +02:00
loucass003 fd277e4ba6 Bring back show all always on screen + better mobile layout 2026-09-01 01:01:23 +02:00
loucass003 f40c79cbdd Fix head scale 2026-09-01 00:38:03 +02:00
Erimel 56ec55211f get rid of skeletonOffset in GUI 2026-08-31 18:31:11 -04:00
Butterscotch! 2c0cdf3079 Use default IK chains & constraints 2026-08-31 17:37:08 -04:00
Butterscotch! c3cfd16a04 Use const 2026-08-31 17:05:19 -04:00
Butterscotch! 496adc4b3c Fix toe snap axis & don't go through floor 2026-08-31 17:03:43 -04:00
Erimel cd7f23e98a Lint fix 2026-08-31 16:54:22 -04:00
Erimel b52f05d38b Fix assignment mirror 2026-08-31 16:37:42 -04:00
Butterscotch! 732a5d59ab Initial constraints on the body from old server 2026-08-31 16:23:30 -04:00
Butterscotch! 982c2429f1 Spotless apply 2026-08-31 16:19:17 -04:00
Erimel 2d3b0ed1d0 Hide battery voltage and rssi filler 2026-08-31 15:51:19 -04:00
Erimel 8c1017b886 mostly fix grid tracker card display 2026-08-31 15:17:13 -04:00
Erimel da42de70b2 Flip ankle icon and fix foot icon offset 2026-08-31 15:09:34 -04:00
loucass003 d4e46298f0 Small improvements to assignment 2026-08-31 18:43:00 +02:00
loucass003 1f3dcbdc80 Update butterfly svg 2026-08-31 17:05:49 +02:00
loucass003 6b64277f12 Fix dropdown 2026-08-31 15:28:46 +02:00
loucass003 24bded44a0 Tracker assign full 2026-08-31 14:36:41 +02:00
loucass003 eb6340a896 Tracker assign desktop 2026-08-31 14:36:41 +02:00
Sapphire b0b3c05d06 Nuke Protobuf and Windows named pipes
Tests are broken, will fix later..
2026-08-31 04:45:13 -05:00
Butterscotch! 9eb0e82d9c Finish toe snap 2026-08-31 01:40:30 -04:00
Butterscotch! 9f1fd9489e Properly implement foot plant & clarify math 2026-08-29 18:57:21 -04:00
loucass003 7342e72b2c 3d preview WIP 2026-08-29 23:46:45 +02:00
Butterscotch! 8b0aae537b Finish moving skating correction 2026-08-29 15:52:01 -04:00
Sapphire 4876cfa417 Fix capitalisation inconsistency between sidebar and page header for serial console 2026-08-28 23:53:37 -05:00
Sapphire 359def6a72 Fix SteamVR running checklist behaviour 2026-08-28 20:44:45 -05:00
Sapphire 0c0ece2f3c Compensate for difference in eye and head height for VRC config warnings 2026-08-28 20:27:47 -05:00
Erimel 705ba65cdc Fix drift 2026-08-28 18:56:58 -04:00
Sapphire d2d1da8f82 Mark all HID trackers as disconnected when their dongle is unplugged 2026-08-28 15:39:56 -05:00
Sapphire f7cae8ee01 fix gui explodey 2026-08-28 15:22:43 -05:00
Sapphire a784a7afe3 Make sure mounting reset buttons are always disabled when full reset is required 2026-08-28 14:46:07 -05:00
Erimel 835015d00e Group solarxr by datafeed, driver and rpc 2026-08-28 12:41:41 -04:00
Erimel 774516b7e0 Update solarxr-protocol 2026-08-28 12:15:06 -04:00
Erimel 70378752d6 Revert "Localizer module creation"
This reverts commit eb73053e25.
2026-08-27 20:03:38 -04:00
Erimel eb73053e25 Localizer module creation 2026-08-27 19:16:40 -04:00
Erimel dd2d6542d3 ComputeFloorLevel 2026-08-27 18:48:44 -04:00
Erimel 99222ef951 Use head height instead of feet to calculate floor level 2026-08-27 18:09:51 -04:00
Erimel c742e7226d Skeleton floor level 2026-08-27 18:05:20 -04:00
Sapphire 38079be787 Play end of full reset sound effect when changing feedback sound volume
Closes #1916.
2026-08-27 16:30:09 -05:00
Erimel 4fb2a0a854 Properly pause tracking, yay! 2026-08-27 17:25:51 -04:00
Sapphire 5fa986f32b Add ResetTrackerAssignments 2026-08-27 16:16:54 -05:00
loucass003 bf32e7f729 Don't record messages for pending replies when type has no consumers
This was causing memory leaks, since we'd add the messages to the pending
reply map and never drain them.
2026-08-27 15:19:43 -05:00
Erimel 6d8366d41f spotless 2026-08-27 15:41:12 -04:00
Erimel 8d42f98e57 Refactor skeleton processors to only take InputSkeleton 2026-08-27 15:40:40 -04:00
Sapphire 7c21bf5437 WIP SteamVR tracking checklist step rework 2026-08-27 12:29:42 -05:00
Sapphire 4baef9aca2 Fix SolarXR driver routing output state not properly updating 2026-08-27 12:29:42 -05:00
loucass003 c6ce1bf6af Small gui fixes + add link to wifi provisioning page 2026-08-27 04:54:07 +02:00
Erimel c6abc5a560 fix ci 2026-08-26 20:53:13 -04:00
Erimel f446693978 fix electron 2026-08-26 20:36:37 -04:00
loucass003 2cf29c4f3a electron 44 2026-08-27 02:26:21 +02:00
loucass003 53d3ee611f electron 42 2026-08-27 02:22:13 +02:00
Erimel b95140796e Stop computing skeleton frametime for nothing 2026-08-26 20:22:00 -04:00
loucass003 7f7e229349 Bump electron 2026-08-27 01:55:02 +02:00
loucass003 160563dee2 Fix centering of divider. better handling of page scrollbars 2026-08-27 01:49:57 +02:00
Erimel fe0f0e7021 Accept TIMED_OUT more 2026-08-26 19:42:28 -04:00
loucass003 48aa085cf3 Fix UI issues 2026-08-27 01:24:34 +02:00
loucass003 bd84e53f28 Server Infos 2026-08-27 00:47:38 +02:00
loucass003 941967b472 Tracker assignment conflict logic 2026-08-27 00:14:54 +02:00
Erimel adcefc0733 Improve timeout delay handling (and not duration) 2026-08-26 18:04:26 -04:00
Sapphire 75e16b280f Fix checklist unassigned HMD step test 2026-08-26 16:31:50 -05:00
Sapphire a0af9da399 Fix GUI lint 2026-08-26 16:23:04 -05:00
Sapphire 8238514638 Spotless 2026-08-26 16:19:40 -05:00
Sapphire cc535fbf25 Fix unassigned HMD step relying on the order driver trackers get added 2026-08-26 16:18:36 -05:00
loucass003 e5ecd500c8 Maybe fix shutdown. Cannot hurt 2026-08-26 23:18:07 +02:00
Erimel 44342c0d41 instantiate tracker with null bodyPart 2026-08-26 17:09:04 -04:00
loucass003 c2bbfc9237 Spotless 2026-08-26 22:54:59 +02:00
loucass003 1feee8dd32 Force a custom setRotation function 2026-08-26 22:38:01 +02:00
loucass003 5cf2cebb3d move reducer outside of behaviours 2026-08-26 22:19:06 +02:00
Erimel e863d5d1fe Patch for >180 degrees rotation 2026-08-26 16:01:52 -04:00
Erimel d609e77f5b clarify test method naming 2026-08-26 13:49:34 -04:00
Erimel afd711ba23 Create PolarityTrackingTest.kt 2026-08-26 13:46:53 -04:00
Erimel dba4c1964e Don't warn on quit for sleeping trackers 2026-08-26 13:16:00 -04:00
Erimel 38fe57cee0 Filter strength instead of Amount 2026-08-26 13:08:20 -04:00
Sapphire 00801b35a1 Leave SolarXR driver trackers in DISCONNECTED state on add 2026-08-26 05:28:00 -05:00
loucass003 ce64b3fbcd Fix cursor alignment 2026-08-26 00:15:06 +02:00
loucass003 1a26abffca I FORGOT THE LOCKFILE .... 2026-08-25 23:55:18 +02:00
loucass003 5a17518b26 lint 2026-08-25 23:53:27 +02:00
loucass003 7501e10237 Metrics overlay 2026-08-25 23:48:59 +02:00
loucass003 6ad68371e0 Min max render 2026-08-25 21:48:47 +02:00
loucass003 d3f81fa257 Telemetry fixes 2026-08-25 21:22:19 +02:00
loucass003 f82f1eeddd Telemetry fixes + Optimise the crap out of it 2026-08-25 21:07:01 +02:00
loucass003 9a0cdb61cb USB Serial console 2026-08-25 16:55:49 +02:00
loucass003 a2e0eabe6e Telemetry 2026-08-25 04:17:05 +02:00
Sapphire 4b6244289e Only launch bindings provider when driver name is SteamVR 2026-08-24 21:00:06 -05:00
Butterscotch! 1d12c8423d Split skating correction into testable chunks 2026-08-24 21:43:56 -04:00
Butterscotch! 7148ec3394 Apply skating correction locks as IK targets 2026-08-24 20:55:53 -04:00
loucass003 e2bdc27c99 Lock provisioning trackers to only UDP trackers 2026-08-24 22:45:28 +02:00
Erimel 9d541a3c09 Try to fix CI 2026-08-24 16:43:52 -04:00
Erimel 7eeafb2a25 Fix build 2026-08-24 16:23:34 -04:00
Erimel 090f836fc9 Fix todo in mapping.kt 2026-08-24 16:15:36 -04:00
Erimel 2c20f3973e Use BodyPartMap moar 2026-08-24 16:10:14 -04:00
loucass003 1aaeb07f4d Forgot some elvis operator 2026-08-24 21:44:57 +02:00
loucass003 0977f8e6e4 Update all fields affected by solarxr changes 2026-08-24 21:42:52 +02:00
Erimel e9157dbff7 evil whitespaces for ci 2026-08-24 14:40:18 -04:00
Erimel cadc775c86 Fix Yaw Reset not using calibrated rotation 2026-08-24 14:35:52 -04:00
Sapphire 9b1e32f125 Listen for driverName changes in observe 2026-08-24 12:32:52 -05:00
Erimel 3fc70fae9a reset_mounting_fingers 2026-08-24 13:21:40 -04:00
Erimel d67223a6bb Align finger mounting with arms 2026-08-24 12:50:30 -04:00
loucass003 cf94fc6a6b BUILD SPEEEEED 2026-08-24 18:44:36 +02:00
Aed 648a957b89 check if recently done full reset in mounting/stay aligned setup (#1895) 2026-08-24 17:50:12 +02:00
loucass003 986cb37be4 Code clean a bit 2026-08-24 15:47:05 +02:00
loucass003 cb5becd52d Mobile UI fixes for provisioning 2026-08-24 15:38:47 +02:00
Sapphire bb5f36160c Start bindings provider when SteamVR driver handshakes via SolarXR 2026-08-24 02:22:16 -05:00
Sapphire 4863e3d313 SolarXR external trackers 2026-08-24 02:22:15 -05:00
Erimel db05f2e9d9 Fix TPS update comment 2026-08-24 02:47:50 -04:00
Erimel 4bf797909b Make TPS only update on rotation 2026-08-24 02:45:47 -04:00
art0007i cc63cb45c6 add timeout setting (#1910) 2026-08-23 22:40:57 +02:00
loucass003 f6c93a87fc Ui fixes for provisioning 2026-08-22 12:54:16 +02:00
loucass003 c8c4c62136 Better handshake and device connection check for UDP 2026-08-22 12:53:56 +02:00
loucass003 9c60cb8097 Wifi provisioning 2026-08-22 06:53:08 +02:00
Erimel 5f0c11deb4 Fix arms and feet with VMC 2026-08-21 21:35:51 -04:00
loucass003 8374422c3c Fix solarxr buffer read 2026-08-22 02:15:45 +02:00
Erimel e6397ed65f specify twist for interpolate_upper_legs_with_lower_legs 2026-08-21 17:37:09 -04:00
Erimel c13841b833 Make interpolateUpperLegsWithLowerLegs only affect roll 2026-08-21 16:34:48 -04:00
Erimel f67b061043 disable driver verboseMetrics 2026-08-21 15:43:32 -04:00
loucass003 c6a4054b46 Fix android build 2026-08-21 20:45:12 +02:00
loucass003 a36b330fda Spotless 2026-08-21 19:11:57 +02:00
loucass003 83eb12d906 Fix binding provider build 2026-08-21 19:08:47 +02:00
loucass003 8e08c3965e Lint fix 2026-08-21 19:03:16 +02:00
loucass003 6d22ee9323 Merge remote-tracking branch 'origin/main' into server-rewrite
# Conflicts:
#	gui/app/public/i18n/en/translation.ftl
#	gui/src/components/settings/pages/GeneralSettings.tsx
#	server/desktop/src/main/java/dev/slimevr/desktop/platform/SteamVRBridge.kt
2026-08-21 18:59:35 +02:00
Sapphire 554976390b Delay startup of bindings provider to work around SteamVR startup issues (#1906) 2026-08-21 01:51:55 +02:00
loucass003 46528a320f Nvm i prefer stateFlow 2026-08-21 01:38:08 +02:00
loucass003 1c2beb7961 Moar memory optimisations 2026-08-21 01:30:06 +02:00
Erimel 2bb35fb99f Use null bodypart instead of NONE 2026-08-20 19:08:53 -04:00
loucass003 151a6e3021 Allocations optimisations 2026-08-21 01:04:09 +02:00
Erimel 8f3cd8e3dd MOUNTING -> POSE_MOUNTING 2026-08-20 18:48:13 -04:00
loucass003 7ede75de8a Reuse read buffers on ipc stuff 2026-08-21 00:00:54 +02:00
Erimel ca04a615ef Let NONE bodypart be loaded from config 2026-08-20 17:49:55 -04:00
Erimel 63f3ffcd7f Don't use IMU head tracker as reference 2026-08-20 17:35:56 -04:00
loucass003 136746d1d0 Bring back Dispatcher.Default 2026-08-20 23:10:56 +02:00
loucass003 3a15c54e85 More event logs before confirming fix 2026-08-20 22:40:12 +02:00
Erimel 7ab83c3f4a Optimize mountingOrientation and fix positional tracker cal 2026-08-20 15:55:28 -04:00
loucass003 367fbc9344 Maybe fix the latency problem 2026-08-20 21:35:43 +02:00
Erimel ca89627832 Fix VR tracker status 2026-08-20 13:56:35 -04:00
loucass003 b6acc5fe26 Verbose metrics for event-dispatcher.kt 2026-08-20 18:07:07 +02:00
Erimel 9ea6354d49 Positional trackers rotation calibration + resetPositionalHeadAttitude 2026-08-19 22:01:21 -04:00
Erimel dd95c35f93 Fix BoneYawFallbackProcessor not affecting children of children 2026-08-19 21:07:56 -04:00
Erimel 3f0c340f55 Tweak proportions and finger lengths 2026-08-18 21:17:44 -04:00
Sapphire 6efec5628b Fix SteamVR battery readings 2026-08-18 16:46:55 -05:00
Erimel bff1fe1db3 Allow skeleton proportions to go to 0 2026-08-18 15:07:14 -04:00
Sapphire ced279a867 Use app key of SlimeVR Steam application for bindings provider (#1908) 2026-08-18 11:52:54 +02:00
Sapphire 8637d1864a Tap reset selection GUI cleanup (#1909) 2026-08-18 11:52:40 +02:00
Butterscotch! c4ee293519 Start implementing IK into the skeleton loop 2026-08-18 00:14:14 -04:00
Erimel 757c53b8ae positional head attitude and remove force arms from hmd 2026-08-17 21:04:11 -04:00
Erimel ca84b84e48 Make SlimeVR more Canadian 2026-08-17 21:02:37 -04:00
Erimel b96a6468a7 arm prediction multiplier 2026-08-17 19:22:30 -04:00
Erimel ba8c09b48c Stay Aligned flightlist check 2026-08-17 19:21:46 -04:00
Erimel 865c6a3b7d Get rid of visitors and make Stay Aligned work 2026-08-17 18:41:46 -04:00
Erimel 56bada0b92 bodypart mounting only when last mounting is manual 2026-08-17 17:59:32 -04:00
Butterscotch! 056fb49202 Clean up constraint code 2026-08-14 22:01:08 -04:00
Butterscotch! 025aa96534 Separate offset constraint math 2026-08-14 21:59:56 -04:00
Butterscotch! fc9f9f4605 Actually make IK work (for realsies) 2026-08-14 21:16:08 -04:00
Butterscotch! 991c968e4a Apply Spotless formatting 2026-08-14 20:48:31 -04:00
Erimel 72c9293f18 Get rid of LockedErrorVisitor 2026-08-14 16:12:02 -04:00
Erimel 676f093e8a Get rid of HideCorrection 2026-08-14 15:40:47 -04:00
FeatherP 922f212883 Support configurable SPI bus pins in Firmware Flasher (#1902) 2026-08-14 04:39:37 +02:00
Erimel 7b8e95cacf WIP trying to fix Stay Aligned 2026-08-13 19:59:12 -04:00
loucass003 cb8a9338cb Make android compile 2026-08-13 23:15:07 +02:00
loucass003 b8610d94bb Spotless 2026-08-13 22:37:55 +02:00
loucass003 5eba00d32b Dongle settings page + tweaks 2026-08-13 21:20:43 +02:00
loucass003 9c15ddc79b Device origin + driver group 2026-08-13 06:59:52 +02:00
loucass003 0ba3b1e164 Dongle status + Dongle in tracker list 2026-08-13 05:56:15 +02:00
Erimel 5dd5d125b1 resetPositionalHeadAttitude WIP 2026-08-12 20:12:36 -04:00
Erimel fecc700da5 Fix Centaur Bug (ptsd moment) 2026-08-12 20:10:33 -04:00
loucass003 2f64daeb64 Dongle in datafeed 2026-08-13 01:36:30 +02:00
Erimel 31956e2a2f idkhowtonamethiscommit Tracker.DEFAULT_STATE 2026-08-12 17:47:49 -04:00
loucass003 bb7a5521e3 Fix build 2026-08-12 20:45:04 +02:00
loucass003 e376c221e1 spotless you sonofabish 2026-08-12 17:27:21 +02:00
loucass003 5d1dc2238e Properly mute test 2026-08-12 17:24:16 +02:00
loucass003 702e1d4cd7 Fix binding provider maybe? 2026-08-12 17:18:33 +02:00
loucass003 c8878db908 Disable IK tests 2026-08-12 17:14:29 +02:00
loucass003 4759300ed9 Tracker Over HID 2026-08-12 16:56:38 +02:00
loucass003 243453ac7e Make sure trackers get set to disconnected when driver disconnect 2026-08-12 15:30:27 +02:00
Erimel 6876956023 don't need double asterix dumbass fox 2026-08-11 18:08:13 -04:00
Erimel e3c7563bfa Ignore **.ftl for language stats 2026-08-11 18:05:15 -04:00
Erimel f41c4fea27 Exclude i18n (Fluent) from language stats 2026-08-11 17:56:09 -04:00
loucass003 c697aabfd7 Driver through solarxr. Not supporting monado skeleton approach. need packets 2026-08-11 22:14:00 +02:00
Sapphire 3a605df946 Don't force-override assigned body part and name for VRCOSC trackers 2026-08-10 22:58:58 -05:00
Sapphire 93816ad7ed Don't unnecessarily send skeleton proportions upon SolarXR connection 2026-08-10 22:58:19 -05:00
Sapphire c72a30aca5 Add socket path used when under pressure-vessel to bindings provider (#1905) 2026-08-11 03:08:44 +02:00
loucass003 f679051d50 Fix build 2026-08-11 02:39:30 +02:00
loucass003 89d20c6bc1 Remove AGENTS.md 2026-08-11 02:37:28 +02:00
loucass003 03eded6c35 Fix build / tests 2026-08-11 02:34:14 +02:00
loucass003 d7f510c7f3 Fix android build 2026-08-11 02:02:05 +02:00
Butterscotch! 0daaa2520d Add constraints to IK 2026-08-10 19:28:02 -04:00
loucass003 3b02bf4273 remove detekt 2026-08-11 01:23:30 +02:00
loucass003 17b535c3a1 Change java version check message 2026-08-11 00:52:12 +02:00
Erimel 14c4562d02 Get rid of NULL Quaternion 2026-08-10 18:13:24 -04:00
Butterscotch! 66a8606c81 Actually fix IK NaN 2026-08-10 18:12:15 -04:00
Butterscotch! 5cf8b24926 Stop IK NaN 2026-08-10 17:48:48 -04:00
loucass003 f7fae1d895 Fix prediction breaking with bone offset changes + improve smoothing a bit 2026-08-10 21:27:27 +02:00
Sapphire cff625c02a Bone routing and VMC/VRCOSC text fixes 2026-08-05 16:44:19 -05:00
Erimel 5c18a4184e SolarXR TrackerInfo cleanup 2026-08-05 17:24:18 -04:00
Butterscotch! d2c2aaf2ee Simplify IK test distance check 2026-08-05 13:20:31 -04:00
Butterscotch! 1a7c15f805 Simplify IK math 2026-08-05 13:11:30 -04:00
Butterscotch! ea348b65bb IK goal condition fix & basic unit test 2026-08-05 12:52:46 -04:00
loucass003 8a51cef017 Fix vmc / warudo reseting when not seeing changes. Move computed skeleton to a mutable shared flow instead of mutable state flow 2026-08-05 18:49:07 +02:00
loucass003 bbcfc99061 Driver status and enable 2026-08-05 18:02:57 +02:00
Erimel aa3ab3942a Update solarxr-protocol 2026-08-05 11:45:22 -04:00
loucass003 0c2b8947dd Overrides on hands in auto 2026-08-05 14:02:43 +02:00
loucass003 d18ad4f8e2 Group finger bones together in manual 2026-08-05 14:02:43 +02:00
Sapphire debdec761a Fix manual proportions part 2 electric boogaloo 2026-08-05 04:59:09 -05:00
Sapphire 25f74ad1b2 Fix manual proportions (sorta)
Something still seems wrong, reset all proportions doesn't work 100%
correctly - like if you set neck length to a high value then reset,
the neck is *extremely* small in the skeleton. The values in the config
seem fine though, and if you restart the server the skeleton then looks
fine. I also don't understand why this fixes proportions doubling when
you try to adjust them, but oh well...
2026-08-04 21:35:29 -05:00
Erimel 354c0084b6 Stay aligned solarxr 2026-08-04 20:38:53 -04:00
Erimel fad307237e Better tracker TPS 2026-08-04 19:02:40 -04:00
Erimel c1b416b41b Split tracker behaviours 2026-08-04 14:18:22 -04:00
Erimel a0de2555d2 Bone routing GUI fixes 2026-08-04 13:47:52 -04:00
loucass003 3aa621ffc1 Cleanned up VMC / VRCOSC code + Status for VMC 2026-08-04 19:27:05 +02:00
loucass003 02378c43b3 Set solarxr 2026-08-04 09:39:22 +02:00
loucass003 52b22e8a45 New bones routing to replace tracker outputs 2026-08-04 09:35:53 +02:00
Erimel f8aa2f8c68 Passable Stay Aligned code 2026-08-03 19:14:08 -04:00
Erimel d69585a2ad More more Stay Aligned wip 2026-08-03 17:44:09 -04:00
loucass003 262158db2f Flightlist -> Make HMD step visible only when invalid 2026-08-03 11:56:56 +02:00
Sapphire 0d413dc161 Remove references to synthetic trackers in GUI 2026-08-01 13:15:51 -05:00
Sapphire 42c081bd79 Handle TrackerStatus Protobuf messages 2026-08-01 12:57:15 -05:00
Sapphire 4b1460aa18 Explicitly set desktopName for Electron
electron-builder keeps complaining about this
2026-08-01 01:33:04 -05:00
Sapphire e2cb06fe2b Use temurin JDK distribution in CI 2026-08-01 01:18:03 -05:00
Sapphire 68429e1fb8 Update stale Java version checks and messages in GUI 2026-08-01 00:35:37 -05:00
Sapphire 6d8c5ea9ae Switch to static AppImage runtime 2026-08-01 00:32:54 -05:00
Sapphire 6a193e235d Revert re-addition of FHS by 9efc2b2b3c
Everything seems to work fine without it, including Windows cross-build
2026-08-01 00:07:27 -05:00
Sapphire f6b72b1ecf Always send output trackers config to SolarXR clients on change 2026-07-31 23:03:54 -05:00
Sapphire 9137482634 Fix TPS display at 0 TPS 2026-07-31 22:50:11 -05:00
Erimel dd70977b6f Fix automatic tracker toggle not cancelling on manual 2026-07-31 23:48:06 -04:00
Erimel 1721943d20 MotionDetector only for rotation, Tap checks for own motion 2026-07-31 19:14:27 -04:00
Erimel 036ffa0b55 More StayAligned wip 2026-07-31 18:03:32 -04:00
Erimel 0b1cb6ae7e Nice TrackerRestDetectionBehaviour :3 2026-07-31 15:45:41 -04:00
Erimel 179277d66e Accept sleeping for tracking checklist 2026-07-31 13:26:47 -04:00
Erimel 4028963105 Fix unit tests 2026-07-30 21:05:56 -04:00
Erimel ecc345bd71 spotlessApply 2026-07-30 20:50:03 -04:00
Erimel 9d3558cd2a StayAligned WIP 2026-07-30 20:37:40 -04:00
Sapphire 4bfb4287b6 fixup! Assign driver-created trackers to hinted body part by default 2026-07-30 19:31:35 -05:00
Sapphire cc64682d35 Assign driver-created trackers to hinted body part by default 2026-07-30 19:29:38 -05:00
Butterscotch! bde1c78bec Add Android SDK to Nix flake 2026-07-30 19:45:08 -04:00
Erimel 9b06eec608 Create side.kt 2026-07-30 18:34:27 -04:00
Erimel 1b7c333b81 Use SetRotation for non-imu trackers and position 2026-07-30 14:45:26 -04:00
Erimel 05e1222316 Don't spam warning logs as much 2026-07-30 13:45:24 -04:00
Erimel 82a5ab2974 Merge branch 'main' into server-rewrite 2026-07-30 13:09:34 -04:00
Erimel 96ff0b088a Remove stale CODEOWNERS entries 2026-07-30 13:09:29 -04:00
Erimel 9ec27d7b62 bodypart-sets.kt in object 2026-07-30 12:50:16 -04:00
Erimel 3391080226 Add Sleeping TrackerStatus 2026-07-30 12:06:30 -04:00
Erimel 21d61a47b0 Clean up translations 2026-07-30 11:50:49 -04:00
Erimel 6d2c701409 Accept TIMED_OUT for tracking (needed for HID) 2026-07-29 18:45:58 -04:00
Erimel ad04ed9244 Reuse TestServer buildTestTracker in YawResetSmoothingTest 2026-07-29 18:20:43 -04:00
Sapphire 992479a4c2 bump solarxr-protocol 2026-07-29 16:35:51 -05:00
Erimel 3aa5616f2c yaw reset smoothing running on skeleton tick 2026-07-29 17:12:49 -04:00
Erimel c7a7eedc2a Fix defaultMountingForBodyPart 2026-07-29 15:05:31 -04:00
Sapphire d16a30ca17 Fix Android 2026-07-29 12:45:21 -05:00
Sapphire c23fa703a1 Fix bindings provider build again 2026-07-29 12:26:42 -05:00
Eiren Rain d7205bb294 Update CONTRIBUTING.md 2026-07-29 14:28:44 +03:00
loucass003 f535007ee0 Prevent full reset from clearing mounting status 2026-07-29 07:58:32 +02:00
loucass003 f9a6e6afee Yaw reset smoothing + tests 2026-07-29 06:21:29 +02:00
loucass003 1290b8f930 Better flightlist checks / fix edge cases 2026-07-29 04:35:22 +02:00
loucass003 5d0e6011dc Fix mounting reset not clearing the step 2026-07-29 04:20:08 +02:00
loucass003 05e8faeb34 Flightlist steps + unit tests 2026-07-29 04:02:25 +02:00
Erimel 6562d41721 Calculate frametimes for skeleton and make smoothing truly independant 2026-07-28 20:54:48 -04:00
Erimel 5d7cd5dfaf use cool TimeSource instead of System.nanoTime 2026-07-28 18:17:17 -04:00
Aed 484a65c1b2 Allow the user to input into auto height proportions box (#1887) 2026-07-28 21:48:47 +02:00
Sapphire ab7c143f19 Merge remote-tracking branch 'origin/main' into server-rewrite 2026-07-28 14:31:21 -05:00
Sapphire 59a76aa898 fixup! Use JDK 25 2026-07-28 13:36:59 -05:00
Sapphire 0105b4813c Use JDK 25 2026-07-27 22:14:27 -05:00
Butterscotch! 20afbdb71b Messy ccdIk loop 2026-07-27 22:33:33 -04:00
Butterscotch! 6f537ab170 Add missing restRotation variable to test comment 2026-07-27 21:44:21 -04:00
Butterscotch! c158ed821c Add referenceRotation to session calibration test 2026-07-27 21:43:06 -04:00
Erimel 8762da715d Fix upper legs bad behaviour BoneYawRollAlignProcessor 2026-07-27 20:11:32 -04:00
Erimel 10c8088c85 Reset reference orientation fixes 2026-07-27 19:46:54 -04:00
Erimel 952bdd7884 Skeleton hz and driver fixes 2026-07-27 19:43:21 -04:00
Erimel 40d214b6b3 Optimise fallbackprocessor, 200hz skeleton w/ smoothing 2026-07-27 17:04:17 -04:00
lucas lelievre 5da53fcfe2 spotless 2026-07-25 22:53:15 +02:00
lucas lelievre e0b06f1598 Speed part 4 2026-07-25 22:52:08 +02:00
lucas lelievre a238211c93 Speed part 3 2026-07-25 21:23:25 +02:00
lucas lelievre 51342dd338 Speed part 2 2026-07-25 17:20:45 +02:00
lucas lelievre e207abbc31 Speeeeeeeeed 2026-07-25 17:17:08 +02:00
lucas lelievre b0232ae783 Optimise HID loop 2026-07-25 08:25:49 +02:00
lucas lelievre 6b54329dd2 Better logs / Logs to file and log rotation 2026-07-25 07:22:20 +02:00
Erimel 4e1e53ee0a Move around reset settings in GUI and add titles 2026-07-24 19:16:02 -04:00
Erimel 540c291ccb Driver fixes including head data 2026-07-24 18:20:43 -04:00
Erimel dd7d7d0bd0 Make manual mounting work + ClearMountingReset 2026-07-24 17:10:37 -04:00
lucas lelievre c9732f7e46 Fix tests 2026-07-24 23:03:55 +02:00
lucas lelievre 4c0b187306 Remove safeLaunch + Fix driver 2026-07-24 22:15:45 +02:00
Erimel c850f18403 Rework rest orientation 2026-07-23 20:46:40 -04:00
lucas lelievre 05fbf64ac3 Better event-dispatcher with liteners that die with scope 2026-07-23 22:04:49 +02:00
Erimel 8e19542c82 ArmsResetMode 2026-07-23 17:14:38 -04:00
Erimel 0aa3b9966e Save mountingResetOrientation 2026-07-22 19:49:04 -04:00
Erimel d96af009d9 Optimize skeleton processors and rid order assumption 2026-07-22 18:58:25 -04:00
Erimel 0736d60c75 Send both rotation and orientation solarxr 2026-07-22 18:28:29 -04:00
Erimel bd126ec099 Rotation polarity tracking 2026-07-22 14:10:10 -04:00
loucass003 86433dfb3d Dont forget to set feature flags for android 2026-07-22 02:12:27 +02:00
loucass003 627600a2e0 Improved keybinds 2026-07-22 02:07:43 +02:00
Erimel 609a8d9dc6 BonePriorityLinkProcessor -> BoneActiveLinkProcessor 2026-07-21 18:11:30 -04:00
Erimel 2f5a9fb089 BoneYawRollAlignProcessor 2026-07-21 17:56:47 -04:00
Erimel 2ab148aad2 Rename a bunch of files to add - separators 2026-07-21 17:07:13 -04:00
Erimel 44d9c68f78 Move processors into their own package 2026-07-21 16:33:52 -04:00
Erimel 56fcfe15bf Finish ImputeSpineProcessor 2026-07-21 16:27:31 -04:00
Erimel 74ee1bb580 Impute spine WIP 2026-07-20 19:25:18 -04:00
Erimel d0c2a27288 Extract ImputeFingersProcessor from BoneLinkProcessor 2026-07-20 17:09:23 -04:00
Erimel 7d213de97c Split FallbackProcessor in 2 2026-07-20 16:44:30 -04:00
loucass003 0e6e2d7de1 Keybinds properly working / rebindin 2026-07-20 20:50:28 +02:00
loucass003 9332ff8e02 Keybinds 2026-07-20 19:52:47 +02:00
Sapphire 953ef93945 Fix order of tap detection tracker settings (#1893) 2026-07-20 18:18:30 +02:00
Butterscotch! 5c4c64e629 Add missing quaternion unitization to CCD IK 2026-07-20 06:20:09 -04:00
Butterscotch! f986f507ae Rename RawBone to BoneInput 2026-07-20 05:56:40 -04:00
Butterscotch! b9776ab898 Start constraint implementation 2026-07-20 05:56:40 -04:00
Butterscotch! 577036eb9c Start CCD IK implementation 2026-07-20 05:56:40 -04:00
Erimel 5da133cffc Fallback skeleton processor 2026-07-17 21:54:50 -04:00
Erimel a6020ae4df Handle driver tracker mapping more generously 2026-07-17 18:43:14 -04:00
Erimel 01362ca2de Keep SetStatus separate for debug 2026-07-17 17:32:54 -04:00
Erimel e4014679e0 Use UPPER_CHEST instead of CHEST for chest output 2026-07-17 16:45:49 -04:00
Erimel 7433048d52 Fix null fallbacks when receiving from SolarXR
false will be null, but also 0 and the first value of an enum
2026-07-17 15:34:58 -04:00
Erimel bf6d8eb50d Fix trackerassignment and add default mountingOrientation 2026-07-17 15:33:53 -04:00
Erimel 349666b8cd SpotlessApply 2026-07-17 14:51:21 -04:00
Erimel a1c4de8152 Fix filtering type switching 2026-07-17 13:41:01 -04:00
Erimel 7d46e903fe Brainstorming skeleton processors 2026-07-16 20:18:34 -04:00
Erimel ff514faf73 Use trackerRole as protocol serial 2026-07-16 18:22:53 -04:00
Erimel 35175565d3 Add TapDetection tests 2026-07-16 16:21:07 -04:00
Erimel 527f5e0d99 Tests fix warnings 2026-07-16 16:01:19 -04:00
Erimel 8c504bbac0 Add OutputTrackerToggle tests 2026-07-15 18:54:04 -04:00
Erimel 12a5208e73 Nicer syntax 2026-07-15 15:56:16 -04:00
loucass003 47bd59b475 Make proper check for canDoHeightCalibration 2026-07-15 12:33:25 +02:00
loucass003 bb94364830 Fix packet out of order error bc of heartbeat sending packet num 0 2026-07-15 12:18:34 +02:00
loucass003 51fda0ad7f Fix wifi provisioning 2026-07-15 11:54:50 +02:00
loucass003 3452e2b000 Fix Datafeed tests 2026-07-15 10:58:12 +02:00
loucass003 dbe0acd9fa Pause Tracking 2026-07-15 10:17:43 +02:00
loucass003 f7c821f316 Better output trackers 2026-07-15 02:00:40 +02:00
Erimel fc7316cb4b Get rid of unused offsets and fix setting height 2026-07-14 19:03:24 -04:00
Erimel 68545e52f7 Fix reset guards 2026-07-14 16:57:04 -04:00
Erimel abec5ea4b9 update solarxr 2026-07-14 16:47:53 -04:00
Erimel 20be49e4b0 Use OutputTrackerToggle for VRCOSC trackers 2026-07-14 16:16:45 -04:00
Erimel 6378eb30cd OutputTrackerToggle 2026-07-14 15:53:31 -04:00
Erimel 8c49a7dcc2 Skeleton Settings communication 2026-07-13 17:08:14 -04:00
loucass003 90706ac9cb Fix eslint 2026-07-13 23:05:12 +02:00
Erimel 6d6492c124 Add missing config and update solarxr 2026-07-13 16:30:26 -04:00
Erimel 4add1655ff Remove extra name argument in VMCSettings 2026-07-13 16:27:05 -04:00
Erimel deb0f1a1b2 Fix h2 in h1 2026-07-13 16:25:29 -04:00
Erimel b379ebc34e Also fix VRCOSC 2026-07-10 19:18:02 -04:00
Erimel 0278968e94 Fix VMC/VRM solarxr communication 2026-07-10 19:04:25 -04:00
loucass003 d99a0a77a3 Just placeholder of the brainstorming for IK 2026-07-09 03:32:40 +02:00
Erimel 588c8d9cc3 Update CONTRIBUTING.md 2026-07-08 19:15:48 -04:00
Butterscotch! e6e15a8ff2 Calculate center of mass & clean up velocity state 2026-07-08 14:32:41 -04:00
Butterscotch! 5f909831a7 Add acceleration calibration unit test 2026-07-07 05:21:25 -04:00
Butterscotch! fdfbc35c53 Fix unit test compiler errors 2026-07-07 03:29:03 -04:00
Sapphire 006d8bb1e2 actually fix Android lol 2026-07-06 20:27:40 -05:00
Sapphire 0ff1bc9264 Fix Android 2026-07-06 04:37:22 -05:00
Sapphire 960647c691 Fix bindings provider build after solarxr rework 2026-07-06 03:58:11 -05:00
Sapphire 1ec08024e7 Log where we're creating IPC sockets on Linux 2026-07-06 03:54:06 -05:00
Sapphire 8b7ce00d92 Log found path of bindings provider 2026-07-06 03:53:54 -05:00
Sapphire f0667dc74c Spotless 2026-07-06 03:53:43 -05:00
Sapphire 4607616270 Port #1825
See: <https://github.com/SlimeVR/SlimeVR-Server/pull/1825>
2026-07-06 03:52:41 -05:00
Erimel 2fc891d9f9 VRCOSC use_manual_network bool 2026-07-03 23:06:09 -04:00
Erimel 3da6efbdc0 Tap detection over threshold shared 2026-07-03 21:33:38 -04:00
Erimel 3afd7375c2 Rewrite TapDetection into its own module 2026-07-03 21:14:06 -04:00
Erimel a894b49921 spotless 2026-07-02 21:58:53 -04:00
Erimel 0c1ef06e3f Move configs out of states 2026-07-02 21:57:46 -04:00
loucass003 b7f87ab1f1 Remove useless comments 2026-07-03 02:26:38 +02:00
loucass003 9efc2b2b3c Rework electron build pipeline 2026-07-03 02:19:06 +02:00
Erimel 853db3fd0f TapDetectionSetupModeRequest missing [] 2026-07-02 19:21:21 -04:00
Erimel 396a049809 Small GUI fixups 2026-07-02 18:39:12 -04:00
Erimel 4ea067731b UserHeight/SkeletonHeight 2026-07-02 18:28:48 -04:00
Erimel 67e5880739 Fix steamvr -> output scrollTo 2026-07-02 17:31:13 -04:00
Erimel d9edf9fb69 lint & format 2026-07-01 23:09:52 -04:00
Erimel ed211a97a6 Improving settings layout 2026-07-01 23:01:56 -04:00
Erimel 9961cb4114 Migrating the GUI for solarxr rewrite 2nd pass 2026-07-01 20:51:49 -04:00
Erimel 33d54b2609 Fall back to config for solarxr null fields 2026-07-01 02:30:00 -04:00
Erimel d256506a1a ArmsResetMode 2026-07-01 02:30:00 -04:00
Erimel 068a7a85a6 Nuke pub sub 2026-07-01 02:30:00 -04:00
Erimel 234dabe23e Make server work for solarxr rewrite 2nd pass 2026-07-01 02:30:00 -04:00
Erimel c87b7ff003 Update solarxr-protocol 2026-07-01 02:29:59 -04:00
Butterscotch! a2c4c0fb4f WIP leg tweaks 2026-06-24 22:49:07 -04:00
Erimel 8358ca14a8 Update packaging instructions 2026-06-23 16:38:55 -04:00
Erimel 67fbf0faca Improving GUI settings layout 2026-06-23 00:28:50 -04:00
Sapphire ce762ba242 Spotless 2026-06-22 19:41:11 -05:00
Sapphire 70eda4f70c Read mag vector from HID and send to the GUI 2026-06-22 19:41:00 -05:00
Erimel cdc0e21913 Update for SolarXR rewrite
Big commit but I figured a single commit would be easier for conflicts
2026-06-22 18:01:12 -04:00
Sapphire 6575a11da7 Merge branch 'main' into server-rewrite 2026-06-22 15:59:48 -05:00
Sapphire 9edc747344 Whitelist HID devices for serial access, send serial device type to GUI 2026-06-22 15:50:25 -05:00
Ilia Ki 5e3395afb0 Fix dongle reconnection bug (#1872) 2026-06-22 18:33:27 +02:00
Sapphire cdde0b762f Get rid of grgit (#1878) 2026-06-22 14:07:05 +02:00
Sapphire 71895dec63 same thing but for vite lol
(cherry picked from commit 6d0c350208)
2026-06-22 06:43:25 -05:00
Sapphire fc6304d7ee Fix magnetometer status not changing when restarting HID tracker (#1863) 2026-06-22 13:13:56 +02:00
Sapphire 563933fa90 Add extra SteamVR driver sanity checks + Standable step to flightlist (#1825) 2026-06-22 13:06:08 +02:00
Sapphire 90956a6a02 Add support for smol receiver and tracker in serial console (#1868) 2026-06-22 13:04:16 +02:00
Sapphire 3a0dc4b922 Fix various GUI warnings, and run eslint+prettier on Electron code (#1834) 2026-06-22 12:57:53 +02:00
海雀 064e22dc1a Fix settings scroll target positioning (#1829) 2026-06-22 12:57:26 +02:00
Sapphire 11669d40b8 Explicitly set abbrev for git describe
(cherry picked from commit c9d00e2a30)
2026-06-21 18:11:39 -05:00
Sapphire 0bbe35b5d1 Upgrade Gradle and AGP 2026-06-21 16:38:55 -05:00
Sapphire 0530cebf92 Get rid of grgit
(cherry picked from commit 31af38e663)
2026-06-21 13:32:03 -05:00
Sapphire d0b361a821 Merge branch 'main' into server-rewrite 2026-06-21 12:18:55 -05:00
Sapphire 7c6151fbe5 bindings-provider: Fix app key changing under certain circumstances (#1864) 2026-06-21 05:29:05 +02:00
Sapphire c8c57b1511 Fix disconnected UDP tracker sensors being marked as OK on reconnect (#1866) 2026-06-21 05:28:39 +02:00
Sapphire 5b45d26c2d Get rid of hostName checks when refreshing VRCOSC settings (#1867) 2026-06-21 05:27:37 +02:00
Stephen Smith 2b82638961 Tolerate dragging during button presses for easier VR controller usage (disable link dragging on buttons) closes #1873 (#1875) 2026-06-21 05:26:28 +02:00
Sapphire 8df1e3dc4c Bump electron-builder to 26.15.0, improve Nix flake (#1876) 2026-06-21 05:26:09 +02:00
Sapphire a45925bc36 Fix GUI on Android/non-Electron (#1877) 2026-06-21 05:25:50 +02:00
Erimel 22999975ad Resets settings + delay from GUI 2026-06-19 19:35:23 -04:00
Erimel 98ccc7c667 Use sensible min and max for smoothing 2026-06-19 17:47:24 -04:00
Sapphire 0723625272 Fix test build 2026-06-19 05:27:21 -05:00
Sapphire 4686e915b7 Remove unused launch import 2026-06-19 05:18:25 -05:00
Sapphire d1b1195213 Run spotless 2026-06-19 05:11:08 -05:00
Sapphire f202f96246 Run lint on GUI 2026-06-19 05:10:00 -05:00
Sapphire aa0d2e86a5 Get rid of some stray files left behind by merge 2026-06-19 05:01:55 -05:00
Sapphire dc2b47a7dc Don't catch CancellationException in ComputedSkeletonBehaviour 2026-06-19 05:00:37 -05:00
Sapphire 47638cc9d5 Fix GUI on Android/non-Electron
Fixes: a1e0cd52d2
(cherry picked from commit 257dfffc53)
2026-06-19 04:40:53 -05:00
Sapphire 0757935d60 Fix Android compilation 2026-06-19 04:14:02 -05:00
Sapphire 066a73c0c2 Fix up GUI after merge(s) 2026-06-19 04:07:35 -05:00
Sapphire dd198d2205 Port #1859
See: https://github.com/SlimeVR/SlimeVR-Server/pull/1859
2026-06-19 03:54:43 -05:00
Sapphire d7bdeaa48a Port #1785
See: https://github.com/SlimeVR/SlimeVR-Server/pull/1785
2026-06-19 02:55:18 -05:00
Sapphire 5681c351c5 Switch to JDK 24 in CI 2026-06-19 02:29:33 -05:00
Sapphire 28bedc12f1 Sync .gitmodules with main
oopsies!
2026-06-19 02:26:51 -05:00
Sapphire a69c10d733 Fix socket getting placed in XDG_CONFIG_HOME on Steam
See: https://github.com/SlimeVR/SlimeVR-Server/pull/1846
2026-06-19 02:24:53 -05:00
Sapphire c0cf2af9be Remove feeder from Steam install code 2026-06-19 02:13:55 -05:00
Sapphire 71391e7f5a Sync .github and bindings-provider with main 2026-06-19 02:08:45 -05:00
Sapphire 33d84f19f1 Fix HID in flake devshell 2026-06-18 21:17:07 -05:00
Sapphire 2996858770 Fix JAVA_HOME to make IntelliJ happy 2026-06-18 21:16:40 -05:00
Sapphire 1e92eafdad Bump electron-builder to 26.15.0, improve Nix flake 2026-06-18 21:15:39 -05:00
Sapphire 150c0640cf Sync flake with main 2026-06-18 21:13:44 -05:00
Erimel 25a066da30 Remove unneeded data from tracker reset actions 2026-06-18 20:13:50 -04:00
Erimel 8c78f1c371 Finish ResetsManager logic 2026-06-18 19:45:06 -04:00
Erimel 2cf6c0b97c Refactor TapDetection flow 2026-06-17 22:28:31 -04:00
Erimel 710088e513 ResetManager wip + refactoring TapReset 2026-06-17 21:48:33 -04:00
Erimel 91011120f0 Refactor TapDetector and tap to assign 2026-06-17 19:55:14 -04:00
loucass003 837316ba8d Sync solarxr again 2026-06-18 01:29:54 +02:00
loucass003 d9338dc863 Sync solarxr 2026-06-18 01:24:57 +02:00
loucass003 1763fe9ceb Sync gui, pnpm and labels from main 2026-06-18 01:00:13 +02:00
loucass003 f6d662ab71 Sync main into server-rewrite 2026-06-18 00:44:28 +02:00
Erimel 791ae07fe2 TrackerAssignment missing parameter and VRCOSC main 2026-06-17 17:59:55 -04:00
Erimel fe3bee2417 Mute ConvertLongToDuration warning 2026-06-17 16:55:33 -04:00
Erimel 431774be16 tap setupMode wip 2026-06-17 16:48:17 -04:00
Erimel 2f5b2eaa94 Move VMCConfig + TapDetection solarxr 2026-06-16 23:12:24 -04:00
Erimel 0755413b87 Finish TapDetection logic with config 2026-06-16 20:12:14 -04:00
Erimel cf46ca9f9f Don't localize ports in GUI OSC 2026-06-15 19:37:38 -04:00
Butterscotch! ba5660be33 Hardcode enable ServerGuards 2026-06-15 19:01:45 -04:00
Butterscotch! 40bb3d1cbe Remove reset else branch 2026-06-15 17:49:14 -04:00
Erimel e85bb26537 portObj -> port 2026-06-15 17:48:58 -04:00
loucass003 10df44ee2b Fix flashing error 2026-06-15 20:22:47 +02:00
Butterscotch! 2559cdf9bc Handle "null" yaw reset 2026-06-13 00:22:18 -04:00
Butterscotch! fe2a7bf442 Fix UDP tracker rotation 2026-06-12 23:29:40 -04:00
Butterscotch! 1d554334cc Update tracker datafeed 2026-06-12 23:19:41 -04:00
Butterscotch! a75a1ad195 Fix bodyParts condition 2026-06-12 23:19:29 -04:00
Butterscotch! a4aa76aa82 Add session calibrations to SolarXR 2026-06-12 22:19:58 -04:00
lucas lelievre 9835222762 Delete .github/workflows/label.yml 2026-06-12 15:47:56 +02:00
Sapphire 69068bbf17 Set skipCheckUdev feature flag to true by default (#1870) 2026-06-10 23:34:58 +02:00
Butterscotch! c43b44ccc8 Add mounting reset 2026-06-02 03:05:52 -04:00
loucass003 5f3b1fd0a5 Make tests work 2026-05-30 08:12:33 +02:00
loucass003 facce888a0 Slightly better context 2026-05-30 03:29:02 +02:00
loucass003 0c0aac0415 More cleanup / consistency changes 2026-05-30 03:22:41 +02:00
loucass003 1ebd8a4f02 Code cleanup 2026-05-30 02:29:31 +02:00
loucass003 95b64883f6 Fix HID not workey 2026-05-29 21:23:43 +02:00
loucass003 861a9fbf12 Android basics (not tested) 2026-05-29 17:09:49 +02:00
lucas lelievre ba02688a82 Delete .github/labeler.yml 2026-05-28 18:09:55 +02:00
Butterscotch! d6e6926d44 Add "reset" tracker actions 2026-05-28 11:18:11 -04:00
Butterscotch! 16d2e0b46b Apply session calibration to tracker 2026-05-28 10:48:07 -04:00
loucass003 83f48a7eba safeLaunch forgotten 2026-05-28 15:28:15 +02:00
Sapphire 65bdf2fffb Add origin field to Device, fix automatic tracker toggling with VIVEs (#1847) 2026-05-28 09:50:20 +02:00
Sapphire 13ee32c903 Automatic driver installation fixes (#1859) 2026-05-28 09:49:33 +02:00
Sapphire 9748bd77c2 Remove unnecessary websocket reconnect when toggling fast data feed (#1860) 2026-05-28 09:48:08 +02:00
Sapphire d7a286863f Use callback instead of polling for network profile checker (#1861) 2026-05-28 09:47:26 +02:00
Hannahandloucass003 a1e0cd52d2 Hannah/sentry cleanup (#1862)
Co-authored-by: loucass003 <[email protected]>
2026-05-28 09:47:05 +02:00
Butterscotch! 24da10715f Make safeLaunch inherit CoroutineScope's handler 2026-05-27 23:41:46 -04:00
Butterscotch! 559c076b26 Fix OSCQuery unit test 2026-05-27 23:40:52 -04:00
loucass003 67ae02a1b0 HID battery runtime 2026-05-26 15:44:30 +02:00
loucass003 e1802987ca Port https://github.com/SlimeVR/SlimeVR-Server/pull/1763 2026-05-26 14:24:39 +02:00
loucass003 3f7580ac1a Port https://github.com/SlimeVR/SlimeVR-Server/pull/1761 2026-05-26 13:43:34 +02:00
loucass003 11783de08b Port https://github.com/SlimeVR/SlimeVR-Server/pull/1760 2026-05-26 13:21:36 +02:00
loucass003 256574dc2c Sync solarxr + apply back https://github.com/SlimeVR/SlimeVR-Server/pull/1792 2026-05-26 13:02:53 +02:00
gorbit99 d1a39dba05 Add handling for Packet 23 (#1855) 2026-05-25 11:32:14 +02:00
loucass003 5a4ba1f73b Fix address resolvig / avoid dns lookup 2026-05-25 03:56:56 +02:00
Sapphire feb3eae3d3 oops 2026-05-23 17:21:59 -05:00
Sapphire bdde772c5c Send names of the public network adapters in checklist step 2026-05-22 22:41:41 -05:00
Sapphire c208b7cda2 Spotless 2026-05-22 22:27:07 -05:00
Sapphire c10d536a6c Prevent network profile checker callback from being GC'd 2026-05-22 22:26:54 -05:00
Sapphire cef72ee9ae Fix network profile checker callback param types 2026-05-22 22:09:23 -05:00
Butterscotch! 6dbe872958 Fix session calibration math 2026-05-20 01:32:41 -04:00
Butterscotch! f390347b56 Shorten variable names for SessionCalibrationTest 2026-05-19 21:55:55 -04:00
Butterscotch! 22cb14bb21 SessionCalibration type aliases 2026-05-19 21:39:47 -04:00
Butterscotch! cc387a6c02 Rename "acceleration" to "rawAcceleration" 2026-05-19 20:59:29 -04:00
Sapphire 61687a27ca Fix tracker battery display when UDP tracker only sends level (#1850) 2026-05-19 15:43:46 +02:00
Sapphire d86d3be421 Make sure bridge threads properly handle interrupts and cleanup (#1849) 2026-05-19 15:43:02 +02:00
Butterscotch! 412e182079 Add calibration estimation functions 2026-05-19 03:30:11 -04:00
Eiren Rain 6f9ddf13d9 New Pontoon translations (#1795) 2026-05-19 00:25:53 +03:00
SlimeVR-botandinex 4bc9e50c44 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-Authored-By: inex <[email protected]>
2026-05-18 23:25:19 +02:00
SlimeVR-botandnekomona 951ac73e29 Pontoon/GUI: Update Simplified Chinese (zh-Hans)
Co-authored-by: nekomona <[email protected]> (zh-Hans)
2026-05-18 23:25:19 +02:00
SlimeVR-bot 72c9cee3cc Pontoon/GUI: Update 28 localizations 2026-05-18 23:25:18 +02:00
SlimeVR-botandTluxxa 290aec3c21 Pontoon/GUI: Update Turkish (tr)
Co-Authored-By: Tluxxa <[email protected]>
2026-05-18 23:24:25 +02:00
52fd7d9a81 Pontoon/GUI: Update Latinamerican Spanish (es-419)
Co-authored-by: MaxEvil <[email protected]> (es-419)
Co-authored-by: Alejandro <[email protected]> (es-419)

Pontoon/GUI: Update Latinamerican Spanish (es-419)

Co-authored-by: MaxEvil <[email protected]> (es-419)

Pontoon/GUI: Update Latinamerican Spanish (es-419)

Co-authored-by: MaxEvil <[email protected]> (es-419)

Pontoon/GUI: Update Latinamerican Spanish (es-419)

Co-authored-by: MaxEvil <[email protected]> (es-419)

Pontoon/GUI: Update 28 localizations
2026-05-18 23:24:25 +02:00
lucas lelievre bf2203ff2c Fix onboarding start / end sequence (#1848) 2026-05-18 22:12:23 +02:00
Sapphire 695d7b7bf8 Fix socket getting placed in XDG_CONFIG_HOME instead of data home (#1846) 2026-05-18 21:55:18 +02:00
Sapphire 118252534f Remove some leftover log messages (#1844) 2026-05-18 18:38:41 +02:00
Butterscotch! 7b80cb926d Add session calibration functions & tests 2026-05-16 16:36:37 -04:00
Butterscotch! 22d1126c66 Add quaternion test utility functions 2026-05-16 16:35:54 -04:00
Butterscotch! 3574130207 Use offsets for bones 2026-05-11 22:54:58 -04:00
loucass003 c5eda4b818 Rework trackers init to have access to appContext 2026-05-12 04:54:05 +02:00
Sapphire cc68e0e750 Fix typo in default manufacturer name for SteamVR devices 2026-05-11 17:42:50 -05:00
Sapphire 36f2398190 Fix tracker state on SteamVR restart, only hold onto ID in AddTracker 2026-05-11 17:42:15 -05:00
Sapphire ddae53ab42 Only store tracker index in driver bridge 2026-05-11 15:53:21 -05:00
loucass003 57c39c78b0 No more silent launch failures 2026-05-11 22:32:17 +02:00
Sapphire c71bb3e9c4 Use position from SteamVR 2026-05-11 14:06:08 -05:00
Sapphire 2f6cb0ab0d Make VRChat config warnings checklist step ignorable 2026-05-11 13:50:22 -05:00
Sapphire 47a706792b Use device name and manufacturer from SteamVR 2026-05-11 13:48:05 -05:00
Sapphire 7645ff6752 Don't set sensorType for devices from SteamVR 2026-05-11 13:33:00 -05:00
Sapphire a86a6fb2f0 Make device battery info null by default 2026-05-11 13:31:51 -05:00
Sapphire 945796dade Use battery info from SteamVR driver 2026-05-11 13:28:59 -05:00
Sapphire f59e5aa869 Catch exceptions when reading from Unix sockets 2026-05-11 13:05:52 -05:00
Sapphire 96998a644f Merge driver and feeder bridge 2026-05-11 13:05:51 -05:00
loucass003 f2b540d0bd Solve regressions with KMP 2026-05-11 13:13:57 +02:00
loucass003 d8041833f1 Add a note about behaviour list for later 2026-05-11 02:48:17 +02:00
loucass003 b3e61a5482 Bring back debug env var 2026-05-11 02:39:02 +02:00
loucass003 f3de32a7cb Moved as much as possible to KMP 2026-05-11 02:21:57 +02:00
loucass003 abc5c7b38c solarxr upgrade 2026-05-11 00:41:28 +02:00
loucass003 0907fe50db Opencode skills sucks. Bye bye 2026-05-10 18:43:56 +02:00
Sapphire 4b7af0bbed Start bindings provider automatically 2026-05-09 14:38:07 -05:00
loucass003 5cab8bd7a4 Spotless 2026-05-09 21:27:02 +02:00
loucass003 c0c5e14e90 Lint and fix flake 2026-05-09 21:13:14 +02:00
loucass003 c73d5100e8 Sync solarxr 2026-05-09 20:56:38 +02:00
Sapphire ec66f296b3 Show version number when hovering over Discord activity icon (#1839) 2026-05-09 18:30:36 +02:00
Seneral 13694f5f20 Fixes to GUI Settings and general workflow (#1840) 2026-05-09 18:30:05 +02:00
loucass003 6d625d1d25 VRC OSC gui changes and reorganisation of code 2026-05-09 16:40:36 +02:00
loucass003 9d3afda739 Current vrcosc progress 2026-05-09 16:24:04 +02:00
Butterscotch! d492061c0a Rename & cleanup proportions 2026-05-08 23:07:07 -04:00
lucas lelievre ab779670f1 Remove failed merge of Quiz in FWTool (#1836) 2026-05-07 22:32:48 +02:00
Sapphire 11ed1c7c80 Fix URL whitelist regex (#1838) 2026-05-07 22:32:34 +02:00
loucass003 e657d97480 Hip anchor + mirroring + better vrm loading 2026-05-07 21:41:03 +02:00
lucas lelievre 85c10dbf3c Remove eiren from codeowners (#1837) 2026-05-07 12:46:03 +03:00
loucass003 4446b8d689 VRM model loading + VMC settings in solarxr 2026-05-07 10:15:26 +02:00
loucass003 6c7d6add67 Fix flake 2026-05-06 14:26:45 +02:00
Butterscotch! 3ae788e8af Fix val order 2026-05-06 05:04:43 -04:00
Butterscotch! 7ddb3e74e6 More dynamic body proportions 2026-05-06 04:57:00 -04:00
Butterscotch! 6fe10bf71d Spotless format 2026-05-06 04:43:20 -04:00
loucass003 3749b77c75 Diable VMC by default 2026-05-05 17:40:25 +02:00
loucass003 ae4402b5b5 VMC basics, no solarxr, need VMC space coordinates to be fixed 2026-05-05 17:38:24 +02:00
loucass003 170c688db8 Basic osc parser 2026-05-05 08:04:25 +02:00
loucass003 be34dc981c Better context management for dispose (allow for unit tests to work) + OSC basics + formating 2026-05-05 07:35:27 +02:00
loucass003 6087178ecf Better debug middleware init 2026-05-05 04:29:31 +02:00
loucass003 04a26ec539 Remove io for now. for consistency 2026-05-05 04:16:11 +02:00
loucass003 3095ce4867 Network profile detection basics (untested) 2026-05-05 04:15:22 +02:00
Sapphire 1434027aec Retain VRMv0 extension in vrmJson (#1831) 2026-05-04 15:26:50 +02:00
Sapphire 3b34d5cf96 Restore old behaviour of maximize button toggling fullscreen (#1832) 2026-05-04 15:25:16 +02:00
Sapphire aa48b025c7 Fix discord RPC connection repeatedly being disconnected and reconnected (#1833) 2026-05-04 15:24:46 +02:00
M1DNYT3 065e774309 Add Velocity calculation logic and GUI toggle (end-to-end MVP). (#1753) 2026-05-04 15:04:53 +02:00
Sapphire dfedf99b33 Mark onboarding as done in onboardingEnded (#1830) 2026-05-04 02:03:48 +02:00
Sapphire 91e555256d TapDetection: Clean up isUserStatic (#1828) 2026-05-03 14:23:33 +02:00
Aed 1b05b7da8a Tap Reset Tracker Selection (#1811) 2026-05-03 14:12:52 +02:00
loucass003 b336897bfe RawBone 2026-05-01 07:33:28 +02:00
loucass003 14e77b6af3 Basic bvh 2026-04-29 22:30:37 +02:00
loucass003 cdd47d8b74 Tracker allowlist 2026-04-29 11:06:17 +02:00
loucass003 448f0754ad Remove extra import 2026-04-29 08:26:14 +02:00
loucass003 834111c769 Basic AI Agent stuff as test 2026-04-29 08:13:29 +02:00
loucass003 a21e769d97 Context dispose / proper scope definition and naming 2026-04-29 07:17:52 +02:00
Sapphire 25ba150e51 Bindings provider bug fixes + reformat (#1823) 2026-04-27 00:06:35 +02:00
loucass003 791a358893 Move back hid packet parsing to core. it will be needed for android 2026-04-22 03:57:59 +02:00
loucass003 428f2ba774 Fix battery value HID 2026-04-22 03:53:29 +02:00
loucass003 951b96d548 Fix tracker status HID 2026-04-22 03:31:41 +02:00
loucass003 09724f1fa3 Packet loss (untested on hid) 2026-04-22 03:15:53 +02:00
Hannah 789ba55af5 Bugfix for launch args (#1821) 2026-04-21 21:16:58 +02:00
Hannah 986f8fcbb2 Fix server startup command (#1820) 2026-04-21 20:08:23 +02:00
Sapphire 3288069ae5 Deactivate feeder bridge when using new driver, add bindings provider (#1806) 2026-04-21 19:12:05 +02:00
loucass003 3336f6dff1 Consistency 2026-04-21 06:49:08 +02:00
loucass003 943d51dbdc Debug tools + Spotless 2026-04-21 06:46:16 +02:00
loucass003 fa3ebf4eb1 Cleaner actions for common dispatch 2026-04-21 05:07:05 +02:00
loucass003 aa505d041b Working mag. That was awfull 2026-04-21 01:31:24 +02:00
Ilia Ki 15ff70dda2 Reduce allowed list of Gestures PIDs (#1818) 2026-04-20 19:19:14 +02:00
lucas lelievre f6833ecb85 fix videos (#1819) 2026-04-20 19:18:37 +02:00
Sapphire 638bce86e6 v20.0-rc.1 fixes (#1816) 2026-04-20 15:04:50 +02:00
gale be77ff73d7 Allow passing excess CLI arguments to Electron (#1817) 2026-04-18 19:22:01 +02:00
Sapphire d79d93cd0e Don't trigger submit when receiving settings from server (#1815) 2026-04-17 21:24:09 +02:00
lucas lelievre c022a557ed Electon - Config loading fixing (#1814) 2026-04-17 20:59:47 +02:00
loucass003 1799483f26 Revert "Electon - Config loading fixing"
This reverts commit 52491f2c2b.
2026-04-17 20:20:17 +02:00
loucass003 52491f2c2b Electon - Config loading fixing 2026-04-17 20:19:01 +02:00
loucass003 b7cd179cc6 Progress on mag crap 2026-04-17 19:06:05 +02:00
Ilia Kiandsctanf 60077307d5 Introduce VID/PID allow lists (#1792)
Co-authored-by: sctanf <[email protected]>
2026-04-16 19:07:46 +02:00
Butterscotch! 65d4520c10 Rework VRChat OSC address/port handling (#1701) 2026-04-16 19:06:10 +02:00
Butterscotch! 0d3254bc27 Fix BVH hierarchy (#1772) 2026-04-16 18:25:56 +02:00
96cddb52bb Steam (#1763)
Co-authored-by: loucass003 <[email protected]>
Co-authored-by: HannahPadd <[email protected]>
2026-04-16 15:00:19 +02:00
lucas lelievre 110e0ce840 Fix lint / compile issues and Form typings (#1813) 2026-04-16 14:44:39 +02:00
lucas lelievre cc364978a0 Fix ip num (#1812) 2026-04-16 12:18:19 +02:00
Sapphire 0ed7bf5838 Add warning when SteamVR hand trackers are erroneously enabled (#1776) 2026-04-16 11:35:40 +02:00
dependabot[bot] fdbc52a1b6 Bump pnpm/action-setup from 4 to 6 (#1809)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-16 10:50:40 +02:00
dependabot[bot] 112faacafd Bump softprops/action-gh-release from 2 to 3 (#1810)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-16 10:47:41 +02:00
loucass003 ae33eea790 Make sure everything combiles after solaxr fix 2026-04-16 10:44:59 +02:00
loucass003 b5a4cf7bac Fix solarxr 2026-04-16 08:38:31 +00:00
Aed 54fbaa7b0b spelling police at it again (#1807) 2026-04-16 09:47:00 +02:00
Sapphire 3343894a80 Fix version sorting for DIY firmware tool (#1803) 2026-04-16 09:45:46 +02:00
dependabot[bot] 7e0a06a7b8 Bump gradle/actions from 5 to 6 (#1800)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-16 09:45:23 +02:00
Collin 706489d42c Fix floor clip bug (#1799) 2026-04-16 09:45:08 +02:00
Sapphire e9a36313cc Remove unnecessary parts of glTF header when sending VRM to server (#1796) 2026-04-16 09:31:40 +02:00
dependabot[bot] e05d19b435 Bump actions/upload-artifact from 6 to 7 (#1790)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-16 09:30:39 +02:00
Aed 6b6abebca5 spelling police at it again (#1791) 2026-04-16 09:28:55 +02:00
Kitlith 319f69cdcd Fix udev vid/pid capitalization. (#1788) 2026-04-16 09:04:05 +02:00
Sapphire c46c536a1a RegEditLinux: Find VRChat install location for registry parsing (#1785) 2026-04-16 09:00:32 +02:00
sctanf a98772d3aa HID open fix (#1782) 2026-04-16 08:59:30 +02:00
Spazzwan 6c7e6a4f42 Adjust finger bone length subdivision to more naturally simulate fingers (#1781) 2026-04-16 08:58:55 +02:00
Sapphireandloucass003 f4646f1133 Send SteamVRTrackersSetting when changing tracker toggles (#1778)
Co-authored-by: loucass003 <[email protected]>
2026-04-16 08:56:22 +02:00
ShineBrightMeow 306510c1d9 Add ICM-55686 to Const (#1774) 2026-04-16 08:52:52 +02:00
Sapphire 1560c0a1ec Don't always advance to next Stay Aligned setup step on reset (#1775) 2026-04-16 08:52:34 +02:00
Sapphire 04aa882222 Re-request skeleton config on proportions import (#1777) 2026-04-16 08:43:16 +02:00
dependabot[bot] e4b3b93e35 Bump actions/download-artifact from 6 to 8 (#1769)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-16 08:42:18 +02:00
peelz 96b544f5e0 fix: use transaction id in reset response (#1767) 2026-04-16 08:41:55 +02:00
sctanf eca4eb770c HIDCommon scheduled TIMED_OUT (#1761) 2026-04-16 08:40:49 +02:00
sctanf 036a893c28 HIDCommon use button as tap (#1760) 2026-04-16 08:40:12 +02:00
sctanf 428d16f19a Allow 0% battery level (#1755) 2026-04-16 08:37:45 +02:00
c8538b5521 Onboarding Quiz (#1751)
Co-authored-by: Sapphire <[email protected]>
Co-authored-by: loucass003 <[email protected]>
Co-authored-by: lucas lelievre <[email protected]>
Co-authored-by: Hannah <[email protected]>
2026-04-16 08:34:40 +02:00
loucass003 30f9cc9302 Make CI set version for electron packager 2026-04-15 20:47:27 +00:00
loucass003 1185825b3e Atempt at mag code (untested, incomplete) 2026-04-15 11:44:11 +02:00
loucass003 984c98fd5b Cleanup of tests -> update readme in consequence 2026-04-15 09:35:43 +02:00
loucass003 94e34ca3af Fix steps id 2026-04-15 03:43:34 +02:00
loucass003 1775d54bf1 better bootstraping 2026-04-15 03:31:49 +02:00
Sapphire 4113a091c1 Implement receiving and datafeed sending of tracker mag status 2026-04-13 15:10:22 -05:00
Sapphire acde3a0e34 Get rid of all the redundant == trues 2026-04-13 15:10:22 -05:00
Sapphire db231f368d Send signal strength in datafeed 2026-04-13 15:10:22 -05:00
loucass003 18c5d0dad6 Better readme 2026-04-13 21:56:35 +02:00
loucass003 fa46f7d5fb Better readme 2026-04-13 21:54:54 +02:00
loucass003 7d04273b0e Better readme 2026-04-13 20:36:53 +02:00
loucass003 dfba37e698 Remove linux audio load fix 2026-04-13 18:40:30 +02:00
Sapphire a097c26261 Implement rest calibration checklist warning 2026-04-13 10:44:58 -05:00
loucass003 b17624d87a Fix tracker config not loading back properly + fligtlist checks 2026-04-13 16:35:15 +02:00
loucass003 a43ba532e1 Tracker config + save 2026-04-13 14:49:37 +02:00
loucass003 2d6b250539 Fix test code 2026-04-13 13:13:42 +02:00
loucass003 4bf1e706d3 Started implementing checklist / refactored most ipc logic to have two way communication with core 2026-04-13 12:32:29 +02:00
loucass003 e2fa7c8963 Remove random proportions 2026-04-12 21:58:19 +02:00
loucass003 6db666840b Implement scaled proportions 2026-04-12 21:50:04 +02:00
loucass003 918f28dfc8 Simple height calculation from proportions 2026-04-11 11:35:54 +02:00
loucass003 ac07e65b27 Clenup dead code 2026-04-11 08:35:26 +02:00
loucass003 902ab1fee1 Improved structure for skeleton? 2026-04-11 08:30:45 +02:00
loucass003 ada2ee3c81 Skeleton experiments 2026-04-10 19:39:28 +02:00
loucass003 c5d8968d58 Tracker tap detection - Basic 2026-04-08 13:47:02 +02:00
Butterscotch! 9c7ca73dbc Fix naming 2026-04-08 04:05:11 -04:00
Butterscotch! 6266802a27 Use BodyPart map to make skeleton 2026-04-08 03:56:25 -04:00
Butterscotch! d1b96a5c6b Use body part map for skeleton 2026-04-08 03:04:35 -04:00
Butterscotch! 5aaade2915 Basic skeleton structure 2026-04-08 03:04:34 -04:00
loucass003 bf3168af2b Proper tps calculation 2026-04-08 07:34:24 +02:00
loucass003 4e69262240 Wifi Provisioning - Unit tests 2026-04-08 06:46:34 +02:00
loucass003 ae5a8f4e97 Wifi provisioning V0 2026-04-08 05:56:44 +02:00
lucas lelievre bed38b9f2d Revert kache and coroutines upgrade (#1804) 2026-04-08 01:08:05 +03:00
loucass003 a171bc2783 More udp tracker data 2026-04-01 01:45:58 +02:00
lucas lelievre 181c6599b7 Increment versionCodeOffset from 4 to 5 2026-03-31 21:10:00 +02:00
gorbit99 fb77d3cf8a Downgrade JavaOSC version (#1801) 2026-03-31 21:02:01 +02:00
loucass003 242920316b Packets bundling support 2026-03-30 14:22:44 +02:00
loucass003 2fc64b3e8b Lint 2026-03-30 11:24:49 +02:00
loucass003 02ca403e24 More data for udp trackers 2026-03-30 11:24:21 +02:00
lucas lelievre 1a4b19a5e1 Make sure tags are fetched for version number checks 2026-03-30 05:42:47 +02:00
loucass003 17e87178fc Remove some console warnings 2026-03-30 05:39:49 +02:00
loucass003 dd6c1e7567 Lint 2026-03-30 05:23:37 +02:00
loucass003 0ab80528fe More position data for devices 2026-03-30 05:23:31 +02:00
loucass003 e07ef046a6 batch dispatch together 2026-03-30 05:23:14 +02:00
loucass003 71b74914a3 Better logs and ping id sequence for udp devices 2026-03-30 05:22:55 +02:00
loucass003 f65f41ad17 User height calibration (Non tested) 2026-03-29 05:35:48 +02:00
loucass003 df4569fe17 Format 2026-03-27 05:58:46 +01:00
loucass003 38743dc8b8 organise more stuff 2026-03-27 05:55:10 +01:00
loucass003 9d1e7764e6 Re organise project 2026-03-27 05:29:41 +01:00
loucass003 fa1d2012e1 Make vrc config save mute settings to config 2026-03-27 02:53:26 +01:00
loucass003 8168e1366a VRC settings (Non tested on windows) 2026-03-27 02:24:08 +01:00
loucass003 ea92fb4c01 Basic HID support 2026-03-26 22:41:47 +01:00
loucass003 fc476a1683 Proper handling of the reconnect on ota and serial 2026-03-26 19:05:46 +01:00
loucass003 5946ca1b7a Better udp and feeder connection handling 2026-03-26 18:44:51 +01:00
loucass003 6c4fdedcd1 Make ota and serial check for the device status 2026-03-26 17:53:29 +01:00
loucass003 1001b7f887 Cleanup 2026-03-26 17:34:49 +01:00
loucass003 86dbdbddf8 OTA updates + Packet processing optimisations + code cleanup 2026-03-26 14:44:39 +01:00
loucass003 d46fb013ac Unit tests + Fix start datafeed behaviour 2026-03-26 09:19:58 +01:00
lucas lelievre a9f553729e Electron fixes macos (#1797) 2026-03-26 08:09:10 +01:00
lucas lelievre ed96742680 Electron fixes after RC feedbacks (#1784) 2026-03-26 05:15:41 +01:00
loucass003 8ffd00eb47 Serial + Serial Flasher 2026-03-25 15:11:07 +01:00
loucass003 853155600a Small design guidelines update 2026-03-25 01:05:51 +01:00
loucass003 ad9bc911b6 Basic codestyle doc + rename stuff to match it 2026-03-25 00:30:34 +01:00
Sapphire 2235b8178b Join datafeed timers on separate coroutine 2026-03-24 15:40:54 -05:00
loucass003 e37a37bcf9 Small optimisations / fixes to make sure couroutines do well and prevent dataraces 2026-03-24 02:17:22 +01:00
loucass003 af4665e7c9 IPC interface for linux (tested) and windows (untested) - Solarxr / driver 2026-03-24 01:21:47 +01:00
loucass003 a42ed79003 Basic config system 2026-03-23 04:37:43 +01:00
loucass003 334be5f7cc Solaxr datafeed out 2026-03-20 03:35:17 +01:00
loucass003 4c1e4691be Solarxr start 2026-03-19 17:43:15 +01:00
loucass003 4fd4997e60 Logger test 2026-03-19 03:55:09 +01:00
loucass003 6eb63ce9f8 Tracker data 2026-03-19 02:56:32 +01:00
loucass003 01b7b8dbba basic handshake 2026-03-18 16:38:20 +01:00
loucass003 e060bc7cc5 Trying to get the basic shape of the state system out. Testing it with the udp part of the server to confirm the implementation choices 2026-03-17 21:22:56 +01:00
loucass003 d691619b98 Burn everything and start fresh 2026-03-17 11:37:27 +01:00
lucas lelievre 5e7816d72d New Pontoon translations (#1674) 2026-03-17 11:06:50 +01:00
SlimeVR-botandCheezik abab38e422 Pontoon/GUI: Update Czech (cs)
Co-authored-by: Cheezik <[email protected]> (cs)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex 7835b17379 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex 30612a866b Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex bba574ce86 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex 6d3d725b6c Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex 948bc06542 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex 8f4ee3268d Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex 8f97bd997b Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex 18f6c9c24f Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex c7bdd041f2 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
f75a011fb3 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
Co-authored-by: R4MOS <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex 555764914d Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex e4be98c7e7 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex 701ce9dc0a Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex 3f950cc11d Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandCheezik d8ce34a962 Pontoon/GUI: Update Czech (cs)
Co-authored-by: Cheezik <[email protected]> (cs)
2026-03-12 01:26:36 +00:00
SlimeVR-botandCheezik ef9d5e7862 Pontoon/GUI: Update Czech (cs)
Co-authored-by: Cheezik <[email protected]> (cs)
2026-03-12 01:26:36 +00:00
SlimeVR-botandCheezik e3f06eff55 Pontoon/GUI: Update Czech (cs)
Co-authored-by: Cheezik <[email protected]> (cs)
2026-03-12 01:26:36 +00:00
SlimeVR-botandCheezik 7a062b7d7b Pontoon/GUI: Update Czech (cs)
Co-authored-by: Cheezik <[email protected]> (cs)
2026-03-12 01:26:36 +00:00
SlimeVR-botandCheezik 121f3297ae Pontoon/GUI: Update Czech (cs)
Co-authored-by: Cheezik <[email protected]> (cs)
2026-03-12 01:26:36 +00:00
SlimeVR-botandCheezik 9951f00979 Pontoon/GUI: Update Czech (cs)
Co-authored-by: Cheezik <[email protected]> (cs)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex d8bb744ce4 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
4db342b4ae Pontoon/GUI: Update Czech (cs)
Co-authored-by: Cheezik <[email protected]> (cs)
Co-authored-by: Pesky12 <[email protected]> (cs)
Co-authored-by: Jeeko <[email protected]> (cs)
2026-03-12 01:26:36 +00:00
SlimeVR-botandCheezik e9f96e6d21 Pontoon/GUI: Update Czech (cs)
Co-authored-by: Cheezik <[email protected]> (cs)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex 56c6ebdadf Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex 4f941a5892 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex bf69046efe Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex cdcdb1b443 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex f875e9df4d Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex 12dd408f0b Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex 5e53bae9dc Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex b19e190004 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex 06c8bdc81a Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex 62338250e8 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex 1ff79ebb13 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex 2f9678d882 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex 94d70cbe55 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex f5c26f97aa Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:36 +00:00
SlimeVR-botandinex b367c7d3d6 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
c9cae35946 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
Co-authored-by: R4MOS <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandR4MOS a895b0b583 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: R4MOS <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex 5321c25bb2 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex b39691b879 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex 74e7f02668 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex 09e1510298 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex 0d95a731e3 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex 7d5706520b Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex e887b3153d Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex a7aa897fad Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex 29e2fd863b Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex 330cac26ec Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex ca9195ba97 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex 908270ffff Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex 942fbcf6f6 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex dbc6bae898 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex 8482802375 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex fdd3614204 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex 706a2780d9 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex 97a90076a4 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex ef85b8f3e1 Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
SlimeVR-botandinex 83700a1d1a Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
36a363f8ed Pontoon/GUI: Update Brazilian Portuguese (pt-BR)
Co-authored-by: inex <[email protected]> (pt-BR)
Co-authored-by: R4MOS <[email protected]> (pt-BR)
2026-03-12 01:26:35 +00:00
1c8381337a Pontoon/GUI: Update French (fr)
Co-authored-by: Erimel <[email protected]> (fr)
Co-authored-by: Nicalay2 <[email protected]> (fr)
Co-authored-by: Natsuko <[email protected]> (fr)
2026-03-12 01:26:35 +00:00
f698b27be5 Pontoon/GUI: Update French (fr)
Co-authored-by: Erimel <[email protected]> (fr)
Co-authored-by: Nicalay2 <[email protected]> (fr)
Co-authored-by: Natsuko <[email protected]> (fr)
2026-03-12 01:26:35 +00:00
f2767cf3bc Pontoon/GUI: Update French (fr)
Co-authored-by: Natsuko <[email protected]> (fr)
Co-authored-by: Erimel <[email protected]> (fr)
2026-03-12 01:26:35 +00:00
fe873729b6 Pontoon/GUI: Update French (fr)
Co-authored-by: Nicalay2 <[email protected]> (fr)
Co-authored-by: Natsuko <[email protected]> (fr)
Co-authored-by: Erimel <[email protected]> (fr)
Co-authored-by: Naoto <[email protected]> (fr)
2026-03-12 01:26:35 +00:00
031b35eb06 Pontoon/GUI: Update French (fr)
Co-authored-by: Erimel <[email protected]> (fr)
Co-authored-by: Nicalay2 <[email protected]> (fr)
Co-authored-by: Natsuko <[email protected]> (fr)
2026-03-12 01:26:35 +00:00
SlimeVR-botandMeow Wei bcc604cf63 Pontoon/GUI: Update Traditional Chinese (zh-Hant)
Co-authored-by: Meow Wei <[email protected]> (zh-Hant)
2026-03-12 01:26:35 +00:00
SlimeVR-botandMeow Wei adf01eed16 Pontoon/GUI: Update Traditional Chinese (zh-Hant)
Co-authored-by: Meow Wei <[email protected]> (zh-Hant)
2026-03-12 01:26:35 +00:00
SlimeVR-botandMeow Wei bd1750f252 Pontoon/GUI: Update Traditional Chinese (zh-Hant)
Co-authored-by: Meow Wei <[email protected]> (zh-Hant)
2026-03-12 01:26:35 +00:00
49adf0ee84 Pontoon/GUI: Update German (de)
Co-authored-by: TheDevMinerTV <[email protected]> (de)
Co-authored-by: NichtTube <[email protected]> (de)
Co-authored-by: unlogisch <[email protected]> (de)
2026-03-12 01:26:35 +00:00
04a2fa72a7 Pontoon/GUI: Update German (de)
Co-authored-by: TheDevMinerTV <[email protected]> (de)
Co-authored-by: NichtTube <[email protected]> (de)
2026-03-12 01:26:35 +00:00
064c41d419 Pontoon/GUI: Update German (de)
Co-authored-by: NichtTube <[email protected]> (de)
Co-authored-by: TheDevMinerTV <[email protected]> (de)
Co-authored-by: unlogisch <[email protected]> (de)
2026-03-12 01:26:35 +00:00
SlimeVR-botandnekomona 7c92023af7 Pontoon/GUI: Update Simplified Chinese (zh-Hans)
Co-authored-by: nekomona <[email protected]> (zh-Hans)
2026-03-12 01:26:35 +00:00
SlimeVR-botandYumeTomo ac01b75342 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2026-03-12 01:26:35 +00:00
95a7801a50 Pontoon/GUI: Update Dutch (nl)
Co-authored-by: Vyolex <[email protected]> (nl)
Co-authored-by: Nola <[email protected]> (nl)
2026-03-12 01:26:35 +00:00
SlimeVR-botandVyolex db1ec5d024 Pontoon/GUI: Update Dutch (nl)
Co-authored-by: Vyolex <[email protected]> (nl)
2026-03-12 01:26:35 +00:00
a96cd8a38f Pontoon/GUI: Update Dutch (nl)
Co-authored-by: Nola <[email protected]> (nl)
Co-authored-by: Vyolex <[email protected]> (nl)
2026-03-12 01:26:35 +00:00
45d5789685 Pontoon/GUI: Update Dutch (nl)
Co-authored-by: Nola <[email protected]> (nl)
Co-authored-by: Vyolex <[email protected]> (nl)
2026-03-12 01:26:35 +00:00
4b08123a61 Pontoon/GUI: Update Latinamerican Spanish (es-419)
Co-authored-by: Uriel <[email protected]> (es-419)
Co-authored-by: MaxEvil <[email protected]> (es-419)
Co-authored-by: Alejandro <[email protected]> (es-419)
2026-03-12 01:26:35 +00:00
SlimeVR-botandMaxEvil bfc99ab02c Pontoon/GUI: Update Latinamerican Spanish (es-419)
Co-authored-by: MaxEvil <[email protected]> (es-419)
2026-03-12 01:26:35 +00:00
SlimeVR-botandMaxEvil 6eb8a18430 Pontoon/GUI: Update Latinamerican Spanish (es-419)
Co-authored-by: MaxEvil <[email protected]> (es-419)
2026-03-12 01:26:35 +00:00
SlimeVR-botandMaxEvil 489b8e6549 Pontoon/GUI: Update Latinamerican Spanish (es-419)
Co-authored-by: MaxEvil <[email protected]> (es-419)
2026-03-12 01:26:35 +00:00
SlimeVR-botandMaxEvil 7bb2ecfff1 Pontoon/GUI: Update Latinamerican Spanish (es-419)
Co-authored-by: MaxEvil <[email protected]> (es-419)
2026-03-12 01:26:35 +00:00
SlimeVR-botandMaxEvil 59b4b34840 Pontoon/GUI: Update Latinamerican Spanish (es-419)
Co-authored-by: MaxEvil <[email protected]> (es-419)
2026-03-12 01:26:35 +00:00
SlimeVR-botandMaxEvil 9597888902 Pontoon/GUI: Update Latinamerican Spanish (es-419)
Co-authored-by: MaxEvil <[email protected]> (es-419)
2026-03-12 01:26:35 +00:00
SlimeVR-botandMaxEvil dbfcc8ba0a Pontoon/GUI: Update Latinamerican Spanish (es-419)
Co-authored-by: MaxEvil <[email protected]> (es-419)
2026-03-12 01:26:35 +00:00
SlimeVR-botandMaxEvil fd8e9fba83 Pontoon/GUI: Update Latinamerican Spanish (es-419)
Co-authored-by: MaxEvil <[email protected]> (es-419)
2026-03-12 01:26:35 +00:00
SlimeVR-botandBaddie f65d1828fe Pontoon/GUI: Update Spain Spanish (es-ES)
Co-authored-by: Baddie <[email protected]> (es-ES)
2026-03-12 01:26:35 +00:00
SlimeVR-botandBaddie c32601809b Pontoon/GUI: Update Spain Spanish (es-ES)
Co-authored-by: Baddie <[email protected]> (es-ES)
2026-03-12 01:26:35 +00:00
SlimeVR-botandYumeTomo fdf86a1e56 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2026-03-12 01:26:35 +00:00
SlimeVR-botandYumeTomo 71908523f9 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2026-03-12 01:26:35 +00:00
SlimeVR-botand寂听 2b7d678321 Pontoon/GUI: Update Simplified Chinese (zh-Hans)
Co-authored-by: 寂听 <[email protected]> (zh-Hans)
2026-03-12 01:26:35 +00:00
SlimeVR-botandMeow Wei 5d64fa8369 Pontoon/GUI: Update Traditional Chinese (zh-Hant)
Co-authored-by: Meow Wei <[email protected]> (zh-Hant)
2026-03-12 01:26:35 +00:00
SlimeVR-botandMeow Wei fe6bb4534c Pontoon/GUI: Update Traditional Chinese (zh-Hant)
Co-authored-by: Meow Wei <[email protected]> (zh-Hant)
2026-03-12 01:26:35 +00:00
loucass003 95daec6814 Pass server jar properly 2026-03-12 02:26:13 +01:00
lucas lelievre 43b104fcc3 Electron build fix round 2 (#1783) 2026-03-12 02:11:42 +01:00
loucass003 a33d6b1c1a Set better folder for electron storage 2026-03-11 20:45:37 +01:00
loucass003 cf67b9306b Remove electron test from ci 2026-03-11 19:23:56 +01:00
lucas lelievre 238c86ee98 Electron CI fixes (#1780) 2026-03-11 19:12:47 +01:00
loucass003 7f56209ca9 Fix windows zip 2026-03-11 16:57:33 +01:00
loucass003 a3e50cdc02 fix server.jar output path 2026-03-11 01:39:41 +01:00
loucass003 b7c43d8373 Fix release out 2026-03-11 01:23:38 +01:00
lucas lelievre cadc13f2e0 Revert "Bump actions/upload-artifact from 6 to 7" (#1779) 2026-03-11 01:02:49 +01:00
dependabot[bot] 7965d2e081 Bump actions/upload-artifact from 6 to 7 (#1770)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-10 23:33:56 +01:00
Butterscotch!andlucas lelievre b829a20169 Bump Gradle, plugin, and package versions (#1746)
Co-authored-by: lucas lelievre <[email protected]>
2026-03-10 22:40:41 +01:00
loucass003 653b8b4014 Make macos build 2026-03-10 22:04:43 +01:00
a891203204 Switch to Electron (#1747)
Co-authored-by: Hannah Lindrob <[email protected]>
Co-authored-by: Sapphire <[email protected]>
2026-03-10 21:38:02 +01:00
Sapphire 0236a05f26 Allow showing 'Up to date' version for third-party trackers (#1756) 2026-02-25 23:08:31 +01:00
Butterscotch! 28deb357da Revert TrackerResetsHandler & add comments (#1748) 2026-02-20 11:26:23 +01:00
jabberrock 4d93f87a01 Clarify AI policy on contributions (#1752) 2026-02-17 03:59:11 +03:00
Sapphire 88adfce242 Hide tracker firmware version when board type is unknown (#1721) 2026-02-09 21:58:36 +01:00
Sapphireandlucas lelievre 3d02795dbc Don't trigger timeout when Wi-Fi provisioning is done (#1725)
Co-authored-by: lucas lelievre <[email protected]>
2026-02-09 21:57:56 +01:00
Sapphire 7ff50f78eb Don't ask for full reset on timeout with manual or saved mounting (#1727) 2026-02-02 18:06:38 +01:00
Sapphire 0e3aaf105c Display more accurate info for OpenVR devices (#1731) 2026-02-02 18:06:17 +01:00
sctanf f638540886 TrackerBattery disable tooltip while charging (#1733) 2026-02-02 18:05:50 +01:00
Sapphire 343d69d690 Support feet mounting reset over Protobuf bridge (#1737) 2026-02-02 18:05:31 +01:00
H3andunlogisch04 e2d7d354c6 Add ESP32-S2 to USB-Serial Accept-List (#1730)
Co-authored-by: unlogisch04 <[email protected]>
2026-01-29 22:54:37 +03:00
sctanf cc6f297b92 Re-add missing battery runtime estimate to DataFeedBuilder (#1732) 2026-01-29 14:00:18 +04:00
H114514191981andunlogisch04 2add43e71a add CH343 support (#1568)
Co-authored-by: unlogisch04 <[email protected]>
2026-01-28 10:39:25 +02:00
Sapphire 0a493ac345 Fix scheduled resets triggering immediately when delay is unspecified (#1724) 2026-01-25 07:08:25 +02:00
Sapphire 17bb2703d1 Fix unassigned HMD flightlist step never showing (#1723) 2026-01-24 07:34:37 +02:00
Sapphire f0981bf709 ProtocolAPI: Initialise RPCHandler after other members (#1722) 2026-01-24 01:17:25 +03:00
peelz 99de554c18 Add delay param to ResetRequest (#1712) 2026-01-23 03:38:08 +04:00
Sapphire f95a4d56d7 Add feet mounting reset keybind (#1717) 2026-01-23 03:14:27 +04:00
Sapphire 1df3c9d322 Hide devices with unknown board type in DIY firmware tool (#1718) 2026-01-23 03:14:12 +04:00
sctanf e0838cce6c Battery indicators (#1714) 2026-01-23 03:13:36 +04:00
Sapphire e25d3201c2 Fix translation key for Autobone processing text (#1719) 2026-01-23 03:12:18 +04:00
Sapphire 5d14f14139 Fix alignment of neck and head dots in tracker assignment page (#1720) 2026-01-23 03:11:37 +04:00
Eiren Rain 09e81f5ace Fix trackers table having an extra header 2026-01-19 20:29:23 +01:00
MayaandButterscotch! 8f57ef2de4 Migrate core/dev.slimevr.protocol to Kotlin (#1688)
Co-authored-by: Butterscotch! <[email protected]>
2026-01-14 15:50:04 +01:00
loucass003 ea242960b3 Lint 2026-01-12 21:34:19 +01:00
Eiren Rainandloucass003 35ac14a7de Packet loss (#1687)
Co-authored-by: loucass003 <[email protected]>
2026-01-12 21:22:53 +01:00
Aed 690a8b5c6e add manual mounting to stay alligned setup (#1692) 2026-01-08 02:16:08 +01:00
sctanf 255b8b2865 Detect and use tracker PID during HID enumeration (#1556) 2026-01-07 10:13:33 +01:00
Eiren Rain e27ec63985 Accept fixed tracker accel (#1706) 2026-01-07 08:57:24 +03:00
Butterscotch! 9f8be6551c Accept fixed tracker accel 2026-01-06 22:51:17 -05:00
lucas lelievre f09cd687c7 Make ignore buttons be session only in checklist (#1675) 2026-01-05 16:21:36 +01:00
lucas lelievre 686499f8dd fix fw tool source (#1690) 2026-01-05 16:20:45 +01:00
Butterscotch! a3bcc61892 Fix race conditions from Play Store (#1696) 2025-12-26 10:28:39 +01:00
sctanf faf70c9a39 Add nRF consts (#1685) 2025-12-26 09:26:32 +01:00
sctanf 2aa8d3a056 hid add "unknown" runtime state (#1693) 2025-12-25 16:41:46 +01:00
Meia 23df46ca33 Amplify UI sounds by 8dB (#1694) 2025-12-25 16:41:08 +01:00
lucas lelievre 8407f52777 Better columns width for table view (#1691) 2025-12-19 00:24:28 +01:00
lucas lelievre b44dcaa9c2 Runtime (#1678) 2025-12-19 00:11:10 +01:00
sctanf ff0d823aff Merge remote-tracking branch 'upstream/main' into runtime 2025-12-18 10:46:44 -06:00
sctanf 2e8bfa5373 Update solarxr-protocol 2025-12-18 02:35:33 -06:00
sctanf 87940ddd03 TrackerBattery tooltip remove classes 2025-12-18 00:04:07 -06:00
sctanf 6208979ce9 TrackerBattery battery level tooltip if not shown 2025-12-17 23:48:00 -06:00
lucas lelievre 9a27fb1320 separate firmware date from version (#1650) 2025-12-18 06:46:10 +01:00
sctanf 53129328d0 Update solarxr-protocol 2025-12-17 22:59:24 -06:00
lucas lelievre 2d79c5a0e9 Add @ImSapphire as code owner for i18n directory 2025-12-18 05:03:19 +01:00
sctanf 74f5a92ce1 fw date default 2025-12-15 09:16:47 -06:00
sctanf 146930279c add firmware date to new field 2025-12-15 09:16:47 -06:00
sctanf 0c33579858 HIDCommon don't show firmware date in version 2025-12-15 09:16:46 -06:00
sctanf c9783d097b show voltage in less situations 2025-12-15 09:16:30 -06:00
sctanf d3eafb8d06 only show runtime if nonzero 2025-12-15 09:16:30 -06:00
sctanf 09d44b51d6 linter borked it 2025-12-15 09:16:30 -06:00
sctanf cf357e71f5 lint 2025-12-15 09:16:29 -06:00
sctanf 122efacc52 show runtime in gui 2025-12-15 09:16:29 -06:00
sctanf 7f536528d0 Parse runtime from HID tracker 2025-12-15 09:16:28 -06:00
Eiren Rain 3982249ebf Bump actions/upload-artifact from 5 to 6 (#1683) 2025-12-15 17:53:59 +03:00
Eiren Rain 388bea2e72 Bump actions/download-artifact from 6 to 7 (#1684) 2025-12-15 17:53:41 +03:00
dependabot[bot] 921a760817 Bump actions/download-artifact from 6 to 7
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-12-15 14:12:16 +00:00
dependabot[bot] 55bcec4dda Bump actions/upload-artifact from 5 to 6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-12-15 14:12:07 +00:00
Eiren Rain bb08e8dc6a DesktopHID only warn if device cannot open (#1682) 2025-12-15 11:08:44 +03:00
sctanf a82f950eb6 DesktopHID only warn if device cannot open 2025-12-14 20:52:14 -06:00
Eiren Rain e2dbaab8ba hid packet 6 and packet 7 (data2) (#1679) 2025-12-14 10:25:49 +03:00
sctanf 3611bb5cc7 hid packet 6 and packet 7 (data2)
this is the worst meme ever
2025-12-13 23:59:36 -06:00
lucas lelievre f01f599526 New Pontoon translations (#1672) 2025-12-11 20:39:52 +01:00
6847526ce8 Pontoon/GUI: Update Simplified Chinese (zh-Hans)
Co-authored-by: pwnint <[email protected]> (zh-Hans)
Co-authored-by: 寂听 <[email protected]> (zh-Hans)
Co-authored-by: nekomona <[email protected]> (zh-Hans)
2025-12-11 19:03:14 +00:00
c5f28a6a01 Pontoon/GUI: Update Simplified Chinese (zh-Hans)
Co-authored-by: 寂听 <[email protected]> (zh-Hans)
Co-authored-by: Joshh <[email protected]> (zh-Hans)
Co-authored-by: pwnint <[email protected]> (zh-Hans)
Co-authored-by: nekomona <[email protected]> (zh-Hans)
2025-12-11 19:03:14 +00:00
lucas lelievre 86d7d5fdc6 Fix tracker set selection (#1668) 2025-12-11 20:02:52 +01:00
lucas lelievre 781f4d489a Better Android signing & Google Play bundle building (#1670) 2025-12-11 19:56:07 +01:00
jabberrock 5a42426048 [Stay Aligned] Fix broken tracker rotations (#1669) 2025-12-11 07:26:12 -05:00
Butterscotch! 44643f2cc6 Rename Google Play artifact 2025-12-11 07:06:02 -05:00
Butterscotch! d902515f4f Change message 2025-12-11 06:30:40 -05:00
Butterscotch! f9df08aefd Include all Android tasks for signing & Play CI 2025-12-11 06:27:20 -05:00
Butterscotch! 28b18e0d42 Handle KeyStore secret directly in Gradle 2025-12-11 06:27:20 -05:00
loucass003 247c063791 Lint 2025-12-11 10:11:16 +01:00
lucas lelievreandSapphire ab248287cc Update gui/src/components/onboarding/pages/trackers-assign/TrackerAssignOptions.tsx
Co-authored-by: Sapphire <[email protected]>
2025-12-11 09:44:33 +01:00
lucas lelievreandSapphire 9a26fc98b8 Update gui/src/components/onboarding/pages/trackers-assign/TrackerAssignOptions.tsx
Co-authored-by: Sapphire <[email protected]>
2025-12-11 09:44:28 +01:00
loucass003 16a2ac8474 Lint 2025-12-11 09:36:02 +01:00
loucass003 c4acf4cc41 Better selection + only set the prefered once for a new user 2025-12-11 09:30:21 +01:00
loucass003 4b0a2d27d0 Fix tracker set selection 2025-12-11 09:19:25 +01:00
lucas lelievre 2c6708bfe7 Don't show fw update icon when update is blocked (#1667) 2025-12-11 08:35:46 +01:00
Sapphire 2880623cce Fix fw update icon low battery warning 2025-12-11 00:30:54 -06:00
Sapphire 17400ca337 Don't show fw update icon when update is blocked 2025-12-11 00:24:06 -06:00
lucas lelievre 3276f6db7a Fix tooltips on table and reset buttons (#1666) 2025-12-11 06:21:56 +01:00
loucass003 db59537adc Fix tooltips on table and reset buttons 2025-12-11 06:17:05 +01:00
lucas lelievre 4f1fd82923 Tooltip: Better handling of disabled buttons (#1665) 2025-12-11 04:02:12 +01:00
loucass003 f6ccb5970f Lint 2025-12-11 03:57:06 +01:00
loucass003 c937b91267 Better handling of disabled buttons 2025-12-11 03:54:23 +01:00
lucas lelievre 2d1f32b950 Disable R8 optimization for Android (#1664) 2025-12-11 03:28:49 +01:00
Butterscotch! 8acba98bcc Temporarily disable Proguard optimization 2025-12-10 21:23:38 -05:00
lucas lelievre d7ba1b8335 Fix mobile tooltip (#1662) 2025-12-11 03:13:13 +01:00
lucas lelievre d20e9bfd94 Fix tiertiary dropdown text color (#1663) 2025-12-11 02:56:37 +01:00
loucass003 3d54a86bd8 Fix tiertiary dropdown text color 2025-12-11 02:54:22 +01:00
loucass003 c9883f5eb4 Fix mobile tooltip 2025-12-11 02:28:09 +01:00
lucas lelievre 8bd36fac25 Increase accent text contrast for ace theme (#1656) 2025-12-11 02:26:43 +01:00
lucas lelievre ab4d507d9f Snep theme (#1659) 2025-12-11 02:26:26 +01:00
lucas lelievre 9efb985260 Sentry fixes (#1658) 2025-12-11 02:26:10 +01:00
loucass003 2c2c227187 Fix scaled proportions event not triggering 2025-12-11 02:24:00 +01:00
sctanf 63cca6756e lint 2025-12-10 19:07:28 -06:00
lucas lelievre b0d7fefa5e Only skip server start when CLI arg is passed (#1660) 2025-12-11 02:02:57 +01:00
Butterscotch! 35a5cb47d9 Disable Android obfuscation 2025-12-10 19:07:54 -05:00
lucas lelievreandSapphire dfc4383271 Update gui/src/hooks/app.ts
Co-authored-by: Sapphire <[email protected]>
2025-12-10 21:58:47 +01:00
lucas lelievreandSapphire 185431a733 Update gui/src/hooks/tracking-checklist.ts
Co-authored-by: Sapphire <[email protected]>
2025-12-10 21:58:35 +01:00
Sapphire 5b68a01186 Only skip server start when CLI arg is passed 2025-12-10 14:36:56 -06:00
lucas lelievre 2c4dd4085f Remove Ktor dependency (#1655) 2025-12-10 21:34:35 +01:00
sctanf 4d3ff0e9c9 snep 2025-12-10 11:42:16 -06:00
loucass003 ee6182bb23 lint 2025-12-10 17:15:07 +01:00
loucass003 9576d6e034 Sentry fixes 2025-12-10 17:12:25 +01:00
lucas lelievre 227ddc87d2 Increment Android version code and log config (#1657) 2025-12-10 13:51:46 +01:00
Butterscotch! b3b7730b2c Increment Android version code and log config 2025-12-10 07:14:54 -05:00
Butterscotch! 075a155f13 Increase accent text contrast for ace theme 2025-12-10 05:31:43 -05:00
Butterscotch! 79a3b66e43 Fix formatting 2025-12-10 05:08:29 -05:00
lucas lelievre fe58968718 New Pontoon translations (#1654) 2025-12-10 09:38:53 +01:00
Butterscotch! 276e73e724 Remove Ktor dependency 2025-12-10 00:39:27 -05:00
SlimeVR-botandYumeTomo 01dd916498 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-09 20:00:05 +00:00
SlimeVR-botandYumeTomo 6ebf9792ac Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-09 16:30:06 +00:00
SlimeVR-botandYumeTomo 02f8195b5b Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-09 15:26:14 +00:00
SlimeVR-botandYumeTomo 7b4946f41d Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-09 15:26:14 +00:00
5f4c90128f Pontoon/GUI: Update German (de)
Co-authored-by: Patty <[email protected]> (de)
Co-authored-by: unlogisch <[email protected]> (de)
2025-12-09 15:26:14 +00:00
6a2a30e319 Pontoon/GUI: Update Dutch (nl), German (de)
Co-authored-by: Nola <[email protected]> (nl)
Co-authored-by: Joshh <[email protected]> (nl)
Co-authored-by: Vyolex <[email protected]> (nl)
Co-authored-by: Smeltie <[email protected]> (nl)
Co-authored-by: C0D3 M4513R <[email protected]> (de)
Co-authored-by: Patty <[email protected]> (de)
Co-authored-by: unlogisch <[email protected]> (de)
Co-authored-by: stephaniegoldschmidt9 <[email protected]> (de)
2025-12-09 15:26:14 +00:00
SlimeVR-bot 8a5f27e8d9 Pontoon/GUI: Update 28 localizations 2025-12-09 15:26:14 +00:00
lucas lelievre 199bec40e1 Build and sign release APK (#1653) 2025-12-09 16:25:49 +01:00
lucas lelievre 9d32220275 Merge branch 'main' into bscotch/android-signing-ci 2025-12-09 14:51:16 +01:00
lucas lelievre 8b689d6df8 Android fixes & update (#1648) 2025-12-09 14:50:59 +01:00
Butterscotch! 490005ae69 Merge remote-tracking branch 'upstream/main' into bscotch/android-fixes 2025-12-09 07:53:46 -05:00
Butterscotch! 575778ab85 Don't fail for keystore 2025-12-09 07:25:54 -05:00
Butterscotch! 85ee162d58 Remove unused import 2025-12-09 07:18:26 -05:00
Butterscotch! 712fa6a1ad Avoid Android Gradle project for desktop tests 2025-12-09 02:55:12 -05:00
Butterscotch! 819481adcd Early fail for keystore issues 2025-12-09 02:36:21 -05:00
Butterscotch! bc26227443 Build and sign release with Gradle 2025-12-09 02:36:21 -05:00
lucas lelievre ac43ca947e New Pontoon translations (#1646) 2025-12-09 05:25:55 +01:00
SlimeVR-botandYumeTomo 4451d8aaf4 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-09 04:25:34 +00:00
79a9e15c5a Pontoon/GUI: Update Thai (th), German (de)
Co-authored-by: YumeTomo <[email protected]> (th)
Co-authored-by: Cusmo84 <[email protected]> (th)
Co-authored-by: unlogisch <[email protected]> (de)
Co-authored-by: Patty <[email protected]> (de)
2025-12-09 04:25:34 +00:00
SlimeVR-botandYumeTomo 5403cdb28e Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-09 04:25:34 +00:00
272f37374e Pontoon/GUI: Update Thai (th), German (de)
Co-authored-by: Kaiera huzu <[email protected]> (th)
Co-authored-by: SparklingSakura <[email protected]> (th)
Co-authored-by: YumeTomo <[email protected]> (th)
Co-authored-by: Patty <[email protected]> (de)
Co-authored-by: unlogisch <[email protected]> (de)
Co-authored-by: Zahnatom <[email protected]> (de)
2025-12-09 04:25:34 +00:00
4147578dc8 Pontoon/GUI: Update Thai (th), German (de)
Co-authored-by: YumeTomo <[email protected]> (th)
Co-authored-by: Patty <[email protected]> (de)
Co-authored-by: TheDevMinerTV <[email protected]> (de)
2025-12-09 04:25:34 +00:00
SlimeVR-botandYumeTomo 65bd03c272 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-09 04:25:34 +00:00
SlimeVR-botandYumeTomo 4835e89c5f Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-09 04:25:34 +00:00
SlimeVR-botandYumeTomo 7ea4516545 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-09 04:25:34 +00:00
SlimeVR-botandYumeTomo 2f208fe08a Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-09 04:25:34 +00:00
SlimeVR-botandYumeTomo db584baed3 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-09 04:25:34 +00:00
1d41627fb1 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
Co-authored-by: Kaiera huzu <[email protected]> (th)
2025-12-09 04:25:34 +00:00
63b8d4c8cb Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
Co-authored-by: Kaiera huzu <[email protected]> (th)
2025-12-09 04:25:34 +00:00
SlimeVR-botandYumeTomo 8e60ecd070 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-09 04:25:34 +00:00
6ee173791e Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
Co-authored-by: Kaiera huzu <[email protected]> (th)
2025-12-09 04:25:34 +00:00
SlimeVR-botandYumeTomo b9d72c0a40 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-09 04:25:34 +00:00
SlimeVR-botandYumeTomo 36b2e01d88 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-09 04:25:34 +00:00
SlimeVR-botandYumeTomo 569315f6dc Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-09 04:25:34 +00:00
SlimeVR-botandYumeTomo a4fab8afed Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-09 04:25:34 +00:00
SlimeVR-botandYumeTomo d1e3c35693 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-09 04:25:34 +00:00
d12f3c4854 Pontoon/GUI: Update Polish (pl)
Co-authored-by: Yexo <[email protected]> (pl)
Co-authored-by: ReDoX <[email protected]> (pl)
2025-12-09 04:25:34 +00:00
SlimeVR-botandYexo e32903f36f Pontoon/GUI: Update Polish (pl)
Co-authored-by: Yexo <[email protected]> (pl)
2025-12-09 04:25:34 +00:00
SlimeVR-botandYexo ab126c336c Pontoon/GUI: Update Polish (pl)
Co-authored-by: Yexo <[email protected]> (pl)
2025-12-09 04:25:34 +00:00
SlimeVR-botandYexo 79a6d62506 Pontoon/GUI: Update Polish (pl)
Co-authored-by: Yexo <[email protected]> (pl)
2025-12-09 04:25:34 +00:00
SlimeVR-botandYexo 08f691b5b6 Pontoon/GUI: Update Polish (pl)
Co-authored-by: Yexo <[email protected]> (pl)
2025-12-09 04:25:34 +00:00
b12632fd1a Pontoon/GUI: Update Polish (pl)
Co-authored-by: Yexo <[email protected]> (pl)
Co-authored-by: ReDoX <[email protected]> (pl)
2025-12-09 04:25:34 +00:00
SlimeVR-botandYexo 54f3ab4634 Pontoon/GUI: Update Polish (pl)
Co-authored-by: Yexo <[email protected]> (pl)
2025-12-09 04:25:34 +00:00
SlimeVR-botandMeow Wei 415168d040 Pontoon/GUI: Update Traditional Chinese (zh-Hant)
Co-authored-by: Meow Wei <[email protected]> (zh-Hant)
2025-12-09 04:25:34 +00:00
SlimeVR-botandMeow Wei 6be313144e Pontoon/GUI: Update Traditional Chinese (zh-Hant)
Co-authored-by: Meow Wei <[email protected]> (zh-Hant)
2025-12-09 04:25:34 +00:00
SlimeVR-botandMeow Wei 98e571c94b Pontoon/GUI: Update Traditional Chinese (zh-Hant)
Co-authored-by: Meow Wei <[email protected]> (zh-Hant)
2025-12-09 04:25:34 +00:00
SlimeVR-botandMeow Wei 1561c464e9 Pontoon/GUI: Update Traditional Chinese (zh-Hant)
Co-authored-by: Meow Wei <[email protected]> (zh-Hant)
2025-12-09 04:25:34 +00:00
SlimeVR-botandYumeTomo 4992d599aa Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-09 04:25:34 +00:00
lucas lelievre 90b3dfe0db v18.0rc1 fixes (#1651) 2025-12-09 05:25:07 +01:00
lucas lelievreandButterscotch! ab87c5b1e8 Update gui/src/hooks/crypto.ts
Co-authored-by: Butterscotch! <[email protected]>
2025-12-09 04:46:35 +01:00
lucas lelievre 3ee6c065cf Disable root overscroll (#1652) 2025-12-09 04:41:25 +01:00
lucas lelievreandSapphire d1249d2b44 Apply suggestions from code review
Co-authored-by: Sapphire <[email protected]>
2025-12-09 04:37:12 +01:00
Butterscotch! 94a70d3b2e Update Ktor to latest 2.3.X version 2025-12-08 21:50:53 -05:00
Butterscotch! b67162eb43 Revert Ktor version update 2025-12-08 21:47:00 -05:00
Lasse Lauwerys 4390d35e00 Disable root overscroll 2025-12-09 02:37:13 +01:00
lucas lelievreandMaya 19126c0d4d Update gui/public/i18n/en/translation.ftl
Co-authored-by: Maya <[email protected]>
2025-12-08 09:51:43 +01:00
lucas lelievreandMaya 0cf0f6cb49 Update gui/public/i18n/en/translation.ftl
Co-authored-by: Maya <[email protected]>
2025-12-08 09:51:36 +01:00
lucas lelievreandMaya d3d3838761 Update gui/src/components/onboarding/pages/WifiCreds.tsx
Co-authored-by: Maya <[email protected]>
2025-12-08 09:47:15 +01:00
loucass003 4984026f6b Lint 2025-12-08 09:28:09 +01:00
loucass003 bb7e825c41 Remove confusion with dongles in the Connect page 2025-12-08 09:25:03 +01:00
loucass003 bc96ddd555 More fixes and metrics 2025-12-08 05:40:33 +01:00
loucass003 ec85284f78 Lint 2025-12-08 05:31:57 +01:00
loucass003 867287e740 More sentry metrics 2025-12-08 05:25:07 +01:00
loucass003 2e93187021 More sentry metrics 2025-12-08 05:12:05 +01:00
loucass003 2a19d67974 Make sentry report anonymous unique user ids so we can count release adoption 2025-12-08 04:28:00 +01:00
loucass003 176f7e4271 Round one of fixes 2025-12-08 03:39:49 +01:00
Butterscotch! 3a6c60d912 Only get GUI port once 2025-12-07 05:23:03 -05:00
Butterscotch! 066c28adb4 Use randomized Android GUI port 2025-12-07 05:20:13 -05:00
Butterscotch! 364ed3209c Prevent Android GUI race condition 2025-12-07 05:12:56 -05:00
Butterscotch! dab6ec28af Simpler bytesSkipped check 2025-12-07 04:53:09 -05:00
Butterscotch! b221250ba7 More Gradle cleanup 2025-12-07 04:48:09 -05:00
Butterscotch! 215635634f Update Android versions & Proguard settings 2025-12-07 04:43:15 -05:00
Butterscotch! 184133a613 Fix OTA upload socket not being closed 2025-12-07 04:22:01 -05:00
Butterscotch! 32248c75cf Fix Android SDK level errors 2025-12-07 04:21:37 -05:00
lucas lelievre 0671c0e89f New Pontoon translations (#1631) 2025-12-06 00:38:06 +01:00
SlimeVR-botandYumeTomo 2acadbe11b Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 5688c71d2e Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo d3c89618f1 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 478ffdb611 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-bot 0b7e5781d5 Pontoon/GUI: Update 28 localizations 2025-12-05 23:37:48 +00:00
SlimeVR-bot 446a53277e Pontoon/GUI: Update 28 localizations 2025-12-05 23:37:48 +00:00
b2acc1b28d Pontoon/GUI: Update French (fr)
Co-authored-by: lucas <[email protected]> (fr)
Co-authored-by: Naoto <[email protected]> (fr)
Co-authored-by: Joshh <[email protected]> (fr)
Co-authored-by: Arya <[email protected]> (fr)
2025-12-05 23:37:48 +00:00
SlimeVR-bot 27d2fff725 Pontoon/GUI: Update 28 localizations 2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 0c1f9b3e25 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo cfa4039e9e Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 7b62b21e6f Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo cc3af4ae7e Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 09c44fc935 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 92f441d51f Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo d5912513ff Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 6417bf3167 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 5bf0694734 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 7b95837663 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 40067df800 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo c5546d71d2 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 307c250240 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo ca1afaa0aa Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
809a0b81b2 Pontoon/GUI: Update Thai (th)
Co-authored-by: SparklingSakura <[email protected]> (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 01d5456f9f Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo b81605dcf9 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo bb3be2fd17 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo b34da7dd3e Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 0cc97ba9f8 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo a754a24d3f Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo df209436c8 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 6abd06d435 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
43f6a9fac9 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
Co-authored-by: Kaiera huzu <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo e07a152d46 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo e73dcad9a8 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 87de27e4ec Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo e851abfd4f Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 561dfd2d2e Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 4e716ac53b Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
12cd7908ef Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
Co-authored-by: SparklingSakura <[email protected]> (th)
Co-authored-by: Kaiera huzu <[email protected]> (th)
2025-12-05 23:37:48 +00:00
1e1cb435a2 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
Co-authored-by: SparklingSakura <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 0bd6d4fdbd Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 9f2bd7f2e7 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo a6c5de6ef3 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 86046993b8 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo f7106833ed Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo ef35b93569 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
2f5649a90a Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
Co-authored-by: Cusmo84 <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo efd07a9afb Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 2fad9b2563 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
8d2b74b254 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
Co-authored-by: Kaiera huzu <[email protected]> (th)
Co-authored-by: Cusmo84 <[email protected]> (th)
Co-authored-by: SparklingSakura <[email protected]> (th)
Co-authored-by: yuyavx <[email protected]> (th)
2025-12-05 23:37:48 +00:00
3f1a614ac6 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
Co-authored-by: SparklingSakura <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 326284853c Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
3ae337b3d8 Pontoon/GUI: Update Thai (th)
Co-authored-by: SparklingSakura <[email protected]> (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo fbef209d2d Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandYumeTomo 544b060691 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:48 +00:00
SlimeVR-botandMaxEvil 63bceb49ca Pontoon/GUI: Update Latinamerican Spanish (es-419)
Co-authored-by: MaxEvil <[email protected]> (es-419)
2025-12-05 23:37:48 +00:00
SlimeVR-botandMeow Wei be9265cb97 Pontoon/GUI: Update Traditional Chinese (zh-Hant)
Co-authored-by: Meow Wei <[email protected]> (zh-Hant)
2025-12-05 23:37:48 +00:00
SlimeVR-botandPatty c7286f8e48 Pontoon/GUI: Update German (de)
Co-authored-by: Patty <[email protected]> (de)
2025-12-05 23:37:47 +00:00
SlimeVR-botandPatty a8e76e9198 Pontoon/GUI: Update German (de)
Co-authored-by: Patty <[email protected]> (de)
2025-12-05 23:37:47 +00:00
SlimeVR-botandMeow Wei be09af8ca6 Pontoon/GUI: Update Traditional Chinese (zh-Hant)
Co-authored-by: Meow Wei <[email protected]> (zh-Hant)
2025-12-05 23:37:47 +00:00
SlimeVR-botandMeow Wei d47533db08 Pontoon/GUI: Update Traditional Chinese (zh-Hant)
Co-authored-by: Meow Wei <[email protected]> (zh-Hant)
2025-12-05 23:37:47 +00:00
SlimeVR-botandMeow Wei c34944912b Pontoon/GUI: Update Traditional Chinese (zh-Hant)
Co-authored-by: Meow Wei <[email protected]> (zh-Hant)
2025-12-05 23:37:47 +00:00
SlimeVR-botandYumeTomo 67b764026f Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:47 +00:00
9b74665e94 Pontoon/GUI: Update Thai (th)
Co-authored-by: Kaiera huzu <[email protected]> (th)
Co-authored-by: YumeTomo <[email protected]> (th)
Co-authored-by: SparklingSakura <[email protected]> (th)
2025-12-05 23:37:47 +00:00
SlimeVR-botandYumeTomo 855d708464 Pontoon/GUI: Update Thai (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:47 +00:00
760ecc6ae6 Pontoon/GUI: Update Thai (th)
Co-authored-by: SparklingSakura <[email protected]> (th)
Co-authored-by: YumeTomo <[email protected]> (th)
2025-12-05 23:37:47 +00:00
SlimeVR-bot 2f4bcb17b6 Pontoon/GUI: Update 28 localizations 2025-12-05 23:37:47 +00:00
SlimeVR-botandMaxEvil 78e7517363 Pontoon/GUI: Update Latinamerican Spanish (es-419)
Co-authored-by: MaxEvil <[email protected]> (es-419)
2025-12-05 23:37:47 +00:00
SlimeVR-botandMaxEvil 27e4af57f1 Pontoon/GUI: Update Latinamerican Spanish (es-419)
Co-authored-by: MaxEvil <[email protected]> (es-419)
2025-12-05 23:37:47 +00:00
1d029a6c3a Pontoon/GUI: Update Traditional Chinese (zh-Hant)
Co-authored-by: Meow Wei <[email protected]> (zh-Hant)
Co-authored-by: 白貓 <[email protected]> (zh-Hant)
2025-12-05 23:37:47 +00:00
SlimeVR-botandMeow Wei fe547cf56b Pontoon/GUI: Update Traditional Chinese (zh-Hant)
Co-authored-by: Meow Wei <[email protected]> (zh-Hant)
2025-12-05 23:37:47 +00:00
SlimeVR-botandMeow Wei 9bddff99d8 Pontoon/GUI: Update Traditional Chinese (zh-Hant)
Co-authored-by: Meow Wei <[email protected]> (zh-Hant)
2025-12-05 23:37:47 +00:00
SlimeVR-botandBaddie 11fc8a3fa7 Pontoon/GUI: Update Spain Spanish (es-ES)
Co-authored-by: Baddie <[email protected]> (es-ES)
2025-12-05 23:37:47 +00:00
SlimeVR-botandErimel 075ca4715e Pontoon/GUI: Update French (fr)
Co-authored-by: Erimel <[email protected]> (fr)
2025-12-05 23:37:47 +00:00
SlimeVR-botandErimel 991299b4fc Pontoon/GUI: Update French (fr)
Co-authored-by: Erimel <[email protected]> (fr)
2025-12-05 23:37:47 +00:00
lucas lelievreandSapphire 84d85c29b7 Before RC fixes (#1644)
Co-authored-by: Sapphire <[email protected]>
2025-12-06 00:37:23 +01:00
lucas lelievre 5f1167f0de Remove the need for restart before OTA on newer firmware (#1627) 2025-12-05 22:12:03 +01:00
loucass003 d74b26fbda Lint 2025-12-05 20:08:02 +01:00
loucass003 838a60172d Make version check for 18.0 switch 2025-12-05 20:04:02 +01:00
lucas lelievre d6c05d2f9c Improved tracker assignment ui (#1643) 2025-12-05 18:53:53 +01:00
lucas lelievre 25e74767be Remove useless onboarding pages (#1642) 2025-12-05 18:18:15 +01:00
lucas lelievre 742a3fcafe Small UI fixes (#1641) 2025-12-05 18:17:51 +01:00
lucas lelievre 45f0e14582 Make reset sound loop better when more than 3s (#1640) 2025-12-05 18:17:19 +01:00
loucass003 937c810f7a Fix solarxr 2025-12-05 10:15:08 +01:00
80a68e9a37 Scaled proportions rework (#1636)
Co-authored-by: Butterscotch! <[email protected]>
Co-authored-by: Aed <[email protected]>
Co-authored-by: Sapphire <[email protected]>
2025-12-05 10:02:59 +01:00
loucass003 ce6b3439c9 Revert "New tracker assignment + Fix concurency error with tap"
This reverts commit 12dd1cb314.
2025-12-05 06:42:49 +01:00
loucass003 12dd1cb314 New tracker assignment + Fix concurency error with tap 2025-12-05 06:41:01 +01:00
Sapphire d420bf0007 Update en translation (#1639) 2025-12-03 03:26:23 +01:00
Butterscotch!andloucass003 8e885a8890 Simplify reset code (again) (#1595)
Co-authored-by: loucass003 <[email protected]>
2025-12-02 18:26:03 +01:00
a5160fbb8a Server Guards: Mounting timeout and yaw reset guard (#1628)
Co-authored-by: sctanf <[email protected]>
Co-authored-by: Butterscotch! <[email protected]>
Co-authored-by: Aed <[email protected]>
2025-12-02 15:13:54 +01:00
2e1ec07b23 Session flightlist (#1407)
Co-authored-by: sctanf <[email protected]>
Co-authored-by: Butterscotch! <[email protected]>
Co-authored-by: Aed <[email protected]>
2025-12-02 14:49:45 +01:00
peelz 0dc78a7e72 Skip starting server from GUI when server is already running (#1612) 2025-12-02 14:03:08 +01:00
dependabot[bot] ebd7712862 Bump actions/checkout from 5 to 6 (#1633)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-02 13:48:39 +01:00
Erimel 25beefd973 Check driver version (#1618) 2025-12-02 13:47:55 +01:00
Aed 2ee65a9bd2 Stay Aligned UI Improvements (#1632) 2025-11-24 11:05:17 +01:00
d986a5e116 Fix race condition in DataFeedHandler::sendDataFeedUpdate (#1621)
Co-authored-by: lucas lelievre <[email protected]>
Co-authored-by: Butterscotch! <[email protected]>
2025-11-22 12:13:47 -05:00
Eiren Rain 8018ce7283 Android fixes (#1629) 2025-11-20 13:34:39 +03:00
Butterscotch! a5cdbffa4c Fix packet hex formatting on Android 2025-11-20 02:30:16 -05:00
Butterscotch! 3b690eac53 Fix activity context 2025-11-20 02:09:33 -05:00
Butterscotch! 1cdca18538 Redo v0.17.0 release 2025-11-20 02:09:33 -05:00
lucas lelievre 6d77045aa1 Better flakes / deprecate shell.nix (#1626) 2025-11-20 07:00:42 +01:00
Eiren Rain b02234f9fc New Pontoon translations (#1625) 2025-11-18 23:28:50 +03:00
eb10f07711 Pontoon/GUI: Update French (fr), German (de)
Co-authored-by: Erimel <[email protected]> (fr)
Co-authored-by: C0D3 M4513R <[email protected]> (de)
Co-authored-by: unlogisch <[email protected]> (de)
Co-authored-by: bongocatlifelol <[email protected]> (de)
Co-authored-by: TheDevMinerTV <[email protected]> (de)
Co-authored-by: stephaniegoldschmidt9 <[email protected]> (de)
2025-11-17 19:25:36 +00:00
+65 f15a503936 Pontoon/GUI: Update 28 localizations
Co-authored-by: Bader <[email protected]> (ar)
Co-authored-by: Vaso <[email protected]> (ar)
Co-authored-by: FennT <[email protected]> (ar)
Co-authored-by: nekomona <[email protected]> (zh-Hans)
Co-authored-by: pwnint <[email protected]> (zh-Hans)
Co-authored-by: ZZNYJIDI <[email protected]> (zh-Hans)
Co-authored-by: Yingxue <[email protected]> (zh-Hans)
Co-authored-by: Meow Wei <[email protected]> (zh-Hant)
Co-authored-by: JaydenHa <[email protected]> (zh-Hant)
Co-authored-by: Cheezik <[email protected]> (cs)
Co-authored-by: Jeeko <[email protected]> (cs)
Co-authored-by: viwas45hu978ot <[email protected]> (da)
Co-authored-by: Nola <[email protected]> (nl)
Co-authored-by: Vyolex <[email protected]> (nl)
Co-authored-by: SaabAerospace <[email protected]> (nl)
Co-authored-by: siofrain <[email protected]> (fi)
Co-authored-by: Iris <[email protected]> (fi)
Co-authored-by: SlimePuppy <[email protected]> (fr)
Co-authored-by: Erimel <[email protected]> (fr)
Co-authored-by: the1pigeon <[email protected]> (fr)
Co-authored-by: martin <[email protected]> (fr)
Co-authored-by: rascrifice <[email protected]> (fr)
Co-authored-by: C0D3 M4513R <[email protected]> (de)
Co-authored-by: dennis.staudacher <[email protected]> (de)
Co-authored-by: TheDevMinerTV <[email protected]> (de)
Co-authored-by: Jatoxo <[email protected]> (de)
Co-authored-by: unlogisch <[email protected]> (de)
Co-authored-by: Kyra <[email protected]> (de)
Co-authored-by: stephaniegoldschmidt9 <[email protected]> (de)
Co-authored-by: odydoubouridis <[email protected]> (el)
Co-authored-by: origalili123 <[email protected]> (he)
Co-authored-by: Daniel <[email protected]> (he)
Co-authored-by: Etch9 <[email protected]> (it)
Co-authored-by: namakeingo <[email protected]> (en-x-owo, it)
Co-authored-by: infopcgood <[email protected]> (ko)
Co-authored-by: Kamilake <[email protected]> (ko)
Co-authored-by: abb128 <[email protected]> (lt)
Co-authored-by: eivind.eriksen <[email protected]> (nb-NO)
Co-authored-by: darkowsness <[email protected]> (nb-NO)
Co-authored-by: ReDoX <[email protected]> (pl)
Co-authored-by: Yexo <[email protected]> (pl)
Co-authored-by: Tailsy <[email protected]> (pl)
Co-authored-by: michael091 <[email protected]> (pl)
Co-authored-by: mygz <[email protected]> (pt-BR)
Co-authored-by: Sander Fernandes <[email protected]> (pt-BR)
Co-authored-by: Gaabbu <[email protected]> (pt-BR)
Co-authored-by: lindetinn <[email protected]> (ru)
Co-authored-by: Flar <[email protected]> (ru)
Co-authored-by: SummerArtz <[email protected]> (ru)
Co-authored-by: Sergey <[email protected]> (ru)
Co-authored-by: Graphite0 <[email protected]> (ru)
Co-authored-by: Clay <[email protected]> (ru)
Co-authored-by: viberbread <[email protected]> (ru)
Co-authored-by: Alejandro <[email protected]> (es-419)
Co-authored-by: MaxEvil <[email protected]> (es-419)
Co-authored-by: Uriel <[email protected]> (es-419, es-ES, sv-SE)
Co-authored-by: Andokai <[email protected]> (es-419)
Co-authored-by: Renka <[email protected]> (es-419, es-ES)
Co-authored-by: Baddie <[email protected]> (es-ES)
Co-authored-by: adriangoldenhero <[email protected]> (es-ES)
Co-authored-by: LavAriz <[email protected]> (es-ES)
Co-authored-by: cabbemannen <[email protected]> (sv-SE)
Co-authored-by: catdrout <[email protected]> (sv-SE)
Co-authored-by: YumeTomo <[email protected]> (th)
Co-authored-by: SparklingSakura <[email protected]> (th)
Co-authored-by: Kaiera huzu <[email protected]> (th)
Co-authored-by: rwrdetenrl <[email protected]> (tr)
Co-authored-by: HappyTownCats <[email protected]> (uk)
Co-authored-by: Shans <[email protected]> (uk)
Co-authored-by: MenacingExiler <[email protected]> (vi)
Co-authored-by: Dau <[email protected]> (en-x-owo)
Co-authored-by: beq <[email protected]> (en-x-owo)
Co-authored-by: Mini <[email protected]> (en-x-owo)
Co-authored-by: Butterscotch! <[email protected]> (en-x-owo)
2025-11-17 19:25:36 +00:00
lucas lelievre c580aecb11 Refactor pull request creation command in workflow 2025-11-17 20:25:13 +01:00
lucas lelievre 81879afa32 Add a cute note to the README 2025-11-17 19:50:44 +01:00
lucas lelievre 1cb4edb651 Fix pontoon ci (#1624) 2025-11-17 19:14:04 +01:00
Sapphire 26e04db950 Fix 'Filter Slimes and HMD' dev setting only showing OpenVR HMD (#1614) 2025-11-10 11:25:03 +01:00
Eiren Rain fade902fc0 Better fw update cache handling (#1617) 2025-11-08 02:41:48 +03:00
loucass003 e072fc75c6 Do not show release if no deploy file 2025-11-06 02:06:27 +01:00
loucass003 94da52c0e4 Better fw update cache handling 2025-11-06 02:05:08 +01:00
lucas lelievreandgorbit99 56c3290e1c Add digest to fw update files (#1616)
Co-authored-by: gorbit99 <[email protected]>
2025-11-06 01:07:26 +01:00
gorbit99 e0f1ad8d4f Various rc fixes (#1615) 2025-11-05 19:12:28 +01:00
kruemmelbande bd4ec047c3 fix linux safe mode icon (#1613) 2025-11-03 22:48:56 +01:00
lucas lelievre e3b3cb77d1 Fix linux ci (#1611) 2025-11-03 20:22:54 +01:00
lucas lelievre 5a8804630b Fix lint (#1610) 2025-11-03 19:37:19 +01:00
0df8b938d8 Update spotless and ktlint (#1528)
Co-authored-by: Butterscotch! <[email protected]>
Co-authored-by: loucass003 <[email protected]>
2025-11-03 18:52:58 +01:00
lucas lelievre 7180f4eaa7 Make socket recover if slimevr crashed (#1604) 2025-11-03 18:01:25 +01:00
gorbit99andloucass003 2a55617e3a Enable text input on the serial console page (#1562)
Co-authored-by: loucass003 <[email protected]>
2025-11-03 16:20:59 +01:00
gorbit99 1777d584fe Rework Dropdown component (#1606) 2025-11-03 14:55:03 +01:00
unlogisch04 edd9ea02e1 Update jSerialComm to 2.11.3 (#1608) 2025-11-01 21:16:47 +01:00
sctanfandEiren Rain 119d9158c0 Calibration tutorial fix settling (#1521)
Co-authored-by: Eiren Rain <[email protected]>
2025-11-01 00:42:42 +01:00
gorbit99 0e073a01fd Update eslint and add stylistic/jsx-self-closing-comp (#1607) 2025-11-01 00:41:53 +01:00
lucas lelievre 4e9fdb206c Firmware tool V2 (#1585) 2025-10-31 18:16:13 +01:00
0a08d57426 Positional tracker support (#920)
Co-authored-by: Eiren Rain <[email protected]>
Co-authored-by: lucas lelievre <[email protected]>
2025-10-31 17:54:07 +01:00
Butterscotch! c316c50f30 Fix tracker drift logging (#1588) 2025-10-31 17:43:32 +01:00
Urielandlucas lelievre 81716be512 Migrate to tauri logger (#1537)
Co-authored-by: lucas lelievre <[email protected]>
2025-10-31 17:42:13 +01:00
Polymoria 1d273ac651 Smaller paddings in alerts (#1450) 2025-10-31 17:40:23 +01:00
sctanf 7dc815cd86 ManualProportions do not wrap height text (#1529) 2025-10-31 17:35:14 +01:00
Butterscotch! d6f771e6b2 BVH rewrite (#1542) 2025-10-31 17:20:08 +01:00
Sapphire 3aeb0569b1 Show startup error when tracker server port is in use (#1596) 2025-10-31 17:17:56 +01:00
Summer bf2c5d59ab Add Positional UDP packet (#1546) 2025-10-31 17:16:30 +01:00
Butterscotch!andlucas lelievre 94b2309945 Delete target web-gui before copying (#1573)
Co-authored-by: lucas lelievre <[email protected]>
2025-10-31 17:12:12 +01:00
kruemmelbande e81c9c5b2d add safe mode .desktop file (#1600) 2025-10-29 19:40:21 +01:00
Eiren Rain 900bdc03ca Bump actions/setup-node from 5 to 6 (#1591) 2025-10-27 18:45:09 +03:00
Eiren Rain 5a73ad77f2 Bump awalsh128/cache-apt-pkgs-action from 1.5.3 to 1.6.0 (#1592) 2025-10-27 18:45:00 +03:00
dependabot[bot] 1c6a29940a Bump actions/setup-node from 5 to 6
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 5 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-10-27 15:31:25 +00:00
dependabot[bot] adb0ae969d Bump awalsh128/cache-apt-pkgs-action from 1.5.3 to 1.6.0
Bumps [awalsh128/cache-apt-pkgs-action](https://github.com/awalsh128/cache-apt-pkgs-action) from 1.5.3 to 1.6.0.
- [Release notes](https://github.com/awalsh128/cache-apt-pkgs-action/releases)
- [Commits](https://github.com/awalsh128/cache-apt-pkgs-action/compare/v1.5.3...v1.6.0)

---
updated-dependencies:
- dependency-name: awalsh128/cache-apt-pkgs-action
  dependency-version: 1.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-10-27 15:30:41 +00:00
Eiren Rain ae5783ce9f Bump actions/download-artifact from 5 to 6 (#1599) 2025-10-27 18:25:32 +03:00
Eiren Rain 4408b36ffb Bump actions/upload-artifact from 4 to 5 (#1598) 2025-10-27 18:25:05 +03:00
dependabot[bot] 8708778596 Bump actions/download-artifact from 5 to 6
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-10-27 15:24:31 +00:00
dependabot[bot] b045c88158 Bump actions/upload-artifact from 4 to 5
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-10-27 15:00:37 +00:00
Eiren Rain 0235660642 Fix PFR extension being used for PFS file (#1593) 2025-10-22 20:49:46 +03:00
Butterscotch! 3d90d22b56 Fix PFR extension being used for PFS file 2025-10-21 23:05:21 -04:00
dependabot[bot]andlucas lelievre 7ac3993543 Bump gradle/actions from 4 to 5 (#1582)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lucas lelievre <[email protected]>
2025-10-18 03:43:06 +02:00
Erimel 79294e95c7 Fix network adapter status vars (#1589) 2025-10-18 03:35:18 +02:00
gorbit99 2e9256a630 Remove the GET INFO button (#1587) 2025-10-17 17:03:43 +02:00
gorbit99andlucas lelievre 0e0992e6d4 Don't allow the same value for port in and port out (#1563)
Co-authored-by: lucas lelievre <[email protected]>
2025-10-16 06:08:34 +02:00
gorbit99andlucas lelievre 5be7896d8b Add pausing to the serial console (#1569)
Co-authored-by: lucas lelievre <[email protected]>
2025-10-16 05:45:46 +02:00
lucas lelievre 25c659ba03 Revert "Progress"
This reverts commit e38a4b40b5.
2025-10-10 19:02:50 +02:00
lucas lelievre e38a4b40b5 Progress 2025-10-10 19:02:28 +02:00
Eiren Rain de16acbcf4 New Pontoon translations (#1512) 2025-09-30 00:24:22 +03:00
ErimelandSlimePuppy 486cb295ac Pontoon: Update French (fr) localization of GUI
Co-Authored-By: Erimel <[email protected]>
Co-Authored-By: SlimePuppy <[email protected]>
2025-09-23 21:00:09 +00:00
nekomona dd3fe24294 Pontoon: Update Simplified Chinese (zh-Hans) localization of GUI
Co-authored-by: nekomona <[email protected]>
2025-09-23 21:00:09 +00:00
Alejandro 59bdedecbb Pontoon: Update Latinamerican Spanish (es-419) localization of GUI
Co-authored-by: Alejandro <[email protected]>
2025-09-23 21:00:09 +00:00
fc3d049019 Pontoon: Update Thai (th) localization of GUI
Co-Authored-By: YumeTomo <[email protected]>
Co-Authored-By: Cusmo84 <[email protected]>
Co-Authored-By: Kaiera huzu <[email protected]>
2025-09-23 21:00:09 +00:00
ReDoX de150e7349 Pontoon: Update Polish (pl) localization of GUI
Co-authored-by: ReDoX <[email protected]>
2025-09-23 21:00:09 +00:00
Meow Wei 06b3f61d37 Pontoon: Update Traditional Chinese (zh-Hant) localization of GUI
Co-authored-by: Meow Wei <[email protected]>
2025-09-23 21:00:09 +00:00
BaderandFennT 82b96d5ebe Pontoon: Update Arabic (ar) localization of GUI
Co-Authored-By: Bader <[email protected]>
Co-Authored-By: FennT <[email protected]>
2025-09-23 21:00:09 +00:00
Aed f2b4d468c2 Added Done button to end of mounting calibration (#1557) 2025-09-23 22:59:22 +02:00
Eiren Rain 1c0f5c381b Update CODEOWNERS (#1558) 2025-09-23 23:54:01 +03:00
lucas lelievre fb25421ab0 OOPS 2025-09-23 20:23:51 +00:00
lucas lelievre 4890b4a71c Update CODEOWNERS 2025-09-23 22:17:57 +02:00
lucas lelievre e38732a81c Remove secondary colors usage + improve spacing (#1554) 2025-09-22 21:27:07 +02:00
Eiren Rain 2a78354b17 Disable update prompt on Android (#1547) 2025-09-19 19:55:27 +03:00
Eiren Rain 3fb4347277 Fix Stagered fw update detection (#1544) 2025-09-19 19:55:17 +03:00
Eiren RainandButterscotch! 081e88ead4 Update gui/src/hooks/firmware-update.ts
Co-authored-by: Butterscotch! <[email protected]>
2025-09-18 15:34:56 +03:00
Uriel 73f41f8fc6 Disable update prompt on Android 2025-09-17 19:32:30 -03:00
loucass003 f233f59079 Fix Stagered fw update detection 2025-09-16 23:24:53 +02:00
Eiren Rain 9644b00690 fix: use transaction id in RPC reponses (#1527) 2025-09-16 18:54:12 +03:00
Eiren Rain 543e319c25 HID support on Android (#1532) 2025-09-16 14:57:24 +03:00
Eiren Rain b7ef70f5c6 Bump actions/setup-java from 4 to 5 (#1522) 2025-09-16 14:25:42 +03:00
Eiren Rain af171f8812 Fix Android serial support (#1533) 2025-09-16 14:25:11 +03:00
dependabot[bot] 8ec3cade06 Bump actions/setup-java from 4 to 5
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4 to 5.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-09-16 11:23:12 +00:00
Eiren Rain bec8be46ca Add folder icon option for the file input (#1536) 2025-09-16 14:22:47 +03:00
Eiren Rain ac7f809132 Bump actions/setup-node from 4 to 5 (#1540) 2025-09-16 14:22:10 +03:00
Eiren Rain fcb241fab8 Bump actions/labeler from 5 to 6 (#1541) 2025-09-16 14:21:55 +03:00
Eiren Rain fbdcf2fa2d Race condition patch for constraints (#1535) 2025-09-16 14:21:13 +03:00
Butterscotch! 73c821e07b Merge remote-tracking branch 'upstream/main' into bscotch/android-serial-fix 2025-09-11 16:07:57 -04:00
Butterscotch! 422ddd7ee8 Write serial directly on Android 2025-09-11 16:07:49 -04:00
Butterscotch! 943ad974ec Limit Android serial buffer to 1024 chars 2025-09-11 16:03:57 -04:00
dependabot[bot] 12a5d59e89 Bump actions/labeler from 5 to 6
Bumps [actions/labeler](https://github.com/actions/labeler) from 5 to 6.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-09-08 14:22:53 +00:00
dependabot[bot] 85286651dd Bump actions/setup-node from 4 to 5
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-09-08 14:22:49 +00:00
Uriel e9b3efe3d5 Add folder icon option for the file input 2025-09-05 14:13:54 -04:00
Butterscotch! 75fa1aa1e2 Messy race condition patch for constraints 2025-09-04 06:50:34 -04:00
Butterscotch! 7d642a21f5 Use a read buffer for Android serial
The serial reader on Android does not have a big enough buffer for our serial output, causing issues when parsing it. We can buffer until we reach a newline character to make parsing work.
2025-09-04 06:35:30 -04:00
Butterscotch! 4e1421180c Ensure serial port closure 2025-09-04 04:33:39 -04:00
Butterscotch! f0a72645d7 Clear request more & update usbReceiver comment 2025-09-04 04:27:20 -04:00
Butterscotch! 86b8e0a904 Fix serial staying open after disconnect 2025-09-04 04:18:52 -04:00
Butterscotch! 789e6a6962 Make ACTION_USB_PERMISSION const 2025-09-04 02:37:52 -04:00
Butterscotch! f03b300d72 Use val for usbReceiver 2025-09-04 02:26:36 -04:00
Butterscotch! 6b0822c0f6 Rename HID "Service" to "Manager" 2025-09-04 02:26:08 -04:00
Butterscotch! d9774cab87 Extra requestingPermission handling for new device 2025-09-04 02:24:21 -04:00
Butterscotch! f07f9f3718 Add comments for USB attach/detach events 2025-09-04 02:22:23 -04:00
Butterscotch! 486be0973b Use USB events for serial & re-request permission 2025-09-04 02:17:28 -04:00
Butterscotch! 9246dd00d3 Additional comments 2025-09-04 01:41:01 -04:00
Butterscotch! baf515791d Fix HID service comments 2025-09-04 01:37:15 -04:00
Butterscotch! 876450d764 Make Android USB host mode optional 2025-09-04 01:34:22 -04:00
Butterscotch! 44e90e255b Rename HID classes for clarity 2025-09-04 01:34:06 -04:00
Butterscotch! 41026ab851 Move deviceIdLookup to HIDCommon 2025-09-04 01:28:26 -04:00
Butterscotch! d8509c431d Remove device reattach handling
Events should be good enough :3
2025-09-04 01:05:35 -04:00
Butterscotch! 66df65eb80 Use Android USB events for HID instead of polling 2025-09-04 00:31:43 -04:00
Butterscotch! 30641a5809 Reconnect HID 2025-09-04 00:31:43 -04:00
Butterscotch! 574523daec Persist UsbDeviceConnection 2025-09-04 00:31:43 -04:00
Butterscotch! 1913605d16 De-duplicate HID code 2025-09-04 00:31:42 -04:00
Butterscotch! 8aeecab51f Implement awful reading 2025-09-04 00:29:45 -04:00
Butterscotch! 9fd5d6a187 Initial Android USB HID support 2025-09-04 00:29:45 -04:00
peelz 0c09c22306 fix: use transaction id in RPC reponses 2025-09-01 13:46:48 -04:00
1820 changed files with 132386 additions and 90321 deletions

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
# Copy to .env.local to report to Sentry from local builds.
# Read by the gui (vite), electron and server (gradle) builds. Real environment variables win.
# Rebuild after changing it, the values are baked in at build time.
# Forces a Sentry release. Without it only clean tagged builds report.
# Source maps are never uploaded for a forced release.
SENTRY_RELEASE=v0.0.0-local
# Keeps local events out of production alerts and release health. Defaults to production.
SENTRY_ENVIRONMENT=development
# Leave a DSN empty to disable that part.
SENTRY_GUI_DSN=
SENTRY_ELECTRON_DSN=
SENTRY_SERVER_DSN=
+4 -5
View File
@@ -1,10 +1,9 @@
if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs="
if ! has nix_direnv_version || ! nix_direnv_version 3.1.1; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.1.1/direnvrc" "sha256-p+fzQdrms/hDa7g+soShAybJNo4bN4SIAeSfqNKgD5I="
fi
nix_direnv_watch_file rust-toolchain.toml
nix_direnv_watch_file package.json
if ! use flake . --impure
watch_file package.json
if ! use flake .
then
echo "devenv could not be built. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2
fi
+9
View File
@@ -3,3 +3,12 @@
*.png binary
*.webp binary
*.gif binary
*.ftl -linguist-detectable
# GUI assets (gui/app-next/src/assets)
gui/app-next/src/assets/**/*.webp filter=lfs diff=lfs merge=lfs -text
gui/app-next/src/assets/**/*.webm filter=lfs diff=lfs merge=lfs -text
gui/app-next/src/assets/**/*.gltf filter=lfs diff=lfs merge=lfs -text
gui/app-next/src/assets/**/*.glb filter=lfs diff=lfs merge=lfs -text
gui/app-next/src/assets/**/*.ogg filter=lfs diff=lfs merge=lfs -text
+18 -28
View File
@@ -1,38 +1,28 @@
# Global code owner
* @Eirenliel
# Make everyone be able to approve SolarXR submodule changes
/solarxr-protocol @ButterscotchV @Erimelowo @ImUrX @loucass003
/solarxr-protocol @ButterscotchV @Erimelowo @loucass003
# Make Loucas and Uriel the owners of all GUI stuff
/gui/ @ImUrX @loucass003
/pnpm-lock.yaml @ImUrX @loucass003
/pnpm-workspace.yaml @ImUrX @loucass003
# Make Loucass the owner of all GUI stuff
/gui/ @loucass003
/pnpm-lock.yaml @loucass003
/pnpm-workspace.yaml @loucass003
# Uriel and Erimel responsible for i18n
/gui/public/i18n/ @ImUrX @Erimelowo
/gui/src/i18n/ @ImUrX @Erimelowo
/l10n.toml @ImUrX @Erimelowo
# loucass003 and Erimel responsible for i18n
/gui/public/i18n/ @loucass003 @Erimelowo @ImSapphire
/gui/src/i18n/ @loucass003 @Erimelowo
/l10n.toml @loucass003 @Erimelowo
/gui/src/components/settings/ @Erimelowo @ImUrX @loucass003
/gui/src/components/settings/ @Erimelowo @loucass003
# Rust part of the GUI
/gui/src-tauri/ @ImUrX
/Cargo.lock @ImUrX
# Electron part of the GUI
/gui/electron/ @loucass003
# Some server code~
/server/ @ButterscotchV @Eirenliel @Erimelowo
/server/ @ButterscotchV @loucass003 @Erimelowo
/server/src/main/java/dev/slimevr/autobone/ @ButterscotchV
/server/src/main/java/dev/slimevr/poserecorder/ @ButterscotchV
/server/src/main/java/dev/slimevr/posestreamer/ @ButterscotchV
/server/src/main/java/dev/slimevr/osc/ @Erimelowo
/server/src/main/java/dev/slimevr/tracking/processor/ @Erimelowo
/server/src/main/java/dev/slimevr/filtering/ @Erimelowo
/bindings-provider/ @ImSapphire
# Linux files
*.nix @ImUrX
/flake.lock @ImUrX
/dev.slimevr.SlimeVR.metainfo.xml @ImUrX
/.envrc @ImUrX
*.nix @loucass003
/flake.lock @loucass003
/dev.slimevr.SlimeVR.metainfo.xml @loucass003
/.envrc @loucass003
-37
View File
@@ -1,37 +0,0 @@
"Area: Continuous Integration":
- changed-files:
- any-glob-to-any-file: ".github/**"
"Area: Application Protocol":
- changed-files:
- any-glob-to-any-file: ["solarxr-protocol"]
"Area: AutoBone":
- changed-files:
- any-glob-to-any-file: "server/core/src/main/java/dev/slimevr/autobone/**"
"Area: Documentation":
- changed-files:
- any-glob-to-any-file: "**/*.md"
"Area: GUI":
- all:
- changed-files:
- all-globs-to-any-file: ["gui/**/*", "!gui/public/i18n/**/*"]
"Area: Hardware Protocol":
- changed-files:
- any-glob-to-any-file: "server/core/src/main/java/dev/slimevr/tracking/trackers/udp/**"
"Area: Server":
- changed-files:
- any-glob-to-any-file: ["server/**", "*gradle*", "gradle/**"]
"Area: Skeletal Model":
- changed-files:
- any-glob-to-any-file: "server/core/src/main/java/dev/slimevr/tracking/processor/**"
"Area: SteamVR Driver":
- changed-files:
- any-glob-to-any-file: "server/desktop/src/main/java/dev/slimevr/desktop/platform/**"
"Area: Translation":
- changed-files:
- any-glob-to-any-file: "gui/public/i18n/**"
"Area: VMC":
- changed-files:
- any-glob-to-any-file: ["server/core/src/main/java/dev/slimevr/osc/Unity*", "server/core/src/main/java/dev/slimevr/osc/VMC*", "server/core/src/main/java/dev/slimevr/osc/VRM*"]
"Area: VRCOSC":
- changed-files:
- any-glob-to-any-file: ["server/core/src/main/java/dev/slimevr/osc/VRC*"]
-129
View File
@@ -1,129 +0,0 @@
name: Build GUI
on:
push:
branches:
- main
paths:
- .github/workflows/build-gui.yml
- gui/**
- package*.json
pull_request:
paths:
- .github/workflows/build-gui.yml
- gui/**
- package*.json
workflow_dispatch:
create:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
submodules: recursive
- uses: pnpm/action-setup@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'pnpm'
- name: Build
run: |
pnpm i
cd gui
pnpm run lint
build:
strategy:
fail-fast: false
matrix:
os:
[
ubuntu-22.04,
windows-latest,
macos-latest,
ubuntu-22.04-arm,
windows-11-arm,
]
runs-on: ${{ matrix.os }}
env:
# Don't mark warnings as errors
CI: false
BUILD_ARCH: ${{ endsWith(matrix.os, 'arm') && 'aarch64' || 'amd64' }}
steps:
- uses: actions/checkout@v5
with:
submodules: recursive
- if: startsWith(matrix.os, 'ubuntu')
name: Set up Linux dependencies
uses: awalsh128/[email protected]
with:
packages: libgtk-3-dev webkit2gtk-4.1 libappindicator3-dev librsvg2-dev patchelf
# Increment to invalidate the cache
version: ${{ format('v1.0-{0}', env.BUILD_ARCH) }}
# Enables a workaround to attempt to run pre and post install scripts
execute_install_scripts: true
# Disables uploading logs as a build artifact
debug: false
- if: matrix.os == 'windows-11-arm'
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: false
- name: Cache cargo dependencies
uses: Swatinem/rust-cache@v2
- uses: pnpm/action-setup@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'pnpm'
- name: Install dependencies
shell: bash
run: pnpm i
- name: Build
shell: bash
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
NODE_OPTIONS: ${{ matrix.os == 'macos-latest' && '--max-old-space-size=4096' || '' }}
run: pnpm run skipbundler --config $( ./gui/scripts/gitversion.mjs )
- if: startsWith(matrix.os, 'windows')
name: Upload a Build Artifact (Windows)
uses: actions/upload-artifact@v4
with:
# Artifact name
name: ${{ format('SlimeVR-GUI-Windows-{0}', env.BUILD_ARCH) }}
# A file, directory or wildcard pattern that describes what to upload
path: target/release/slimevr.exe
- if: startsWith(matrix.os, 'ubuntu')
name: Upload a Build Artifact (Linux)
uses: actions/upload-artifact@v4
with:
# Artifact name
name: ${{ format('SlimeVR-GUI-Linux-{0}', env.BUILD_ARCH) }}
# A file, directory or wildcard pattern that describes what to upload
path: target/release/slimevr
- if: matrix.os == 'macos-latest'
name: Upload a Build Artifact (macOS)
uses: actions/upload-artifact@v4
with:
# Artifact name
name: SlimeVR-GUI-macOS
# A file, directory or wildcard pattern that describes what to upload
path: target/release/slimevr
+344
View File
@@ -0,0 +1,344 @@
name: SlimeVR Full Build
on:
push:
branches: [main]
tags: ["v*"]
pull_request:
workflow_dispatch:
jobs:
setup-matrix:
name: Configure Build Matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
matrix-cpp: ${{ steps.set-matrix.outputs.matrix-cpp }}
steps:
- id: set-matrix
shell: bash
run: |
BASE='[{"os":"ubuntu-22.04","platform":"linux"},{"os":"windows-latest","platform":"windows"},{"os":"macos-latest","platform":"macos"}]'
EXTRA='[{"os":"ubuntu-22.04-arm","platform":"linux"},{"os":"windows-11-arm","platform":"windows"}]'
if [[ "${{ github.ref }}" == refs/tags/v* || "${{ github.ref }}" == refs/heads/main || "${{ github.event_name }}" == "workflow_dispatch" ]]; then
RESULT=$(echo "$BASE $EXTRA" | jq -c -s 'add')
else
RESULT=$(echo "$BASE" | jq -c '.')
fi
RESULT_CPP=$(echo "$RESULT" | jq -c '[ .[] | select ( (.platform != "macos") and ( (.platform != "windows") or (.os | endswith("-arm") | not) ) ) ]')
echo "matrix={\"include\":$RESULT}" >> "$GITHUB_OUTPUT"
echo "matrix-cpp={\"include\":$RESULT_CPP}" >> "$GITHUB_OUTPUT"
build-bindings-provider:
name: Build bindings provider for ${{ matrix.os }}
needs: [setup-matrix]
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.setup-matrix.outputs.matrix-cpp) }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v6
with:
submodules: recursive
- if: matrix.platform == 'linux'
name: Install GCC
uses: egor-tensin/setup-gcc@v2
with:
version: 16
- name: Get CMake
uses: lukka/get-cmake@latest
- name: Configure
run: cmake -S bindings-provider/ -B bindings-provider/build -DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build bindings-provider/build --config Release -j6
- name: Upload artifact
uses: actions/upload-artifact@v7
with:
name: bindings-provider-${{ matrix.platform }}-${{ matrix.os }}
path: |
bindings-provider/build/slimevr-bindings-provider
bindings-provider/build/libopenvr_api.so
bindings-provider/build/Release/SlimeVR-Bindings-Provider.exe
bindings-provider/build/openvr_api.dll
gui-checks:
name: Gui Checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
submodules: recursive
- name: Get tags
run: git fetch --tags origin --recurse-submodules=no --force
- name: Setup PNPM
uses: pnpm/action-setup@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version-file: '.node-version'
cache: 'pnpm'
- name: GUI Lint
run: pnpm i && pnpm run lint
server-checks:
name: Server Checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
submodules: recursive
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
java-version: '25'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v6
- name: Server Spotless Check
run: ./gradlew spotlessCheck --build-cache
build-server-jar:
name: Build Desktop Server
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
submodules: recursive
- name: Get tags
run: git fetch --tags origin --recurse-submodules=no --force
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
java-version: '25'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v6
- name: Build ShadowJar
run: ./gradlew :server:desktop:shadowJar --build-cache
env:
SENTRY_SERVER_DSN: ${{ vars.SENTRY_SERVER_DSN }}
- name: Test with Gradle
run: ./gradlew :server:core:jvmTest
- name: Upload Server Jar
uses: actions/upload-artifact@v7
with:
name: server-jar
path: |
server/desktop/build/libs/slimevr.jar
server/core/resources
build-gui-frontend:
name: Build GUI Assets
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
submodules: recursive
- name: Get tags
run: git fetch --tags origin --recurse-submodules=no --force
- name: Setup PNPM
uses: pnpm/action-setup@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version-file: '.node-version'
cache: 'pnpm'
- name: Build JS
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_GUI_DSN: ${{ vars.SENTRY_GUI_DSN }}
SENTRY_ELECTRON_DSN: ${{ vars.SENTRY_ELECTRON_DSN }}
SENTRY_SERVER_DSN: ${{ vars.SENTRY_SERVER_DSN }}
run: pnpm i && pnpm run build
- name: Tar GUI Dist
run: tar -czf slimevr-gui-dist.tar.gz -C gui/electron/out .
- name: Upload GUI Dist
uses: actions/upload-artifact@v7
with:
name: gui-dist
path: slimevr-gui-dist.tar.gz
package-desktop:
name: Package Desktop (${{ matrix.platform }} - ${{ matrix.os }})
needs: [setup-matrix, build-server-jar, build-gui-frontend, build-bindings-provider]
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.setup-matrix.outputs.matrix) }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v6
with:
submodules: recursive
- name: Get tags
run: git fetch --tags origin --recurse-submodules=no --force
- name: Setup PNPM
uses: pnpm/action-setup@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version-file: '.node-version'
cache: 'pnpm'
- name: Download Server Jar
uses: actions/download-artifact@v8
with:
name: server-jar
path: server
- if: contains(fromJson(needs.setup-matrix.outputs.matrix-cpp).include.*.os, matrix.os)
name: Download bindings provider artifact
uses: actions/download-artifact@v8
with:
name: bindings-provider-${{ matrix.platform }}-${{ matrix.os }}
path: bindings-provider/build/${{ matrix.platform == 'windows' && 'win' || 'linux' }}-${{ endsWith(matrix.os, '-arm') && 'arm64' || 'x64' }}
- name: Download GUI Dist
uses: actions/download-artifact@v8
with:
name: gui-dist
- name: Extract GUI for Electron
shell: bash
run: mkdir -p gui/electron/out && tar -xzf slimevr-gui-dist.tar.gz -C gui/electron/out
- name: Run Electron Builder
shell: bash
run: |
mkdir -p gui/electron/dist/artifacts/linux/ \
gui/electron/dist/artifacts/win \
gui/electron/dist/artifacts/mac
VERSION=$(git --no-pager tag --sort -taggerdate --points-at HEAD | head -1)
[ -z "$VERSION" ] && VERSION="0.0.0"
VERSION="${VERSION#v}"
echo "Building version: $VERSION"
pnpm i
cd gui/electron
pnpm exec electron-builder --${{ matrix.platform }} \
${{ matrix.platform == 'macos' && '--universal' || '' }} \
--config.extraMetadata.version="$VERSION" \
--publish never
- name: Collect and Rename Artifacts
shell: bash
run: |
SRC_DIR="${{ github.workspace }}/gui/electron/dist/artifacts"
DEST_DIR="${{ github.workspace }}/release-out"
mkdir -p "$DEST_DIR"
if [ "${{ matrix.platform }}" == "windows" ]; then
[[ "${{ matrix.os }}" == *"arm"* ]] && SUFFIX="win-aarch64" || SUFFIX="win64"
cp "$SRC_DIR"/win/*.zip "$DEST_DIR/SlimeVR-$SUFFIX.zip"
elif [ "${{ matrix.platform }}" == "linux" ]; then
for f in "$SRC_DIR"/linux/*; do
[ -d "$f" ] && continue
BASE=$(basename "$f")
NEW_NAME=$(echo "$BASE" | sed -e 's/x86_64/amd64/g' -e 's/arm64/aarch64/g')
cp "$f" "$DEST_DIR/$NEW_NAME"
done
elif [ "${{ matrix.platform }}" == "macos" ]; then
cp "$SRC_DIR"/mac/*.dmg "$DEST_DIR/SlimeVR-mac.dmg"
fi
echo "Collected files:"
ls -lh "$DEST_DIR"
- name: Upload For Release
uses: actions/upload-artifact@v7
with:
name: release-${{ matrix.platform }}-${{ matrix.os }}
path: release-out/*
bundle-android:
name: Build Android APK
needs: [build-gui-frontend]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
submodules: recursive
- name: Get tags
run: git fetch --tags origin --recurse-submodules=no --force
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
java-version: '25'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v6
- name: Download GUI Dist
uses: actions/download-artifact@v8
with:
name: gui-dist
- name: Extract GUI for Android
run: mkdir -p gui/electron/out && tar -xzf slimevr-gui-dist.tar.gz -C gui/electron/out
- name: Build APK
run: ./gradlew :server:android:build --build-cache
env:
SENTRY_SERVER_DSN: ${{ vars.SENTRY_SERVER_DSN }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
ANDROID_STORE_FILE: ${{ secrets.ANDROID_STORE_FILE }}
ANDROID_STORE_PASSWD: ${{ secrets.ANDROID_STORE_PASSWD }}
ANDROID_KEY_ALIAS: ${{ secrets.ANDROID_KEY_ALIAS }}
ANDROID_KEY_PASSWD: ${{ secrets.ANDROID_KEY_PASSWD }}
- name: Prepare APK
run: cp server/android/build/outputs/apk/release/*.apk ./SlimeVR-android.apk
- name: Upload APK
uses: actions/upload-artifact@v7
with:
name: release-android
path: SlimeVR-android.apk
- name: Build Google Play release bundle
if: startsWith(github.ref, 'refs/tags/')
run: ./gradlew :server:android:bundleRelease
env:
SENTRY_SERVER_DSN: ${{ vars.SENTRY_SERVER_DSN }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
ANDROID_STORE_FILE: ${{ secrets.ANDROID_GPLAY_STORE_FILE }}
ANDROID_STORE_PASSWD: ${{ secrets.ANDROID_GPLAY_STORE_PASSWD }}
ANDROID_KEY_ALIAS: ${{ secrets.ANDROID_GPLAY_KEY_ALIAS }}
ANDROID_KEY_PASSWD: ${{ secrets.ANDROID_GPLAY_KEY_PASSWD }}
- name: Upload the Google Play artifact
uses: actions/upload-artifact@v7
if: startsWith(github.ref, 'refs/tags/')
with:
# Artifact name
name: 'SlimeVR-Android-GPDev' # optional, default is artifact
# A file, directory or wildcard pattern that describes what to upload
path: server/android/build/outputs/bundle/release/*
create-release:
name: Finalize Release Draft
needs: [package-desktop, bundle-android, build-server-jar, build-gui-frontend]
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Download All Release Artifacts
uses: actions/download-artifact@v8
with:
pattern: release-*
path: release-out
merge-multiple: true
- name: Download Server Jar
uses: actions/download-artifact@v8
with:
name: server-jar
path: server
- name: Download GUI Dist
uses: actions/download-artifact@v8
with:
name: gui-dist
- name: Create GitHub Release
uses: softprops/action-gh-release@v3
with:
draft: true
generate_release_notes: true
files: |
release-out/*
server/desktop/build/libs/slimevr.jar
slimevr-gui-dist.tar.gz
@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: '22.x'
@@ -20,13 +20,13 @@ jobs:
run: |
npx @slimevr/update-manifest-generator@latest
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: "update-manifest.json"
path: ./update-manifest.json
- name: Upload update-manifest.json to release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
tag_name: ${{ secrets.UPDATE_MANIFEST_RELEASE_TAG }}
files: ./update-manifest.json
-390
View File
@@ -1,390 +0,0 @@
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: SlimeVR Server
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
create:
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
with:
submodules: recursive
- name: Get tags
run: git fetch --tags origin --recurse-submodules=no --force
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- run: mkdir ./gui/dist && touch ./gui/dist/somefile
shell: bash
- name: Check code formatting
run: ./gradlew spotlessCheck
- name: Test with Gradle
run: ./gradlew test
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
submodules: recursive
- name: Get tags
run: git fetch --tags origin --recurse-submodules=no --force
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Build with Gradle
run: ./gradlew shadowJar
- name: Upload the Server JAR as a Build Artifact
uses: actions/upload-artifact@v4
with:
# Artifact name
name: 'SlimeVR-Server' # optional, default is artifact
# A file, directory or wildcard pattern that describes what to upload
path: server/desktop/build/libs/slimevr.jar
- name: Upload to draft release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
generate_release_notes: true
files: |
server/desktop/build/libs/slimevr.jar
bundle-android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
submodules: recursive
- name: Get tags
run: git fetch --tags origin --recurse-submodules=no --force
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- uses: pnpm/action-setup@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'pnpm'
- name: Install dependencies
run: pnpm i
- name: Build
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
run: cd gui && pnpm run build
- name: Build with Gradle
run: ./gradlew :server:android:assembleDebug
- name: Upload the Android Build Artifact
uses: actions/upload-artifact@v4
with:
# Artifact name
name: 'SlimeVR-Android' # optional, default is artifact
# A file, directory or wildcard pattern that describes what to upload
path: server/android/build/outputs/apk/*
- name: Prepare for release
if: startsWith(github.ref, 'refs/tags/')
run: |
cp server/android/build/outputs/apk/debug/android-debug.apk ./SlimeVR-android.apk
- name: Upload to draft release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
generate_release_notes: true
files: |
./SlimeVR-android.apk
bundle-linux:
strategy:
matrix:
os: [ubuntu-latest, ubuntu-24.04-arm]
runs-on: ${{ matrix.os }}
needs: [build, test]
if: contains(fromJSON('["workflow_dispatch", "create"]'), github.event_name)
env:
BUILD_ARCH: ${{ endsWith(matrix.os, 'arm') && 'aarch64' || 'amd64' }}
steps:
- uses: actions/checkout@v5
with:
submodules: recursive
- uses: actions/download-artifact@v5
with:
name: 'SlimeVR-Server'
path: server/desktop/build/libs/
- name: Set up Linux dependencies
uses: awalsh128/[email protected]
with:
packages: |
build-essential curl wget file libssl-dev libgtk-3-dev libappindicator3-dev librsvg2-dev
# Increment to invalidate the cache
version: ${{ format('v1.0-{0}', env.BUILD_ARCH) }}
# Enables a workaround to attempt to run pre and post install scripts
execute_install_scripts: true
# Disables uploading logs as a build artifact
debug: false
- name: Set up specific Linux versioned dependencies
run: |
sudo apt-get update && sudo apt-get install -y \
libwebkit2gtk-4.1-0=2.44.0-2 \
libwebkit2gtk-4.1-dev=2.44.0-2 \
libjavascriptcoregtk-4.1-0=2.44.0-2 \
libjavascriptcoregtk-4.1-dev=2.44.0-2 \
gir1.2-javascriptcoregtk-4.1=2.44.0-2 \
gir1.2-webkit2-4.1=2.44.0-2;
- name: Cache cargo dependencies
uses: Swatinem/rust-cache@v2
- uses: pnpm/action-setup@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'pnpm'
- name: Install dependencies
run: pnpm i
- name: Build
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
run: pnpm run tauri build --config $( ./gui/scripts/gitversion.mjs )
- name: Make GUI tarball
run: |
tar czf slimevr-gui-dist.tar.gz -C gui/dist/ .
- uses: actions/upload-artifact@v4
if: matrix.os == 'ubuntu-latest'
with:
name: SlimeVR-GUI-Dist
path: ./slimevr-gui-dist.tar.gz
- uses: actions/upload-artifact@v4
with:
name: ${{ format('SlimeVR-GUI-Deb-{0}', env.BUILD_ARCH) }}
path: target/release/bundle/deb/slimevr*.deb
- uses: actions/upload-artifact@v4
with:
name: ${{ format('SlimeVR-GUI-AppImage-{0}', env.BUILD_ARCH) }}
path: target/release/bundle/appimage/slimevr*.AppImage
- uses: actions/upload-artifact@v4
with:
name: ${{ format('SlimeVR-GUI-RPM-{0}', env.BUILD_ARCH) }}
path: target/release/bundle/rpm/slimevr*.rpm
- name: Prepare for release
if: startsWith(github.ref, 'refs/tags/')
run: |
cp target/release/bundle/appimage/slimevr*.AppImage "./SlimeVR-$BUILD_ARCH.appimage"
cp target/release/bundle/deb/slimevr*.deb "./SlimeVR-$BUILD_ARCH.deb"
cp target/release/bundle/rpm/slimevr*.rpm "./SlimeVR-$BUILD_ARCH.rpm"
- name: Upload to draft release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
generate_release_notes: true
files: |
./slimevr-gui-dist.tar.gz
./SlimeVR-*.appimage
./SlimeVR-*.deb
./SlimeVR-*.rpm
bundle-mac:
runs-on: macos-latest
needs: [build, test]
if: contains(fromJSON('["workflow_dispatch", "create"]'), github.event_name)
steps:
- uses: actions/checkout@v5
with:
submodules: recursive
- uses: actions/download-artifact@v5
with:
name: 'SlimeVR-Server'
path: server/desktop/build/libs/
- name: Cache cargo dependencies
uses: Swatinem/rust-cache@v2
- uses: pnpm/action-setup@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'pnpm'
- name: Install dependencies
run: |
rustup target add x86_64-apple-darwin
pnpm i
- name: Build
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
NODE_OPTIONS: --max-old-space-size=4096
run: pnpm run tauri build --target universal-apple-darwin --config $( ./gui/scripts/gitversion.mjs )
- name: Modify Application
run: |
cd target/universal-apple-darwin/release/bundle/macos/slimevr.app/Contents/MacOS
cp $( git rev-parse --show-toplevel )/server/desktop/build/libs/slimevr.jar ./
cd ../../../
/usr/libexec/PlistBuddy -c "Set :CFBundleDisplayName SlimeVR" slimevr.app/Contents/Info.plist
/usr/libexec/PlistBuddy -c "Set :CFBundleName SlimeVR" slimevr.app/Contents/Info.plist
codesign --sign - --deep --force slimevr.app
mv slimevr.app SlimeVR.app
cd ../dmg/
./bundle_dmg.sh --volname SlimeVR --icon slimevr 180 170 --app-drop-link 480 170 \
--window-size 660 400 --hide-extension ../macos/SlimeVR.app \
--volicon ../macos/SlimeVR.app/Contents/Resources/icon.icns --skip-jenkins \
--eula ../../../../../LICENSE-MIT slimevr.dmg ../macos/SlimeVR.app
- uses: actions/upload-artifact@v4
with:
name: SlimeVR-GUI-MacApp
path: target/universal-apple-darwin/release/bundle/macos/SlimeVR*.app
- uses: actions/upload-artifact@v4
with:
name: SlimeVR-GUI-MacDmg
path: target/universal-apple-darwin/release/bundle/dmg/slimevr.dmg
- name: Prepare for release
if: startsWith(github.ref, 'refs/tags/')
run: |
cp target/universal-apple-darwin/release/bundle/dmg/slimevr.dmg ./SlimeVR-mac.dmg
- name: Upload to draft release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
generate_release_notes: true
files: |
./SlimeVR-mac.dmg
bundle-windows:
strategy:
matrix:
os: [windows-latest, windows-11-arm]
runs-on: ${{ matrix.os }}
needs: [build, test]
if: contains(fromJSON('["workflow_dispatch", "create"]'), github.event_name)
env:
BUILD_ARCH: ${{ endsWith(matrix.os, 'arm') && 'win-aarch64' || 'win64' }}
steps:
- uses: actions/checkout@v5
with:
submodules: recursive
- uses: actions/download-artifact@v5
with:
name: 'SlimeVR-Server'
path: server/desktop/build/libs/
- if: matrix.os == 'windows-11-arm'
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: false
- name: Cache cargo dependencies
uses: Swatinem/rust-cache@v2
- uses: pnpm/action-setup@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'pnpm'
- name: Install dependencies
shell: bash
run: pnpm i
- name: Build
shell: bash
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
run: pnpm run skipbundler --config $( ./gui/scripts/gitversion.mjs )
- name: Bundle to zips
shell: bash
run: |
mkdir SlimeVR
cp gui/src-tauri/icons/icon.ico ./SlimeVR/run.ico
cp server/desktop/build/libs/slimevr.jar ./SlimeVR/slimevr.jar
cp server/core/resources/* ./SlimeVR/
cp target/release/slimevr.exe ./SlimeVR/
7z a -tzip "SlimeVR-$BUILD_ARCH.zip" ./SlimeVR/
- uses: actions/upload-artifact@v4
with:
name: ${{ format('SlimeVR-GUI-Windows-{0}', env.BUILD_ARCH) }}
path: ./SlimeVR*.zip
- name: Upload to draft release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
generate_release_notes: true
files: ./SlimeVR-*.zip
-22
View File
@@ -1,22 +0,0 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler
name: Labeler
on: [pull_request_target]
jobs:
label:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
+7 -10
View File
@@ -3,22 +3,19 @@ on:
push:
branches:
- pontoon
jobs:
pull_request:
if: ${{ github.repository == 'SlimeVR/SlimeVR-Server' }}
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
submodules: recursive
- uses: repo-sync/pull-request@v2
with:
destination_branch: "main"
pr_title: "New Pontoon translations"
pr_body: "Please don't squash me 🥺"
pr_label: "Area: Translation"
github_token: ${{ secrets.PONTOON_BOT_KEY }}
- name: pull-request
env:
GH_TOKEN: ${{ secrets.PONTOON_BOT_KEY }}
run: |
gh_pr_up() { gh pr create "$@" --label "Area: Translation" --base main || gh pr edit "$@"; }
gh_pr_up --title "New Pontoon translations" --body "Please don't squash me 🥺"
+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
ref: pontoon
submodules: recursive
+21 -4
View File
@@ -4,8 +4,12 @@
# Syncthing ignore file
.stignore
# Ignore .idea
.idea
# Ignore .idea, except shared project inspection profiles and run configurations
.idea/*
!.idea/inspectionProfiles/
!.idea/inspectionProfiles/*.xml
!.idea/runConfigurations/
!.idea/runConfigurations/*.xml
# Ignore .fleet
.fleet
@@ -34,15 +38,28 @@
# ignore gradle build folder
build/
# Rust build artifacts
/target
# created by clangd for index cache
.cache/
# direnv has been claimed for Nix usage
.direnv/
.devenv
# Git worktrees
.worktree/
# Ignore Android local properties
local.properties
# Ignore temporary config
vrconfig.yml.tmp
# Nixos
.bin/
.env.local
# Fuck claude
.claude
+3
View File
@@ -1,3 +1,6 @@
[submodule "solarxr-protocol"]
path = solarxr-protocol
url = https://github.com/SlimeVR/SolarXR-Protocol.git
[submodule "svr-bindings-provider/openvr"]
path = bindings-provider/openvr
url = https://github.com/ValveSoftware/openvr.git
+6
View File
@@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="ConvertLongToDuration" enabled="false" level="WARNING" enabled_by_default="false" />
</profile>
</component>
+7
View File
@@ -0,0 +1,7 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="PROJECT_PROFILE" value="Project Default" />
<option name="USE_PROJECT_PROFILE" value="true" />
<version value="1.0" />
</settings>
</component>
+11
View File
@@ -0,0 +1,11 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="SlimeVR Desktop" type="JetRunConfigurationType" factoryName="Kotlin">
<module name="SlimeVR_Server.server.desktop.main" />
<option name="MAIN_CLASS_NAME" value="dev.slimevr.desktop.Main" />
<option name="VM_PARAMETERS" value="--enable-native-access=ALL-UNNAMED" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/server/desktop" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
-1
View File
@@ -7,7 +7,6 @@
"gaborv.flatbuffers",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"rust-lang.rust-analyzer",
"bradlc.vscode-tailwindcss",
"EditorConfig.EditorConfig",
"macabeus.vscode-fluent",
+22 -10
View File
@@ -1,5 +1,7 @@
# Contributing to SlimeVR
Please follow general contribution guidelines: [CONTRIBUTING.md](https://github.com/SlimeVR/.github/blob/main/profile/CONTRIBUTING.md).
This document describes essential knowledge required to contribute to the SlimeVR Server.
### Prerequisites
@@ -7,8 +9,6 @@ This document describes essential knowledge required to contribute to the SlimeV
- [Git](https://git-scm.com/downloads)
- [Java v17+](https://adoptium.net/temurin/releases/)
- [Node.js v16.9+](https://nodejs.org) (We recommend the use of `nvm` instead of installing Node.js directly)
- [Microsoft Edge WebView2](https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section) or `webkit2gtk` for Linux
- [Rust](https://rustup.rs)
## Cloning the code
First, clone the codebase using git in a terminal in the folder you want.
@@ -24,21 +24,26 @@ Now you can open the codebase in [IDEA](https://www.jetbrains.com/idea/download/
### Java (server)
Before contributing to the server, read [server/README.md](server/README.md) for an overview of its architecture and design guidelines.
The Java code is built with `gradle`, a CLI tool that manages java projects and their
dependencies.
- You can run the server by running `./gradlew run` in your IDE's terminal.
- You can run the server by running `./gradlew :server:desktop:run` in your IDE's terminal.
- To compile the code, run `./gradlew shadowJar`. The result will
be at `server/build/libs/slimevr.jar` (you can ignore `server.jar`).
be at `server/desktop/build/libs/slimevr.jar` (you can ignore `server.jar`).
(Note: Your IDE may be able to do all of the above for you.)
### Tauri (gui)
### Electron (gui)
- Activate corepack (included with Node.JS) via `corepack enable` (might require administrator permissions)
- Activate corepack (included with Node.js) via `corepack enable`
(might require launching Git Bash as administrator on Windows)
- Make sure you're at the root of the repository.
- Run `pnpm i` in your IDE's terminal to download and install dependencies.
- To launch the GUI in dev mode, run `pnpm gui`.
- Finally, to compile for production, run `pnpm run tauri build`. The result
will be at `target/release/slimevr.exe`.
- If you get an "Electron uninstall" error, run `node .\gui\electron\node_modules\electron\install.js`.
- Finally, to compile for production, run `pnpm package:build` under `gui/electron`.
The result will be in `gui/dist/artifacts/`. Content will change depending on the platform.
## Code style
@@ -84,10 +89,10 @@ Import the formatting settings defined in `spotless.xml`, like this:
Eclipse will only do a subset of the checks in `spotless`, so you may still want to do
`./gradlew spotlessApply` if you ever see an error from spotless.
### Tauri (gui)
### Electron (gui)
We use ESLint and Prettier to format GUI code.
- First, go into the GUI's directory with your terminal by running `cd gui`.
- Make sure you're at the root of the repository.
- To check code formatting, run `pnpm run lint`.
- To fix code formatting, run `pnpm run lint:fix` and `pnpm run format`
@@ -116,3 +121,10 @@ licensed under `GPL-v3`.
## Discord
We use discord *a lot* to coordinate and discuss development. Come join us at
https://discord.gg/SlimeVR!
## Use of AI, LLM, and code generation
**Submission of any content directly from AI is strictly forbidden in all SlimeVR repositories**, including code, documentation, translation, images, sounds, etc. Including, but not limited to: vibe-coding, snippets generated by LLM, AI-generated icons, copilot auto-complete, commit descriptions, PR notes, issues texts and comments. If your auto-complete system suggest next word, function name or variable name - it's okay to use, if it suggest a whole code snipped - it's not allowed.
An exception is using translation tools to communicate with us if you're unable to properly express yourself in English. Please leave a comment that your post was translated and from which language. Submissions of machine translations to repositories are forbidden.
AI is allowed for things such as research, debugging, and questions, if no output of AI is submitted.
Generated
-6401
View File
File diff suppressed because it is too large. Load diff
-16
View File
@@ -1,16 +0,0 @@
[workspace]
# Use 2021 edition resolver, better resolves crate features.
resolver = "2"
# A list of all rust crates in the workspace.
members = ["gui/src-tauri"]
# These settings can be inherited by workspace members
[workspace.package]
edition = "2021"
license = "MIT OR Apache-2.0"
rust-version = "1.75" # Tauri's MSRV
repository = "https://github.com/SlimeVR/SlimeVR-Server"
[profile.release]
lto = "thin"
+5
View File
@@ -22,6 +22,8 @@ Latest setup instructions are [in our docs](https://docs.slimevr.dev/server/inde
## Building & Contributing
For information on building and contributing to the codebase, see [CONTRIBUTING.md](CONTRIBUTING.md).
For an overview of the server architecture and design guidelines, see [server/README.md](server/README.md).
## Translating
Translation is done via Pontoon at [i18n.slimevr.dev](https://i18n.slimevr.dev/). Please join our [Discord translation forum](https://discord.com/channels/817184208525983775/1050413434249949235) to coordinate.
@@ -70,3 +72,6 @@ okay with this and that you are authorized to provide the above licenses.
[LICENSE-MIT]: LICENSE-MIT
[LICENSE-APACHE]: LICENSE-APACHE
[TRADEMARK]: TRADEMARK.md
*if you read this, u cute*
+32 -32
View File
@@ -1,33 +1,33 @@
## SlimeVR is a trademark or a registered trademark of SlimeVR B.V.
**Usage of SlimeVR software, hardware, or other intellectual property in this or other repositories does not grant you the right to use SlimeVR trademark as your own.**
The purpose of a trademark is to remove uncertainty for users and customers regarding the product's manufacturer or endorsement. You're not allowed to market your product using SlimeVR name, and your usage of the name should be only factual and descriptive. For example, calling original SlimeVR products SlimeVR or describing compatibility of other products or derivatives. This applies to all products, including software, and hardware including non-official Full-Body Trackers.
**Here are a few _acceptable_ uses of SlimeVR name when selling unofficial Slime trackers:**
* SlimeVR-compatible trackers
* Unofficial SlimeVR trackers / Non-official SlimeVR trackers
* DIY SlimeVR trackers
* Third-party SlimeVR Trackers
* Custom SlimeVR-compatible trackers
* < Your Brand > Slime Trackers
* Using "SlimeVR" as a search tag
**_Unacceptable_ uses include, but are not limited to:**
* SlimeVR store
* Buy SlimeVR
* SlimeVR Trackers
* Original SlimeVR
* Official SlimeVR
* SlimeVR BMI270 (or any other IMU model along with SlimeVR name)
* < Your brand > SlimeVR / < your brand > SlimeVR Trackers
Use of the SlimeVR name that can cause confusion is not allowed in any part of the listing, including, but not limited to: product title, product description, product metadata, site title, site name, site metadata, site texts, social media posts, or other advertisement.
Also, please ensure you use the correct spelling and capitalization: only **"SlimeVR" is acceptable**. Not "Slimevr", "slimevr", or "Slime VR". You're allowed to use the word "slime" as you wish, it's not a trademark.
Please understand that we have an obligation to reduce confusion for the customers, and we believe that our usage terms are generous compared to many other companies and products. This applies to all sellers or derivative products, we do not make exceptions.
---
## SlimeVR is a trademark or a registered trademark of SlimeVR B.V.
**Usage of SlimeVR software, hardware, or other intellectual property in this or other repositories does not grant you the right to use SlimeVR trademark as your own.**
The purpose of a trademark is to remove uncertainty for users and customers regarding the product's manufacturer or endorsement. You're not allowed to market your product using SlimeVR name, and your usage of the name should be only factual and descriptive. For example, calling original SlimeVR products SlimeVR or describing compatibility of other products or derivatives. This applies to all products, including software, and hardware including non-official Full-Body Trackers.
**Here are a few _acceptable_ uses of SlimeVR name when selling unofficial Slime trackers:**
* SlimeVR-compatible trackers
* Unofficial SlimeVR trackers / Non-official SlimeVR trackers
* DIY SlimeVR trackers
* Third-party SlimeVR Trackers
* Custom SlimeVR-compatible trackers
* < Your Brand > Slime Trackers
* Using "SlimeVR" as a search tag
**_Unacceptable_ uses include, but are not limited to:**
* SlimeVR store
* Buy SlimeVR
* SlimeVR Trackers
* Original SlimeVR
* Official SlimeVR
* SlimeVR BMI270 (or any other IMU model along with SlimeVR name)
* < Your brand > SlimeVR / < your brand > SlimeVR Trackers
Use of the SlimeVR name that can cause confusion is not allowed in any part of the listing, including, but not limited to: product title, product description, product metadata, site title, site name, site metadata, site texts, social media posts, or other advertisement.
Also, please ensure you use the correct spelling and capitalization: only **"SlimeVR" is acceptable**. Not "Slimevr", "slimevr", or "Slime VR". You're allowed to use the word "slime" as you wish, it's not a trademark.
Please understand that we have an obligation to reduce confusion for the customers, and we believe that our usage terms are generous compared to many other companies and products. This applies to all sellers or derivative products, we do not make exceptions.
---
If you have any questions about SlimeVR trademark or copyrighted materials, you can reach out to us at *tm[at]slimevr.dev*.
+299
View File
@@ -0,0 +1,299 @@
---
Language: Cpp
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
AlignConsecutiveAssignments:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: true
AlignConsecutiveBitFields:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveDeclarations:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: true
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveMacros:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveShortCaseStatements:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCaseArrows: false
AlignCaseColons: false
AlignConsecutiveTableGenBreakingDAGArgColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveTableGenCondOperatorColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveTableGenDefinitionColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignEscapedNewlines: Right
AlignOperands: DontAlign
AlignTrailingComments:
Kind: Always
OverEmptyLines: 2
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowBreakBeforeNoexceptSpecifier: Never
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseExpressionOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: false
AllowShortCompoundRequirementOnASingleLine: true
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: false
AllowShortNamespacesOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AttributeMacros:
- __capability
BinPackArguments: true
BinPackLongBracedList: true
BinPackParameters: BinPack
BitFieldColonSpacing: Both
BracedInitializerIndentWidth: -1
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterExternBlock: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakAdjacentStringLiterals: true
BreakAfterAttributes: Leave
BreakAfterJavaFieldAnnotations: false
BreakAfterReturnType: None
BreakArrays: true
BreakBeforeBinaryOperators: All
BreakBeforeConceptDeclarations: Always
BreakBeforeBraces: Attach
BreakBeforeInlineASMColon: OnlyMultiline
BreakBeforeTemplateCloser: false
BreakBeforeTernaryOperators: true
BreakBinaryOperations: Never
BreakConstructorInitializers: BeforeComma
BreakFunctionDefinitionParameters: false
BreakInheritanceList: BeforeColon
BreakStringLiterals: true
BreakTemplateDeclarations: MultiLine
ColumnLimit: 0
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: false
DerivePointerAlignment: false
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
EnumTrailingComma: Leave
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IfMacros:
- KJ_IF_MAYBE
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
SortPriority: 0
CaseSensitive: false
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
SortPriority: 0
CaseSensitive: false
- Regex: '.*'
Priority: 1
SortPriority: 0
CaseSensitive: false
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IndentAccessModifiers: false
IndentCaseBlocks: false
IndentCaseLabels: false
IndentExportBlock: true
IndentExternBlock: AfterExternBlock
IndentGotoLabels: true
IndentPPDirectives: None
IndentRequiresClause: true
IndentWidth: 4
IndentWrappedFunctionNames: false
InsertBraces: false
InsertNewlineAtEOF: false
InsertTrailingCommas: None
IntegerLiteralSeparator:
Binary: 0
BinaryMinDigits: 0
Decimal: 0
DecimalMinDigits: 0
Hex: 0
HexMinDigits: 0
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLines:
AtEndOfFile: false
AtStartOfBlock: true
AtStartOfFile: true
KeepFormFeed: false
LambdaBodyIndentation: Signature
LineEnding: DeriveLF
MacroBlockBegin: ''
MacroBlockEnd: ''
MainIncludeChar: Quote
MaxEmptyLinesToKeep: 1
NamespaceIndentation: Inner
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 4
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: true
OneLineFormatOffRegex: ''
PackConstructorInitializers: BinPack
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakBeforeMemberAccess: 150
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakOpenParenthesis: 0
PenaltyBreakScopeResolution: 500
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyIndentedWhitespace: 0
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Left
PPIndentWidth: -1
QualifierAlignment: Leave
ReferenceAlignment: Pointer
ReflowComments: Always
RemoveBracesLLVM: false
RemoveEmptyLinesInUnwrappedLines: true
RemoveParentheses: Leave
RemoveSemicolon: false
RequiresClausePosition: OwnLine
RequiresExpressionIndentation: OuterScope
SeparateDefinitionBlocks: Leave
ShortNamespaceLines: 1
SkipMacroDefinitionBody: false
SortIncludes:
Enabled: true
IgnoreCase: false
SortJavaStaticImport: Before
SortUsingDeclarations: LexicographicNumeric
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterOperatorKeyword: false
SpaceAfterTemplateKeyword: true
SpaceAroundPointerQualifiers: Default
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeJsonColon: false
SpaceBeforeParens: ControlStatements
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDefinitionName: false
AfterFunctionDeclarationName: false
AfterIfMacros: true
AfterNot: false
AfterOverloadedOperator: false
AfterPlacementOperator: true
AfterRequiresInClause: false
AfterRequiresInExpression: false
BeforeNonEmptyParentheses: false
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: true
SpacesBeforeTrailingComments: 1
SpacesInAngles: Never
SpacesInContainerLiterals: true
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParens: Never
SpacesInParensOptions:
ExceptDoubleParentheses: false
InCStyleCasts: false
InConditionalStatements: false
InEmptyParentheses: false
Other: false
SpacesInSquareBrackets: false
Standard: Latest
StatementAttributeLikeMacros:
- Q_EMIT
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TableGenBreakInsideDAGArg: DontBreak
TabWidth: 8
UseTab: Never
VerilogBreakBetweenInstancePorts: true
WhitespaceSensitiveMacros:
- BOOST_PP_STRINGIZE
- CF_SWIFT_NAME
- NS_SWIFT_NAME
- PP_STRINGIZE
- STRINGIZE
WrapNamespaceBodyWithEmptyLines: Leave
---
Language: Proto
DisableFormat: true
...
+12
View File
@@ -0,0 +1,12 @@
# Garbage left behind on Windows
.vs/
out/
CMakeFiles/
vcpkg_installed/
src/resources/resources.hpp
CMakeCache.txt
build.ninja
*.cmake
*.dll
*.log
+82
View File
@@ -0,0 +1,82 @@
cmake_minimum_required(VERSION 3.26)
project(SlimeVR-Bindings-Provider)
set(SOLARXR_PROTOCOL_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/../solarxr-protocol")
set(FLATBUFFERS_GENERATED_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/../solarxr-protocol/protocol/cpp")
# These are used to determine the OpenVR library path
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
set(PROCESSOR_ARCH "64")
else()
set(PROCESSOR_ARCH "32")
endif()
if(WIN32)
set(OPENVR_LIBRARY_NAME "openvr_api")
set(OPENVR_LIBRARY_EXT "dll")
set(PLATFORM_NAME "win")
elseif(APPLE)
set(OPENVR_LIBRARY_NAME "libopenvr_api")
set(OPENVR_LIBRARY_EXT "dylib")
set(PLATFORM_NAME "osx")
elseif(LINUX)
set(OPENVR_LIBRARY_NAME "libopenvr_api")
set(OPENVR_LIBRARY_EXT "so")
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
set(PLATFORM_NAME "linuxarm")
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
set(PLATFORM_NAME "linux")
else()
message(FATAL_ERROR "Unknown/unsupported CPU architecture")
endif()
else()
message(FATAL_ERROR "Unknown/unsupported platform")
endif()
set(OPENVR_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/openvr")
message(STATUS "OpenVR library search path: ${OPENVR_ROOT}/lib/${PLATFORM_NAME}${PROCESSOR_ARCH}")
find_library(OPENVR_LIBRARY NAMES openvr_api REQUIRED PATHS "${OPENVR_ROOT}/lib/${PLATFORM_NAME}${PROCESSOR_ARCH}/" NO_DEFAULT_PATH)
message(STATUS "Found OpenVR library at: ${OPENVR_LIBRARY}")
add_executable("${PROJECT_NAME}"
"${CMAKE_CURRENT_SOURCE_DIR}/src/paths.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/src/logger.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/src/bridge/BridgeClient.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/src/bridge/BridgeTransport.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/src/vr_utils.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp"
)
set_target_properties("${PROJECT_NAME}" PROPERTIES CXX_STANDARD 23)
target_include_directories("${PROJECT_NAME}" PRIVATE "${SOLARXR_PROTOCOL_ROOT}/lib/flatbuffers/include" "${SOLARXR_PROTOCOL_ROOT}/lib/flatbuffers/" "${FLATBUFFERS_GENERATED_ROOT}/include" "${CMAKE_CURRENT_SOURCE_DIR}/include" "${OPENVR_ROOT}/headers")
target_link_libraries("${PROJECT_NAME}" PRIVATE "${OPENVR_LIBRARY}")
if(WIN32)
target_link_libraries("${PROJECT_NAME}" PRIVATE ws2_32)
endif()
if(LINUX)
set_target_properties("${PROJECT_NAME}" PROPERTIES OUTPUT_NAME slimevr-bindings-provider)
endif()
set(OPENVR_RUNTIME_LIBRARY "${OPENVR_ROOT}/bin/${PLATFORM_NAME}${PROCESSOR_ARCH}/${OPENVR_LIBRARY_NAME}.${OPENVR_LIBRARY_EXT}")
message(STATUS "Found OpenVR runtime library: ${OPENVR_RUNTIME_LIBRARY}")
configure_file("${OPENVR_RUNTIME_LIBRARY}" "${CMAKE_CURRENT_BINARY_DIR}/." COPYONLY)
# Embed the resources into resources.hpp
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS
src/resources/manifest.vrmanifest
src/resources/action_manifest.json
src/resources/generic.json
src/resources/knuckles.json
src/resources/oculus_touch.json
src/resources/vive_controller.json
)
file(STRINGS src/resources/manifest.vrmanifest SVR_VRAPP_MANIFEST NEWLINE_CONSUME)
file(STRINGS src/resources/action_manifest.json SVR_VRAPP_ACTION_MANIFEST NEWLINE_CONSUME)
file(STRINGS src/resources/generic.json SVR_VRAPP_GENERIC_BINDS NEWLINE_CONSUME)
file(STRINGS src/resources/knuckles.json SVR_VRAPP_KNUCKLES_BINDS NEWLINE_CONSUME)
file(STRINGS src/resources/oculus_touch.json SVR_VRAPP_OCULUS_BINDS NEWLINE_CONSUME)
file(STRINGS src/resources/vive_controller.json SVR_VRAPP_VIVE_BINDS NEWLINE_CONSUME)
configure_file(src/resources/resources.hpp.in src/resources/resources.hpp @ONLY)
target_include_directories("${PROJECT_NAME}" PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/src")
+12
View File
@@ -0,0 +1,12 @@
$ErrorActionPreference = "Stop"
if ((Get-Command "clang-format" -ErrorAction SilentlyContinue) -eq $null) {
$errorObj = New-Object System.IO.FileNotFoundException("clang-format is not installed, please install clang-format via your package manager (e.g. winget/chocolatey/scoop) and re-run the script")
throw $errorObj
}
$SourceFiles = Get-ChildItem -Path '.\src\' -Recurse -Include "*.cpp","*.hpp"
foreach ($file in $SourceFiles) {
Write-Output "Formatting $(Resolve-Path -Relative $file.FullName)"
clang-format -i "$($file.FullName)"
}
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
if ! command -v clang-format >/dev/null 2>&1; then
echo "clang-format is not installed, please install clang-format via your package manager (e.g. pacman/apt/dnf/winget) and re-run the script" >&2
exit 1
fi
find src/ \( \
-iname '*.cpp' \
-or -iname '*.hpp' \
\) \
-exec echo Formatting {} \; \
-exec clang-format -i {} \;
@@ -0,0 +1,52 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// SPDX-FileCopyrightText: (c) 2026 Eiren Rain and SlimeVR Contributors
#include "BridgeClient.hpp"
#include "BridgeTransport.hpp"
#include <system_error>
using namespace std::literals::chrono_literals;
namespace fs = std::filesystem;
void BridgeClient::CreateConnection() {
fs::path path = GetSocketPath();
Socket fd = socket(AF_UNIX, SOCK_STREAM, 0);
if (fd == InvalidSocket) {
int err = GetLastSocketError();
throw std::system_error(err, std::system_category(), "socket() failed");
}
if (last_path_ != path) {
Logger::Get().Info("Trying to connect to socket {}", path.string());
last_path_ = path;
}
struct sockaddr_un addr{
.sun_family = AF_UNIX,
};
const std::u8string path_str = path.u8string();
if (path_str.size() > std::size(addr.sun_path) - 1) {
CloseSocket(fd);
throw std::runtime_error("Socket path too long to fit in sun_path");
}
memcpy(addr.sun_path, path_str.data(), path_str.size() + 1);
int ret = connect(fd, reinterpret_cast<const struct sockaddr*>(&addr), sizeof(addr));
if (ret == SocketError) {
int err = GetLastSocketError();
CloseSocket(fd);
throw std::system_error(err, std::system_category(), "connect() failed");
}
Logger::Get().Info("Connected to {}", path.string());
ret = SetNonBlocking(fd);
if (ret == SocketError) {
int err = GetLastSocketError();
Logger::Get().Warning("Failed to set socket into non-blocking mode: {}", std::error_code(err, std::system_category()).message());
}
fd_ = fd;
}
@@ -0,0 +1,20 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// SPDX-FileCopyrightText: (c) 2026 Eiren Rain and SlimeVR Contributors
#pragma once
#include "BridgeTransport.hpp"
/**
* @brief Client implementation of @ref BridgeTransport for communication with SlimeVR Server using unix sockets.
*
* @copydoc BridgeTransport
*/
class BridgeClient : public BridgeTransport {
public:
using BridgeTransport::BridgeTransport;
private:
void CreateConnection() override;
std::filesystem::path last_path_;
};
@@ -0,0 +1,234 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// SPDX-FileCopyrightText: (c) 2026 Eiren Rain and SlimeVR Contributors
#include "BridgeTransport.hpp"
#include "Endianness.hpp"
#include <solarxr_protocol/generated/all_generated.h>
#include <system_error>
#ifdef _WIN32
#include <winerror.h>
#endif
using namespace std::chrono_literals;
namespace fs = std::filesystem;
#define UNIX_XDG_DATA_HOME_DEFAULT ".local/share/"
#define SLIMEVR_IDENTIFIER "dev.slimevr.SlimeVR"
#define UNIX_DEFAULT_TMP_DIR "/tmp"
#define SOCKET_NAME "SlimeVRRpc"
void BridgeTransport::Stop() {
if (!thread_.joinable() && !reconnect_thread_.joinable())
return;
Logger::Get().Info("Bridge stopping");
StopAsync();
thread_ = std::jthread();
reconnect_thread_ = std::jthread();
}
void BridgeTransport::StopAsync() {
thread_.request_stop();
reconnect_thread_.request_stop();
cv_.notify_all();
}
fs::path BridgeTransport::GetSocketPath() {
std::vector<fs::path> paths = {};
if (const char* dir_override = std::getenv("SLIMEVR_SOCKET_DIR")) {
paths.push_back(fs::path(dir_override) / SOCKET_NAME);
}
#ifndef _WIN32
if (const char* xdg_runtime = std::getenv("XDG_RUNTIME_DIR")) {
paths.push_back(fs::path(xdg_runtime) / SOCKET_NAME);
}
if (const char* xdg_data = std::getenv("XDG_DATA_HOME")) {
paths.push_back(fs::path(xdg_data) / SLIMEVR_IDENTIFIER / SOCKET_NAME);
}
if (const char* home = std::getenv("HOME")) {
paths.push_back(fs::path(home) / UNIX_XDG_DATA_HOME_DEFAULT / SLIMEVR_IDENTIFIER / SOCKET_NAME);
}
#endif
std::error_code ec;
for (auto path : paths) {
if (fs::exists(path, ec)
#ifdef _WIN32
|| ec.value() == ERROR_CANT_ACCESS_FILE // Windows moment???
#endif
) {
return path;
}
}
#ifdef _WIN32
// This should work as long as the user's machine does not have
// the java.io.tmpdir system property overriden.
WCHAR tmp_dir[MAX_PATH + 1];
GetTempPathW(std::size(tmp_dir), tmp_dir);
return fs::path(tmp_dir) / SOCKET_NAME;
#else
if (const char* tmp_dir = std::getenv("TMPDIR")) {
return fs::path(tmp_dir) / SOCKET_NAME;
} else {
return fs::path(UNIX_DEFAULT_TMP_DIR) / SOCKET_NAME;
}
#endif
}
void BridgeTransport::OnRecv(std::span<uint8_t> event) {
if (!message_callback_)
return;
auto bundle = flatbuffers::GetRoot<solarxr_protocol::MessageBundle>(event.data());
if (auto data_feed_msgs = bundle->data_feed_msgs()) {
for (auto msg : *data_feed_msgs) {
// Logger::Get().Debug("Got message DataFeedMessage::{}", EnumNameDataFeedMessage(msg->message_type()));
message_callback_(msg);
}
}
if (auto rpc_msgs = bundle->rpc_msgs()) {
for (auto msg : *rpc_msgs) {
Logger::Get().Debug("Got message RpcMessage::{}", EnumNameRpcMessage(msg->message_type()));
message_callback_(msg);
}
}
if (auto driver_msgs = bundle->driver_msgs()) {
for (auto msg : *driver_msgs) {
// Logger::Get().Debug("Got message DriverMessage::{}", EnumNameDriverMessage(msg->message_type()));
message_callback_(msg);
}
}
}
void BridgeTransport::Start() {
thread_ = std::jthread([this](std::stop_token stop) { return RunThread(stop); });
}
void BridgeTransport::RunThread(std::stop_token stop) {
std::vector<uint8_t> data;
data.reserve(0x10000);
// Kick off connection.
ResetConnection();
while (!stop.stop_requested()) {
std::shared_lock fd_lock(fd_mutex_);
if (fd_ == InvalidSocket) [[unlikely]] {
cv_.wait(fd_lock, stop, [this] { return fd_ != InvalidSocket; });
if (stop.stop_requested())
break;
}
try {
ptrdiff_t ret = Poll(fd_, 1ms);
if (ret == 0) [[likely]] {
// No data on the socket after timeout
continue;
}
uint32_t msg_len;
ret = ReadFully(fd_, stop, &msg_len, sizeof(msg_len));
if (ret == 0) [[unlikely]] {
throw std::runtime_error("EOF");
}
msg_len = ConvertEndianness<std::endian::little>(msg_len);
// If we get something bigger than this, something's probably up
if (msg_len > 0x40000) [[unlikely]] {
throw std::runtime_error(std::format("Got too large message ({} bytes)", msg_len));
}
const uint32_t unwrapped_len = msg_len - 4;
data.reserve(unwrapped_len);
ret = ReadFully(fd_, stop, data.data(), unwrapped_len);
if (ret == 0) [[unlikely]] {
throw std::runtime_error("EOF");
}
OnRecv({ data.data(), unwrapped_len });
} catch (Cancelled&) {
continue;
} catch (std::exception& e) {
Logger::Get().Error("Error on socket: {}", e.what());
error_callback_(e);
fd_lock.unlock();
ResetConnection();
}
}
CloseConnectionHandles();
}
void BridgeTransport::ResetConnection() {
CloseConnectionHandles();
reconnect_thread_ = std::jthread([this](std::stop_token stop) {
while (!stop.stop_requested()) {
try {
std::unique_lock fd_lock(fd_mutex_);
CreateConnection();
assert(fd_ != InvalidSocket);
cv_.notify_all();
// connect callback may call a function that needs to block on the fd
fd_lock.unlock();
OnConnect();
return;
} catch (std::system_error& e) {
if (last_error_ != e.code()) {
Logger::Get().Error("Error when trying to connect: {}", e.what());
last_error_ = e.code();
}
error_callback_(e);
} catch (std::exception& e) {
Logger::Get().Error("Error when trying to connect: {}", e.what());
error_callback_(e);
}
std::this_thread::sleep_for(100ms);
}
});
}
void BridgeTransport::CloseConnectionHandles() {
std::unique_lock fd_lock(fd_mutex_);
if (fd_ == InvalidSocket)
return;
CloseSocket(fd_);
OnDisconnect();
fd_ = InvalidSocket;
}
void BridgeTransport::SendMessage(const flatbuffers::FlatBufferBuilder& fbb) {
std::shared_lock fd_lock(fd_mutex_);
if (fd_ == InvalidSocket) [[unlikely]]
return;
std::lock_guard write_lock(write_mutex_);
if (fbb.GetSize() + 4 > std::numeric_limits<uint32_t>::max()) [[unlikely]] {
Logger::Get().Warning("Skipping send of message (wrapped size larger than 32-bit unsigned integer limit)");
return;
}
const uint32_t size = static_cast<uint32_t>(fbb.GetSize());
const uint32_t le_wrapped_size = ConvertEndianness<std::endian::little>(size + 4);
try {
WriteFully(fd_, &le_wrapped_size, sizeof(le_wrapped_size));
WriteFully(fd_, fbb.GetBufferPointer(), size);
} catch (std::exception& e) {
Logger::Get().Error("Failed to write message: {}", e.what());
}
}
@@ -0,0 +1,343 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// SPDX-FileCopyrightText: (c) 2026 Eiren Rain and SlimeVR Contributors
#pragma once
#include <condition_variable>
#include <filesystem>
#include <shared_mutex>
#include <span>
#include <system_error>
#include <thread>
#include <variant>
// Needs to be before anything that includes Windows.h to avoid macro clashes
#include <solarxr_protocol/generated/all_generated.h>
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <Winsock2.h>
#include <afunix.h>
// Microsoft why
#undef ERROR
#undef SendMessage
#else
#include <fcntl.h>
#include <poll.h>
#include <sys/socket.h>
#include <sys/un.h>
#endif
#include "../logger.hpp"
/**
* @brief Passes messages between SlimeVR Server and SteamVR Driver using Unix sockets.
*
* Client or Server connection handling is implemented by extending this class.
*
* This class provides a set of methods to start, stop an IO thread, and send messages over a Unix socket.
*
* When a message is received and parsed from the pipe, the on_message_received function passed in the constructor is called
* from the bridge thread with the message as a parameter.
*
* @param logger A shared pointer to an Logger object to log messages from the transport.
* @param on_message_received A function to be called from event loop thread when a message is received and parsed from the pipe.
* @param on_connect A function to be called when the socket is connected to.
* @param on_disconnect A function to be called when the connection is ended.
*/
class BridgeTransport {
public:
using MessageHeader = std::variant<const solarxr_protocol::data_feed::DataFeedMessageHeader*, const solarxr_protocol::rpc::RpcMessageHeader*, const solarxr_protocol::driver_protocol::DriverMessageHeader*>;
#ifdef _WIN32
using Socket = SOCKET;
constexpr static Socket InvalidSocket = INVALID_SOCKET;
constexpr static int SocketError = SOCKET_ERROR;
#else
using Socket = int;
constexpr static Socket InvalidSocket = -1;
constexpr static int SocketError = -1;
#endif
static inline int GetLastSocketError() {
#ifdef _WIN32
return WSAGetLastError();
#else
return errno;
#endif
}
static inline int CloseSocket(Socket fd) {
#ifdef _WIN32
return closesocket(fd);
#else
return close(fd);
#endif
}
static inline bool IsBlockingError(int err) {
#ifdef _WIN32
return err == WSAEWOULDBLOCK;
#else
return err == EAGAIN || err == EWOULDBLOCK;
#endif
}
static inline int SetNonBlocking(Socket fd) {
#ifdef _WIN32
u_long mode = 1;
return ioctlsocket(fd, FIONBIO, &mode);
#else
return fcntl(fd, F_SETFL, O_NONBLOCK);
#endif
}
/**
* @brief Exception thrown when IO is cancelled by stop token.
*/
class Cancelled : public std::exception {
public:
Cancelled() noexcept { };
~Cancelled() { };
const char* what() const noexcept override {
return "IO operation cancelled";
}
};
/**
* @brief Read @a size bytes from @a fd into @a data, retrying until all data is read or an error occurs.
*
* @throws @ref Cancelled stop was requested on @a stop
* @throws std::system_error error returned on socket
* @returns @ref SocketError on fail, otherwise number of bytes read
*/
static ptrdiff_t ReadFully(Socket fd, std::stop_token stop, void* data, size_t size) {
ptrdiff_t ret;
size_t received = 0;
while (!stop.stop_requested() && received < size) {
ret = recv(fd, reinterpret_cast<char*>(data) + received, size - received, 0);
if (ret == 0) // EOF
return ret;
if (ret == SocketError) [[unlikely]] {
int err = GetLastSocketError();
if (IsBlockingError(err)) [[likely]] {
// we couldn't read because it would block, just try again
continue;
} else {
throw std::system_error(err, std::system_category(), "recv() failed");
}
}
received += ret;
}
if (stop.stop_requested())
throw Cancelled();
return received;
}
/**
* @brief Write @a size bytes from @a data to @a fd, retrying until all data is written or an error occurs.
*
* @throws std::system_error error returned on socket
*
* @returns @ref SocketError on fail, otherwise number of bytes written
*/
static inline ptrdiff_t WriteFully(Socket fd, const void* data, size_t size) {
#ifdef __linux__
constexpr int flags = MSG_NOSIGNAL;
#else
constexpr int flags = 0;
#endif
ptrdiff_t ret;
size_t sent = 0;
while (sent < size) {
ret = send(fd, reinterpret_cast<const char*>(data) + sent, size - sent, flags);
if (ret == SocketError) [[unlikely]] {
int err = GetLastSocketError();
if (IsBlockingError(err)) [[likely]] {
// we couldn't write because it would block, just try again
continue;
} else {
throw std::system_error(err, std::system_category(), "send() failed");
}
}
sent += ret;
}
return sent;
}
/**
* @brief Wait for input to be ready on @a fd, timing out after @a timeout.
*
* @param fd file descriptor to poll
* @param timeout amount of time to wait before giving up
*
* @throws std::system_error error returned when polling
* @throws std::runtime_error error on socket, or hang up was detected
*
* @returns @ref 0 if there is no data, positive value if there is data
*/
template <typename Rep, typename Period>
static int Poll(Socket fd, std::chrono::duration<Rep, Period> timeout) noexcept(false) {
struct pollfd pollfd{
.fd = fd,
.events = POLLIN,
};
int ret;
#ifdef _WIN32
ret = WSAPoll(&pollfd, 1, std::chrono::duration_cast<std::chrono::milliseconds>(timeout).count());
#else
{
auto s = std::chrono::duration_cast<std::chrono::seconds>(timeout);
auto ns = std::chrono::duration_cast<std::chrono::nanoseconds>(timeout - s);
struct timespec ts{
.tv_sec = s.count(),
.tv_nsec = ns.count(),
};
ret = ppoll(&pollfd, 1, timeout == timeout.zero() ? nullptr : &ts, nullptr);
}
#endif
#ifdef _WIN32
constexpr int InterruptedErrno = WSAEINTR;
#else
constexpr int InterruptedErrno = EINTR;
#endif
if (ret == SocketError) {
int err = GetLastSocketError();
throw std::system_error(err, std::system_category(), "Poll() failed");
}
if ((pollfd.revents & (POLLERR | POLLHUP)) != 0) {
throw std::runtime_error("Socket connection lost");
}
return pollfd.revents & POLLIN;
}
BridgeTransport(std::function<void(MessageHeader&&)> on_message_received = {},
std::function<void()> on_connect = {},
std::function<void()> on_disconnect = {},
std::function<void(std::exception&)> on_error = {})
: connect_callback_(on_connect)
, message_callback_(on_message_received)
, disconnect_callback_(on_disconnect)
, error_callback_(on_error) {
#ifdef _WIN32
WSADATA _ws_data;
if (int ret = WSAStartup(MAKEWORD(2, 2), &_ws_data); ret != 0) {
Logger::Get().Error("WSAStartup failed with code {}", ret);
return;
}
#endif
}
virtual ~BridgeTransport() {
Stop();
#ifdef _WIN32
WSACleanup();
#endif
}
/**
* @brief Starts the channel by creating a thread.
*
* Connects and automatic reconnects with a timeout are implemented internally.
*/
void Start();
/**
* @brief Stops the channel by stopping the thread and closing the connection handles.
*
* Blocks until the thread is stopped and the connection handles are closed.
*/
void Stop();
/**
* @brief Stops the channel asynchronously and returns immediately.
*/
void StopAsync();
/**
* @brief Sends a message over the channel, you must Finish() the builder before calling this.
*
* @param message The message to send.
*/
void SendMessage(const flatbuffers::FlatBufferBuilder& fbb);
/**
* @brief Checks if the channel is connected.
*
* @return true if the channel is connected, false otherwise.
*/
bool IsConnected() const {
std::shared_lock fd_lock(fd_mutex_);
return fd_ != InvalidSocket;
};
protected:
/**
* @brief Try to create a connection.
*
* Called while an exclusive lock is taken on @ref fd_mutex_.
* Make sure this doesn't block as it will hold up shutdown.
*
* @ref fd_ must be initialised if this returns without throwing.
*
* @throws std::system_error I/O error when creating connection
* @throws std::exception failed to create connection
*/
virtual void CreateConnection() = 0;
/**
* @brief Close the current socket if it's connected.
*
* Locks @ref fd_mutex_, do not call this with the mutex locked.
*/
void ResetConnection();
/**
* @brief Closes the current connection, must be called while an exclusive lock is taken on the mutex.
*/
void CloseConnectionHandles();
void OnConnect() {
if (connect_callback_)
connect_callback_();
}
void OnRecv(std::span<uint8_t> event);
void OnDisconnect() {
if (disconnect_callback_)
disconnect_callback_();
}
static std::filesystem::path GetSocketPath();
/// Guards @ref fd_ and the condition variable @ref cv_.
mutable std::shared_mutex fd_mutex_;
/// Guards write operations.
mutable std::mutex write_mutex_;
/// Signaled on connection, or when we're exiting.
std::condition_variable_any cv_;
Socket fd_ = InvalidSocket;
private:
void RunThread(std::stop_token stop);
std::function<void()> connect_callback_;
std::function<void(MessageHeader&&)> message_callback_;
std::function<void()> disconnect_callback_;
std::function<void(std::exception&)> error_callback_;
std::jthread thread_;
std::jthread reconnect_thread_;
std::optional<std::error_code> last_error_;
};
@@ -0,0 +1,17 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// SPDX-FileCopyrightText: (c) 2026 Eiren Rain and SlimeVR Contributors
#pragma once
#include <bit>
#include <type_traits>
template <std::endian Endianness, typename T>
requires(std::is_integral_v<T>)
inline T ConvertEndianness(T v) {
// I don't really care about mixed endianness..
if constexpr (std::endian::native == Endianness) {
return v;
} else {
return std::byteswap(v);
}
}
+21
View File
@@ -0,0 +1,21 @@
#include "logger.hpp"
#include "paths.hpp"
#ifdef _WIN32
#define WIN32_MEAN_AND_LEAN
#include <Windows.h>
#endif
Logger::Logger()
: log_stream(Paths::GetLogPath() / "slimevr-bindings-provider.log",
std::ios::out | std::ios::app)
#ifdef _WIN32
, should_log_to_std_streams(GetConsoleWindow() != nullptr)
#endif
{
}
Logger& Logger::Get() {
static Logger logger;
return logger;
}
+77
View File
@@ -0,0 +1,77 @@
#pragma once
#include <cassert>
#include <chrono>
#include <format>
#include <fstream>
#include <iomanip>
#include <iostream>
class Logger {
private:
std::ofstream log_stream;
#ifdef _WIN32
bool should_log_to_std_streams;
#endif
template <bool important, typename... Args>
void Log(std::string_view suffix, std::format_string<Args...> fmt,
Args&&... args) {
auto now = std::chrono::system_clock::now();
auto time_t = std::chrono::system_clock::to_time_t(now);
auto s = std::format(fmt, std::forward<Args>(args)...);
#ifdef _WIN32
if (should_log_to_std_streams) {
#endif
if constexpr (important)
std::cerr << suffix << ' ' << s << '\n';
else
std::cout << suffix << ' ' << s << '\n';
#ifdef _WIN32
}
#endif
log_stream << std::put_time(std::localtime(&time_t), "[%F %T]") //
<< ' ' << suffix << ' ' << s << '\n';
}
public:
Logger();
template <typename... Args>
void Debug(std::format_string<Args...> fmt, Args&&... args) {
#ifndef NDEBUG
Log<false>("[DEBUG]", fmt, std::forward<Args>(args)...);
#endif
}
template <typename... Args>
void Info(std::format_string<Args...> fmt, Args&&... args) {
Log<false>("[INFO]", fmt, std::forward<Args>(args)...);
}
template <typename... Args>
void Warning(std::format_string<Args...> fmt, Args&&... args) {
Log<true>("[WARN]", fmt, std::forward<Args>(args)...);
}
template <typename... Args>
void Error(std::format_string<Args...> fmt, Args&&... args) {
Log<true>("[ERROR]", fmt, std::forward<Args>(args)...);
}
void Flush() {
#ifdef _WIN32
if (should_log_to_std_streams) {
#endif
std::cerr.flush();
std::cout.flush();
#ifdef _WIN32
}
#endif
log_stream.flush();
}
static Logger& Get();
};
+298
View File
@@ -0,0 +1,298 @@
#include <csignal>
#include <map>
#include <optional>
#include <thread>
#include <tuple>
// These must be included before Windows.h because of some macro collisions.
#include "flatbuffers/flatbuffers.h"
#include "solarxr_protocol/generated/all_generated.h"
#include "bridge/BridgeClient.hpp"
#include "logger.hpp"
#include "vr_utils.hpp"
#include "openvr.h"
#ifdef _WIN32
#define WIN32_MEAN_AND_LEAN
#define NOMINMAX
#include <Windows.h>
#else
#include <cstdlib>
#endif
namespace fs = std::filesystem;
using namespace std::chrono_literals;
using namespace solarxr_protocol;
static void ShutdownVR(vr::IVRSystem* _sys) { vr::VR_Shutdown(); }
static void OnYawReset(BridgeTransport& conn) {
flatbuffers::FlatBufferBuilder fbb;
auto resetReq = rpc::CreateResetRequest(fbb, rpc::ResetType::YAW, 0, 0.f);
auto msgHeader = rpc::CreateRpcMessageHeader(fbb, 0, 0, rpc::RpcMessage::ResetRequest, resetReq.Union());
auto rpcMsgs = fbb.CreateVector({ msgHeader });
auto bundle = CreateMessageBundle(fbb, 0, rpcMsgs);
fbb.Finish(bundle);
conn.SendMessage(fbb);
}
static void OnFullReset(BridgeTransport& conn) {
flatbuffers::FlatBufferBuilder fbb;
auto resetReq = rpc::CreateResetRequest(fbb, rpc::ResetType::FULL, 0, 0.f);
auto msgHeader = rpc::CreateRpcMessageHeader(fbb, 0, 0, rpc::RpcMessage::ResetRequest, resetReq.Union());
auto rpcMsgs = fbb.CreateVector({ msgHeader });
auto bundle = CreateMessageBundle(fbb, 0, rpcMsgs);
fbb.Finish(bundle);
conn.SendMessage(fbb);
}
static void OnMountingCalibration(BridgeTransport& conn) {
flatbuffers::FlatBufferBuilder fbb;
auto resetReq = rpc::CreateResetRequest(fbb, rpc::ResetType::MOUNTING, 0, 0.f);
auto msgHeader = rpc::CreateRpcMessageHeader(fbb, 0, 0, rpc::RpcMessage::ResetRequest, resetReq.Union());
auto rpcMsgs = fbb.CreateVector({ msgHeader });
auto bundle = CreateMessageBundle(fbb, 0, rpcMsgs);
fbb.Finish(bundle);
conn.SendMessage(fbb);
}
static void OnFeetMountingCalibration(BridgeTransport& conn) {
flatbuffers::FlatBufferBuilder fbb;
auto bodyParts = fbb.CreateVector(
{ datatypes::BodyPart::LEFT_FOOT, datatypes::BodyPart::RIGHT_FOOT });
auto resetReq = rpc::CreateResetRequest(fbb, rpc::ResetType::MOUNTING, bodyParts, 0.f);
auto msgHeader = rpc::CreateRpcMessageHeader(fbb, 0, 0, rpc::RpcMessage::ResetRequest, resetReq.Union());
auto rpcMsgs = fbb.CreateVector({ msgHeader });
auto bundle = CreateMessageBundle(fbb, 0, rpcMsgs);
fbb.Finish(bundle);
conn.SendMessage(fbb);
}
static void OnToggleTracking(BridgeTransport& conn) {
static bool shouldPause = false;
flatbuffers::FlatBufferBuilder fbb;
shouldPause = !shouldPause;
auto toggleReq = rpc::CreateSetPauseTrackingRequest(fbb, shouldPause);
auto msgHeader = rpc::CreateRpcMessageHeader(fbb, 0, 0, rpc::RpcMessage::SetPauseTrackingRequest, toggleReq.Union());
auto rpcMsgs = fbb.CreateVector({ msgHeader });
auto bundle = CreateMessageBundle(fbb, 0, rpcMsgs);
fbb.Finish(bundle);
conn.SendMessage(fbb);
}
sig_atomic_t should_exit = 0;
static void OnSignal(int signal) {
Logger::Get().Info("Received signal {}", signal);
should_exit = 1;
}
int main() {
auto& logger = Logger::Get();
// Steam and SteamVR respectively set these environment variables on applications that
// they spawn, which the SteamVR client library (vrclient) will then use as the
// application key when initiating the connection with vrserver. This may not
// be ideal if we are launched by another Steam or OpenVR application, as we will inherit
// their app key through the environment, which means SteamVR will load the wrong bindings.
// A real-world example of this is if someone uses an application such as OpenVR-Autostarter
// to start the SlimeVR Server. OpenVR-Autostarter installs an application manifest with the
// app key "dreiekk.openvr-autostarter", so when it starts SlimeVR Server, which then starts us,
// the STEAMVR_APPKEY="dreiekk.openvr-autostarter" environment variable will be set.
//
// We want SteamVR to use the appkey of the Steam version of our application if possible.
// Unfortunately, we cannot install an application vrmanifest to force the app key,
// as SteamVR requires a binary path in the manifest to consider it valid. We do not want to install
// a manifest with a binary path because we want the SlimeVR Server to start us when the
// driver initiates a connection, rather than getting auto-started by SteamVR.
//
// This is not documented anywhere publicly, see CVRClient::SendConnectMessage in vrclient instead.
constexpr const char* STEAM_APPID = "3245490";
constexpr const char* STEAMVR_APPKEY = "steam.overlay.3245490";
#ifdef _WIN32
SetEnvironmentVariableA("SteamAppId", STEAM_APPID);
SetEnvironmentVariableA("STEAMVR_APPKEY", STEAMVR_APPKEY);
#else
setenv("SteamAppId", STEAM_APPID, 1);
setenv("STEAMVR_APPKEY", STEAMVR_APPKEY, 1);
#endif
try {
BridgeClient conn(nullptr, nullptr, [] { should_exit = 1; }, [](std::exception&) { should_exit = 1; });
conn.Start();
std::unique_ptr<vr::IVRSystem, decltype(&ShutdownVR)> sys{ nullptr, ShutdownVR };
// On vrlink, VR_Init returns
// VRInitError_Driver_WirelessHmdNotConnected while the connection
// is initialising, so keep calling VR_Init until it ends up
// succeeding
vr::EVRInitError err{ vr::VRInitError_Driver_WirelessHmdNotConnected };
while (err == vr::VRInitError_Driver_WirelessHmdNotConnected) {
sys.reset(vr::VR_Init(&err, vr::VRApplication_Background));
if (err == vr::VRInitError_Driver_WirelessHmdNotConnected)
std::this_thread::sleep_for(500ms);
}
if (sys == nullptr or err != vr::VRInitError_None) {
logger.Error("Failed to init OpenVR: {} ({})",
vr::VR_GetVRInitErrorAsSymbol(err),
vr::VR_GetVRInitErrorAsEnglishDescription(err));
return 1;
}
logger.Info("Initialised OpenVR, HMD model '{}'", VRUtils::GetStringProp(vr::k_unTrackedDeviceIndex_Hmd, vr::Prop_ModelNumber_String).value_or("<unknown>"));
vr::IVRApplications* app = vr::VRApplications();
vr::IVRInput* input = vr::VRInput();
fs::path actionManifestPath;
std::tie(std::ignore, actionManifestPath) = VRUtils::InitialiseManifests();
// We don't want our app key to randomly change if SteamVR decides to honour
// application manifests with no binary path. Instead let it generate an
// app key based on the executable name (system.generated.[lowercase executable name])
#if false
if (auto err = app->AddApplicationManifest(appManifestPath.string().data(), true);
err != vr::VRApplicationError_None) {
logger.error("Failed to add application manifest: {}",
app->GetApplicationsErrorNameFromEnum(err));
return 1;
}
#endif
// SetActionManifestPath may return IPCError if vrserver is busy and takes
// too long to reply, so keep invoking until it succeeds
{
vr::EVRInputError err;
constexpr int max_tries = 5;
int tries = 0;
while ((err = input->SetActionManifestPath(actionManifestPath.string().data())) == vr::VRInputError_IPCError && tries++ < max_tries) {
logger.Debug("IPC error loading action manifest, retrying ({}/{})", tries, max_tries);
std::this_thread::sleep_for(20ms);
}
if (err != vr::VRInputError_None) {
logger.Error("Failed to set action manifest path: {}", std::to_underlying(err));
return 1;
}
}
vr::VRActionSetHandle_t action_set;
if (auto err = input->GetActionSetHandle("/actions/main", &action_set);
err != vr::VRInputError_None) {
logger.Error("Failed to get main action set handle: {}", std::to_underlying(err));
return 1;
}
std::map<std::string, std::tuple<vr::VRActionHandle_t, std::function<void(BridgeTransport&)>>>
actions{
{ "/actions/main/in/YawReset", std::make_tuple(vr::k_ulInvalidActionHandle, OnYawReset) },
{ "/actions/main/in/FullReset", std::make_tuple(vr::k_ulInvalidActionHandle, OnFullReset) },
{ "/actions/main/in/MountingCalibration", std::make_tuple(vr::k_ulInvalidActionHandle, OnMountingCalibration) },
{ "/actions/main/in/FeetMountingCalibration", std::make_tuple(vr::k_ulInvalidActionHandle, OnFeetMountingCalibration) },
{ "/actions/main/in/ToggleTracking", std::make_tuple(vr::k_ulInvalidActionHandle, OnToggleTracking) },
};
for (auto& [name, tuple] : actions) {
auto& [handle, _] = tuple;
if (auto err = input->GetActionHandle(name.c_str(), &handle);
err != vr::VRInputError_None || handle == vr::k_ulInvalidActionHandle) {
logger.Warning("Failed to get action handle for action {}: {}", name,
std::to_underlying(err));
}
}
constexpr auto interval = 1000ms / 30;
signal(SIGINT, OnSignal);
signal(SIGTERM, OnSignal);
while (!should_exit) {
vr::VREvent_t event{};
while (sys->PollNextEvent(&event, sizeof(event))) {
switch (event.eventType) {
case vr::VREvent_Quit:
logger.Info("OpenVR runtime requested quit");
should_exit = 1;
break;
case vr::VREvent_Input_BindingLoadFailed: {
auto& loadData = event.data.inputBinding;
logger.Debug("Binding load failed (ulAppContainer={} pathMessage={} pathUrl={} pathControllerType={})",
loadData.ulAppContainer, loadData.pathMessage, loadData.pathUrl, loadData.pathControllerType);
break;
}
case vr::VREvent_Input_BindingLoadSuccessful: {
auto& loadData = event.data.inputBinding;
logger.Debug("Binding load successful (ulAppContainer={} pathMessage={} pathUrl={} pathControllerType={})",
loadData.ulAppContainer, loadData.pathMessage, loadData.pathUrl, loadData.pathControllerType);
break;
}
case vr::VREvent_Input_ActionManifestReloaded:
logger.Debug("Action manifest reloaded");
break;
case vr::VREvent_Input_ActionManifestLoadFailed: {
auto& manifestData = event.data.actionManifest;
logger.Debug(
"Action manifest load failed (pathAppKey={} pathMessage={} pathMessageParam={} pathManifestPath={})",
manifestData.pathAppKey, manifestData.pathMessage, manifestData.pathMessageParam, manifestData.pathManifestPath);
break;
}
default:
break;
}
}
vr::VRActiveActionSet_t set{
.ulActionSet = action_set,
.ulRestrictedToDevice = vr::k_ulInvalidInputValueHandle,
.ulSecondaryActionSet = vr::k_ulInvalidActionSetHandle,
.nPriority = 0,
};
if (auto err = input->UpdateActionState(&set, sizeof(set), 1);
err != vr::VRInputError_None) {
logger.Warning("Error when updating action states: {}",
std::to_underlying(err));
}
for (auto& [name, tuple] : actions) {
auto& [handle, callback] = tuple;
vr::InputDigitalActionData_t action_data{};
if (auto err = input->GetDigitalActionData(
handle, &action_data, sizeof(action_data),
vr::k_ulInvalidInputValueHandle);
err != vr::VRInputError_None) {
logger.Warning("Failed to get action state for {} ({}): {}", name, handle, std::to_underlying(err));
continue;
}
if (action_data.bActive && action_data.bChanged && action_data.bState) {
logger.Debug("Action {} triggered", name);
callback(conn);
}
}
logger.Flush();
std::this_thread::sleep_for(interval);
}
logger.Info("Main loop done");
} catch (std::exception& ex) {
logger.Error("Exception in main: {}", ex.what());
logger.Flush();
return 1;
}
logger.Flush();
return 0;
}
+54
View File
@@ -0,0 +1,54 @@
#include "paths.hpp"
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <Windows.h>
#undef GetTempPath
#endif
namespace fs = std::filesystem;
fs::path Paths::GetDataPath() {
fs::path basePath{};
#if defined(__linux__)
if (const char* dataHomeOverride = getenv("XDG_DATA_HOME")) {
basePath = dataHomeOverride;
} else {
const char* homeDir = getenv("HOME");
if (homeDir == nullptr)
throw std::runtime_error("HOME is unset");
basePath = fs::path(homeDir) / ".local" / "share";
}
#elif defined(_WIN32)
{
const char* appData = getenv("APPDATA");
if (appData == nullptr)
throw std::runtime_error("APPDATA is unset");
basePath = appData;
}
#else
#error "Unsupported platform"
#endif
return basePath / "dev.slimevr.SlimeVR";
}
fs::path Paths::GetLogPath() { return Paths::GetDataPath() / "logs"; }
fs::path Paths::GetTempPath() noexcept {
#ifdef _WIN32
WCHAR tmp_dir[MAX_PATH + 1];
GetTempPathW(std::size(tmp_dir), tmp_dir);
return tmp_dir;
#else
if (const char* tmp_dir = getenv("TMPDIR")) {
return tmp_dir;
}
return "/tmp";
#endif
}
+13
View File
@@ -0,0 +1,13 @@
#pragma once
#include <filesystem>
namespace Paths {
// Throws when path cannot be found
std::filesystem::path GetDataPath() noexcept(false);
// Throws when path cannot be found
std::filesystem::path GetLogPath() noexcept(false);
std::filesystem::path GetTempPath() noexcept;
} // namespace Paths
@@ -0,0 +1,64 @@
{
"default_bindings": [
{
"controller_type": "generic",
"binding_url": "generic.json"
},
{
"controller_type": "oculus_touch",
"binding_url": "oculus_touch.json"
},
{
"controller_type": "knuckles",
"binding_url": "knuckles.json"
},
{
"controller_type": "vive_controller",
"binding_url": "vive_controller.json"
}
],
"actions": [
{
"name": "/actions/main/in/YawReset",
"requirement": "optional",
"type": "boolean"
},
{
"name": "/actions/main/in/FullReset",
"requirement": "optional",
"type": "boolean"
},
{
"name": "/actions/main/in/MountingCalibration",
"requirement": "optional",
"type": "boolean"
},
{
"name": "/actions/main/in/FeetMountingCalibration",
"requirement": "optional",
"type": "boolean"
},
{
"name": "/actions/main/in/ToggleTracking",
"requirement": "optional",
"type": "boolean"
}
],
"action_sets": [
{
"name": "/actions/main",
"usage": "leftright"
}
],
"localization": [
{
"language_tag": "en_us",
"/actions/main": "Utility Bindings",
"/actions/main/in/YawReset": "Yaw Reset",
"/actions/main/in/FullReset": "Full Reset",
"/actions/main/in/MountingCalibration": "Mounting Calibration",
"/actions/main/in/FeetMountingCalibration": "Feet Mounting Calibration",
"/actions/main/in/ToggleTracking": "Toggle Tracking"
}
]
}
@@ -0,0 +1,12 @@
{
"name": "Default Bindings for Generic",
"controller_type": "generic",
"bindings": {
"/actions/main": {
"sources": [],
"skeleton": [],
"haptics": [],
"poses": []
}
}
}
@@ -0,0 +1,12 @@
{
"name": "Default Bindings for Knuckles",
"controller_type": "knuckles",
"bindings": {
"/actions/main": {
"sources": [],
"skeleton": [],
"haptics": [],
"poses": []
}
}
}
@@ -0,0 +1,14 @@
{
"source": "builtin",
"applications": [{
"app_key": "dev.slimevr.BindingsProvider",
"is_dashboard_overlay": false,
"action_manifest_path": "action_manifest.json",
"strings": {
"en_us": {
"name": "SlimeVR Bindings Provider",
"description": "SlimeVR Bindings Provider"
}
}
}]
}
@@ -0,0 +1,12 @@
{
"name": "Default Bindings for Oculus Touch",
"controller_type": "oculus_touch",
"bindings": {
"/actions/main": {
"sources": [],
"skeleton": [],
"haptics": [],
"poses": []
}
}
}
@@ -0,0 +1,8 @@
#pragma once
#cmakedefine SVR_VRAPP_MANIFEST R"(@SVR_VRAPP_MANIFEST@)"
#cmakedefine SVR_VRAPP_ACTION_MANIFEST R"(@SVR_VRAPP_ACTION_MANIFEST@)"
#cmakedefine SVR_VRAPP_GENERIC_BINDS R"(@SVR_VRAPP_GENERIC_BINDS@)"
#cmakedefine SVR_VRAPP_KNUCKLES_BINDS R"(@SVR_VRAPP_KNUCKLES_BINDS@)"
#cmakedefine SVR_VRAPP_OCULUS_BINDS R"(@SVR_VRAPP_OCULUS_BINDS@)"
#cmakedefine SVR_VRAPP_VIVE_BINDS R"(@SVR_VRAPP_VIVE_BINDS@)"
@@ -0,0 +1,12 @@
{
"name": "Default Bindings for Vive Wands",
"controller_type": "vive_controller",
"bindings": {
"/actions/main": {
"sources": [],
"skeleton": [],
"haptics": [],
"poses": []
}
}
}
+72
View File
@@ -0,0 +1,72 @@
#include "vr_utils.hpp"
#include "logger.hpp"
#include "paths.hpp"
#include "resources/resources.hpp"
#include <array>
#include <fstream>
#include <string_view>
#include <utility>
namespace fs = std::filesystem;
std::optional<std::string>
VRUtils::GetStringProp(vr::TrackedDeviceIndex_t deviceIndex,
vr::ETrackedDeviceProperty prop) {
vr::IVRSystem* sys = vr::VRSystem();
vr::ETrackedPropertyError err{ vr::TrackedProp_Success };
uint32_t required_len = sys->GetStringTrackedDeviceProperty(deviceIndex, prop, nullptr, 0, &err);
if (err != vr::TrackedProp_BufferTooSmall) {
Logger::Get().Info(
"Failed to get size of string property {} for device {}: {}",
std::to_underlying(prop), deviceIndex,
sys->GetPropErrorNameFromEnum(err));
return std::nullopt;
}
std::string s(required_len - 1, '\0');
sys->GetStringTrackedDeviceProperty(deviceIndex, prop, s.data(), required_len,
&err);
if (err != vr::TrackedProp_Success) {
Logger::Get().Info("Failed to get string property {} for device {}: {}",
std::to_underlying(prop), deviceIndex,
sys->GetPropErrorNameFromEnum(err));
return std::nullopt;
}
return s;
}
std::tuple<fs::path, fs::path> VRUtils::InitialiseManifests() {
fs::path manifestDir = Paths::GetDataPath() / "bindings-provider";
std::error_code ec;
fs::create_directories(manifestDir, ec);
if (ec) {
throw std::runtime_error(
std::format("Failed to create manifest folder: {}", ec.message()));
}
using namespace std::string_view_literals;
// Make sure the vrmanifest and action manifest are 1st and 2nd respectively
// in the array
std::array requiredFiles{
std::make_pair("manifest.vrmanifest"sv, SVR_VRAPP_MANIFEST),
std::make_pair("action_manifest.json"sv, SVR_VRAPP_ACTION_MANIFEST),
std::make_pair("generic.json"sv, SVR_VRAPP_GENERIC_BINDS),
std::make_pair("knuckles.json"sv, SVR_VRAPP_KNUCKLES_BINDS),
std::make_pair("oculus_touch.json"sv, SVR_VRAPP_OCULUS_BINDS),
std::make_pair("vive_controller.json"sv, SVR_VRAPP_VIVE_BINDS),
};
for (auto& [name, contents] : requiredFiles) {
fs::path path = manifestDir / name;
if (!fs::exists(path)) {
std::ofstream stream(path);
stream << contents;
}
}
return { manifestDir / requiredFiles.at(0).first,
manifestDir / requiredFiles.at(1).first };
}
+16
View File
@@ -0,0 +1,16 @@
#pragma once
#include <filesystem>
#include <optional>
#include <string>
#include <tuple>
#include "openvr.h"
namespace VRUtils {
std::optional<std::string> GetStringProp(vr::TrackedDeviceIndex_t deviceIndex,
vr::ETrackedDeviceProperty prop);
// Returns <app vrmanifest path, action manifest json path>
std::tuple<std::filesystem::path, std::filesystem::path> InitialiseManifests();
} // namespace VRUtils
-3
View File
@@ -1,3 +0,0 @@
plugins {
id("org.ajoberstar.grgit")
}
+36
View File
@@ -0,0 +1,36 @@
# Crowdin Configuration File
# https://developer.crowdin.com/configuration-file/
files:
- source: /gui/app/public/i18n/en/translation.ftl
translation: /gui/app/public/i18n/%locale%/%original_file_name%
update_option: update_as_unapproved
languages_mapping:
locale:
zh-CN: zh-Hans
zh-TW: zh-Hant
nb: nb-NO
sv: sv-SE
fr: fr
de: de
it: it
ja: ja
ko: ko
ar: ar
cs: cs
da: da
el: el
es-419: es-419
et: et
fi: fi
he: he
lt: lt
nl: nl
pl: pl
ru: ru
th: th
tr: tr
uk: uk
vi: vi
# In-context editor pseudo-language
ach-UG: ach-UG
-242
View File
@@ -1,242 +0,0 @@
# This template contains all of the possible sections and their default values
# Note that all fields that take a lint level have these possible values:
# * deny - An error will be produced and the check will fail
# * warn - A warning will be produced, but the check will not fail
# * allow - No warning or error will be produced, though in some cases a note
# will be
# The values provided in this template are the default values that will be used
# when any section or field is not specified in your own configuration
# Root options
# The graph table configures how the dependency graph is constructed and thus
# which crates the checks are performed against
[graph]
# If 1 or more target triples (and optionally, target_features) are specified,
# only the specified targets will be checked when running `cargo deny check`.
# This means, if a particular package is only ever used as a target specific
# dependency, such as, for example, the `nix` crate only being used via the
# `target_family = "unix"` configuration, that only having windows targets in
# this list would mean the nix crate, as well as any of its exclusive
# dependencies not shared by any other crates, would be ignored, as the target
# list here is effectively saying which targets you are building for.
targets = [
# The triple can be any string, but only the target triples built in to
# rustc (as of 1.40) can be checked against actual config expressions
#"x86_64-unknown-linux-musl",
# You can also specify which target_features you promise are enabled for a
# particular target. target_features are currently not validated against
# the actual valid features supported by the target architecture.
#{ triple = "wasm32-unknown-unknown", features = ["atomics"] },
]
# When creating the dependency graph used as the source of truth when checks are
# executed, this field can be used to prune crates from the graph, removing them
# from the view of cargo-deny. This is an extremely heavy hammer, as if a crate
# is pruned from the graph, all of its dependencies will also be pruned unless
# they are connected to another crate in the graph that hasn't been pruned,
# so it should be used with care. The identifiers are [Package ID Specifications]
# (https://doc.rust-lang.org/cargo/reference/pkgid-spec.html)
#exclude = []
# If true, metadata will be collected with `--all-features`. Note that this can't
# be toggled off if true, if you want to conditionally enable `--all-features` it
# is recommended to pass `--all-features` on the cmd line instead
all-features = false
# If true, metadata will be collected with `--no-default-features`. The same
# caveat with `all-features` applies
no-default-features = false
# If set, these feature will be enabled when collecting metadata. If `--features`
# is specified on the cmd line they will take precedence over this option.
#features = []
# The output table provides options for how/if diagnostics are outputted
[output]
# When outputting inclusion graphs in diagnostics that include features, this
# option can be used to specify the depth at which feature edges will be added.
# This option is included since the graphs can be quite large and the addition
# of features from the crate(s) to all of the graph roots can be far too verbose.
# This option can be overridden via `--feature-depth` on the cmd line
feature-depth = 1
# This section is considered when running `cargo deny check advisories`
# More documentation for the advisories section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
[advisories]
# The path where the advisory databases are cloned/fetched into
#db-path = "$CARGO_HOME/advisory-dbs"
# The url(s) of the advisory databases to use
#db-urls = ["https://github.com/rustsec/advisory-db"]
# A list of advisory IDs to ignore. Note that ignored advisories will still
# output a note when they are encountered.
ignore = [
#"RUSTSEC-0000-0000",
#{ id = "RUSTSEC-0000-0000", reason = "you can specify a reason the advisory is ignored" },
#"[email protected]", # you can also ignore yanked crate versions if you wish
#{ crate = "[email protected]", reason = "you can specify why you are ignoring the yanked crate" },
]
# If this is true, then cargo deny will use the git executable to fetch advisory database.
# If this is false, then it uses a built-in git library.
# Setting this to true can be helpful if you have special authentication requirements that cargo-deny does not support.
# See Git Authentication for more information about setting up git authentication.
#git-fetch-with-cli = true
# This section is considered when running `cargo deny check licenses`
# More documentation for the licenses section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
[licenses]
# List of explicitly allowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"Unicode-3.0",
"Unicode-DFS-2016",
"MIT-0",
"ISC",
"BSD-3-Clause",
"Zlib",
"MPL-2.0",
]
# The confidence threshold for detecting a license from license text.
# The higher the value, the more closely the license text must be to the
# canonical license text of a valid SPDX license file.
# [possible values: any between 0.0 and 1.0].
confidence-threshold = 0.8
# Allow 1 or more licenses on a per-crate basis, so that particular licenses
# aren't accepted for every possible crate as with the normal allow list
exceptions = [
# Each entry is the crate and version constraint, and its specific allow
# list
#{ allow = ["Zlib"], crate = "adler32" },
]
# Some crates don't have (easily) machine readable licensing information,
# adding a clarification entry for it allows you to manually specify the
# licensing information
#[[licenses.clarify]]
# The package spec the clarification applies to
#crate = "ring"
# The SPDX expression for the license requirements of the crate
#expression = "MIT AND ISC AND OpenSSL"
# One or more files in the crate's source used as the "source of truth" for
# the license expression. If the contents match, the clarification will be used
# when running the license check, otherwise the clarification will be ignored
# and the crate will be checked normally, which may produce warnings or errors
# depending on the rest of your configuration
#license-files = [
# Each entry is a crate relative path, and the (opaque) hash of its contents
#{ path = "LICENSE", hash = 0xbd0eed23 }
#]
[licenses.private]
# If true, ignores workspace crates that aren't published, or are only
# published to private registries.
# To see how to mark a crate as unpublished (to the official registry),
# visit https://doc.rust-lang.org/cargo/reference/manifest.html#the-publish-field.
ignore = false
# One or more private registries that you might publish crates to, if a crate
# is only published to private registries, and ignore is true, the crate will
# not have its license(s) checked
registries = [
#"https://sekretz.com/registry
]
# This section is considered when running `cargo deny check bans`.
# More documentation about the 'bans' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
[bans]
# Lint level for when multiple versions of the same crate are detected
multiple-versions = "warn"
# Lint level for when a crate version requirement is `*`
wildcards = "allow"
# The graph highlighting used when creating dotgraphs for crates
# with multiple versions
# * lowest-version - The path to the lowest versioned duplicate is highlighted
# * simplest-path - The path to the version with the fewest edges is highlighted
# * all - Both lowest-version and simplest-path are used
highlight = "all"
# The default lint level for `default` features for crates that are members of
# the workspace that is being checked. This can be overridden by allowing/denying
# `default` on a crate-by-crate basis if desired.
workspace-default-features = "allow"
# The default lint level for `default` features for external crates that are not
# members of the workspace. This can be overridden by allowing/denying `default`
# on a crate-by-crate basis if desired.
external-default-features = "allow"
# List of crates that are allowed. Use with care!
allow = [
#"[email protected]",
#{ crate = "[email protected]", reason = "you can specify a reason it is allowed" },
]
# List of crates to deny
deny = [
#"[email protected]",
#{ crate = "[email protected]", reason = "you can specify a reason it is banned" },
# Wrapper crates can optionally be specified to allow the crate when it
# is a direct dependency of the otherwise banned crate
#{ crate = "[email protected]", wrappers = ["this-crate-directly-depends-on-ansi_term"] },
]
# List of features to allow/deny
# Each entry the name of a crate and a version range. If version is
# not specified, all versions will be matched.
#[[bans.features]]
#crate = "reqwest"
# Features to not allow
#deny = ["json"]
# Features to allow
#allow = [
# "rustls",
# "__rustls",
# "__tls",
# "hyper-rustls",
# "rustls",
# "rustls-pemfile",
# "rustls-tls-webpki-roots",
# "tokio-rustls",
# "webpki-roots",
#]
# If true, the allowed features must exactly match the enabled feature set. If
# this is set there is no point setting `deny`
#exact = true
# Certain crates/versions that will be skipped when doing duplicate detection.
skip = [
#"[email protected]",
#{ crate = "[email protected]", reason = "you can specify a reason why it can't be updated/removed" },
]
# Similarly to `skip` allows you to skip certain crates during duplicate
# detection. Unlike skip, it also includes the entire tree of transitive
# dependencies starting at the specified crate, up to a certain depth, which is
# by default infinite.
skip-tree = [
#"[email protected]", # will be skipped along with _all_ of its direct and transitive dependencies
#{ crate = "[email protected]", depth = 20 },
]
# This section is considered when running `cargo deny check sources`.
# More documentation about the 'sources' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html
[sources]
# Lint level for what to happen when a crate from a crate registry that is not
# in the allow list is encountered
unknown-registry = "warn"
# Lint level for what to happen when a crate from a git repository that is not
# in the allow list is encountered
unknown-git = "warn"
# List of URLs for allowed crate registries. Defaults to the crates.io index
# if not specified. If it is specified but empty, no registries are allowed.
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
# List of URLs for allowed Git repositories
allow-git = []
[sources.allow-org]
# 1 or more github.com organizations to allow git sources for
github = [""]
# 1 or more gitlab.com organizations to allow git sources for
gitlab = [""]
# 1 or more bitbucket.org organizations to allow git sources for
bitbucket = [""]
Generated
+12 -315
View File
@@ -1,295 +1,30 @@
{
"nodes": {
"cachix": {
"inputs": {
"devenv": [
"devenv"
],
"flake-compat": [
"devenv"
],
"git-hooks": [
"devenv",
"git-hooks"
],
"nixpkgs": [
"devenv",
"nixpkgs"
]
},
"locked": {
"lastModified": 1748883665,
"narHash": "sha256-R0W7uAg+BLoHjMRMQ8+oiSbTq8nkGz5RDpQ+ZfxxP3A=",
"owner": "cachix",
"repo": "cachix",
"rev": "f707778d902af4d62d8dd92c269f8e70de09acbe",
"type": "github"
},
"original": {
"owner": "cachix",
"ref": "latest",
"repo": "cachix",
"type": "github"
}
},
"devenv": {
"inputs": {
"cachix": "cachix",
"flake-compat": "flake-compat",
"git-hooks": "git-hooks",
"nix": "nix",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1750800495,
"narHash": "sha256-wBTGFNCx3Gr3BkNkEoFrKx9+d7otSdQesCDCPGDKZHk=",
"owner": "cachix",
"repo": "devenv",
"rev": "b33ab3610c084a7e3fabc5eefaeb437449f1efe7",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "devenv",
"type": "github"
}
},
"fenix": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"rust-analyzer-src": "rust-analyzer-src"
},
"locked": {
"lastModified": 1750833544,
"narHash": "sha256-e5W27mfPGiM35qr0DjTUzLHP4ET2MbvRc4HJHScw/ko=",
"owner": "nix-community",
"repo": "fenix",
"rev": "c3940d9ff4d37e965e5841149367234c2aad1ab6",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "fenix",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1747046372,
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
"devenv",
"nix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1733312601,
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_2": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1749398372,
"narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=",
"lastModified": 1790898470,
"narHash": "sha256-zTwuwezD0w3hpga6a6P8emidzAZFyWqlNeRBlpWOOl8=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569",
"type": "github"
},
"original": {
"id": "flake-parts",
"type": "indirect"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
"narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"git-hooks": {
"inputs": {
"flake-compat": [
"devenv",
"flake-compat"
],
"gitignore": "gitignore",
"nixpkgs": [
"devenv",
"nixpkgs"
]
},
"locked": {
"lastModified": 1749636823,
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "623c56286de5a3193aa38891a6991b28f9bab056",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "git-hooks.nix",
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
"devenv",
"git-hooks",
"nixpkgs"
]
},
"locked": {
"lastModified": 1709087332,
"owner": "hercules-ci",
"repo": "gitignore.nix",
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
"rev": "024633cd702b10285db5cb19b40ad48d2399ba60",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "gitignore.nix",
"type": "github"
}
},
"mk-shell-bin": {
"locked": {
"lastModified": 1677004959,
"narHash": "sha256-/uEkr1UkJrh11vD02aqufCxtbF5YnhRTIKlx5kyvf+I=",
"owner": "rrbutani",
"repo": "nix-mk-shell-bin",
"rev": "ff5d8bd4d68a347be5042e2f16caee391cd75887",
"type": "github"
},
"original": {
"owner": "rrbutani",
"repo": "nix-mk-shell-bin",
"type": "github"
}
},
"nix": {
"inputs": {
"flake-compat": [
"devenv",
"flake-compat"
],
"flake-parts": "flake-parts",
"git-hooks-nix": [
"devenv",
"git-hooks"
],
"nixpkgs": "nixpkgs",
"nixpkgs-23-11": [
"devenv"
],
"nixpkgs-regression": [
"devenv"
]
},
"locked": {
"lastModified": 1750117611,
"narHash": "sha256-LTwASICtyN3AjzlF9l2ZNAIVZqclio3yRcwwZy3QSJA=",
"owner": "cachix",
"repo": "nix",
"rev": "9e4fc95c388e2223d47da865503dee20d179776a",
"type": "github"
},
"original": {
"owner": "cachix",
"ref": "devenv-2.30",
"repo": "nix",
"type": "github"
}
},
"nix2container": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1749158376,
"narHash": "sha256-uirStFNxauh0lxzBowcp28X+Sq7JgsBIDnbwbAfZwf8=",
"owner": "nlewo",
"repo": "nix2container",
"rev": "0f8974c58755dba441df03598eefd1e1cd50e341",
"type": "github"
},
"original": {
"owner": "nlewo",
"repo": "nix2container",
"type": "github"
}
},
"nixgl": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1713543440,
"narHash": "sha256-lnzZQYG0+EXl/6NkGpyIz+FEOc/DSEG57AP1VsdeNrM=",
"owner": "guibou",
"repo": "nixGL",
"rev": "310f8e49a149e4c9ea52f1adf70cdc768ec53f8a",
"type": "github"
},
"original": {
"owner": "guibou",
"repo": "nixGL",
"repo": "flake-parts",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1747179050,
"narHash": "sha256-qhFMmDkeJX9KJwr5H32f1r7Prs7XbQWtO0h3V0a0rFY=",
"lastModified": 1790822859,
"narHash": "sha256-69xHQhAeMAD2wDXO7T2pcOZIF9Sga2W+JkmY2a11Ops=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "adaa24fbf46737f3f1b5497bf64bae750f82942e",
"rev": "c59305bab2065cfecc4944690d9eedbb56f3a9fa",
"type": "github"
},
"original": {
@@ -301,11 +36,11 @@
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1748740939,
"narHash": "sha256-rQaysilft1aVMwF14xIdGS3sj1yHlI6oKQNBRTF40cc=",
"lastModified": 1790477367,
"narHash": "sha256-oujbxmVKDhci2E4EM3KyAbRUgp5/IsCoiA/LfEF7OOk=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "656a64127e9d791a334452c6b6606d17539476e2",
"rev": "f7cd230690d9fc982d06129f9189b101fddcfa3b",
"type": "github"
},
"original": {
@@ -314,48 +49,10 @@
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1750741721,
"narHash": "sha256-Z0djmTa1YmnGMfE9jEe05oO4zggjDmxOGKwt844bUhE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4b1164c3215f018c4442463a27689d973cffd750",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"devenv": "devenv",
"fenix": "fenix",
"flake-parts": "flake-parts_2",
"mk-shell-bin": "mk-shell-bin",
"nix2container": "nix2container",
"nixgl": "nixgl",
"nixpkgs": "nixpkgs_2"
}
},
"rust-analyzer-src": {
"flake": false,
"locked": {
"lastModified": 1750788942,
"narHash": "sha256-bBSdUlEw/7xh66rtMEDg39xQUNN2VaDJIbRPIwhpFYk=",
"owner": "rust-lang",
"repo": "rust-analyzer",
"rev": "c68c8a81a7d2979778ae1e8ba024beacb4fff6b6",
"type": "github"
},
"original": {
"owner": "rust-lang",
"ref": "nightly",
"repo": "rust-analyzer",
"type": "github"
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs"
}
}
},
+146 -137
View File
@@ -1,156 +1,165 @@
{
description = "Affordable full-body tracking for VR!";
description = "SlimeVR Server & GUI";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
devenv = {
url = "github:cachix/devenv";
inputs.nixpkgs.follows = "nixpkgs";
};
nix2container = {
url = "github:nlewo/nix2container";
inputs.nixpkgs.follows = "nixpkgs";
};
mk-shell-bin.url = "github:rrbutani/nix-mk-shell-bin";
nixgl = {
url = "github:guibou/nixGL";
inputs.nixpkgs.follows = "nixpkgs";
};
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-parts.url = "github:hercules-ci/flake-parts";
};
nixConfig = {
extra-trusted-public-keys = "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=";
extra-substituters = "https://devenv.cachix.org";
};
outputs = inputs @ {
self,
flake-parts,
nixgl,
...
}:
flake-parts.lib.mkFlake {inherit inputs;} {
imports = [
inputs.devenv.flakeModule
outputs =
inputs@{
self,
nixpkgs,
flake-parts,
...
}:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [
"aarch64-linux"
"x86_64-linux"
];
systems = ["x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
perSystem = {
config,
self',
inputs',
pkgs,
system,
lib,
...
}: {
# Per-system attributes can be defined here. The self' and inputs'
# module parameters provide easy access to attributes of the same
# system.
# Equivalent to inputs'.nixpkgs.legacyPackages.hello;
# packages.default = pkgs.hello;
_module.args.pkgs = import self.inputs.nixpkgs {
inherit system;
overlays = [nixgl.overlay];
};
devenv.shells.default = let
fenixpkgs = inputs'.fenix.packages;
rust_toolchain = lib.importTOML ./rust-toolchain.toml;
in {
name = "slimevr";
imports = [
# This is just like the imports in devenv.nix.
# See https://devenv.sh/guides/using-with-flake-parts/#import-a-devenv-module
# ./devenv-foo.nix
perSystem =
{
system,
lib,
pkgs,
...
}:
let
runtimeLibs = [
pkgs.alsa-lib
pkgs.libpulseaudio
pkgs.at-spi2-atk
pkgs.at-spi2-core
pkgs.cairo
pkgs.cups
pkgs.dbus
pkgs.expat
pkgs.gdk-pixbuf
pkgs.glib
pkgs.gtk3
pkgs.libdrm
pkgs.libgbm
pkgs.libglvnd
pkgs.libnotify
pkgs.libxkbcommon
pkgs.mesa
pkgs.nspr
pkgs.nss
pkgs.pango
pkgs.systemd
pkgs.vulkan-loader
pkgs.wayland
pkgs.libX11
pkgs.libXcomposite
pkgs.libXdamage
pkgs.libXext
pkgs.libXfixes
pkgs.libXrandr
pkgs.libxcb
pkgs.libxshmfence
pkgs.libusb1
pkgs.udev
pkgs.libxcrypt-legacy
];
# https://devenv.sh/reference/options/
packages =
(with pkgs; [
pkgs.nixgl.nixGLIntel
cacert
])
++ lib.optionals pkgs.stdenv.isLinux (with pkgs; [
atk
cairo
dbus
dbus.lib
dprint
gdk-pixbuf
glib.out
glib-networking
gobject-introspection
gtk3
harfbuzz
libffi
libsoup_3
openssl.dev
pango
pkg-config
treefmt
webkitgtk_4_1
zlib
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-bad
librsvg
freetype
expat
libayatana-appindicator
libusb1
])
++ lib.optionals pkgs.stdenv.isDarwin [
pkgs.darwin.apple_sdk.frameworks.Security
# we use static runtime
# https://github.com/electron-userland/electron-builder/blob/a6117b3011a105204af8cc2eca02a56976d1ef29/packages/app-builder-lib/src/toolsets/linux.ts#L122
appImageTools = pkgs.stdenvNoCC.mkDerivation {
name = "electron-builder-appimage-runtime";
src =
let
# Keep in sync with "appimage" toolset version in gui/electron/electron-builder.yml
appimageToolsVersion = "1.0.3";
in
pkgs.fetchzip {
url = "https://github.com/electron-userland/electron-builder-binaries/releases/download/appimage@${appimageToolsVersion}/appimage-tools-runtime-20251108.tar.gz";
hash = "sha256-Iqhvyp6BNpH+tXvVO7MLgYbsJ6va4lXO7El3wtyWBII=";
stripRoot = false;
};
installPhase = ''
mkdir $out
cp -r -t $out/ lib/ runtimes/
ln -s -t $out \
"${pkgs.desktop-file-utils}/bin/desktop-file-validate" \
"${pkgs.squashfsTools}/bin/mksquashfs"
'';
};
buildToolsVersion = "36.0.0";
androidComposition = pkgs.androidenv.composeAndroidPackages {
buildToolsVersions = [
buildToolsVersion
];
platformVersions = [
"36"
];
languages.java = {
enable = true;
gradle.enable = true;
jdk.package = pkgs.jdk17;
};
languages.kotlin.enable = true;
languages.javascript = {
enable = true;
corepack.enable = true;
pnpm.enable = true;
npm.enable = true;
in
{
# For Android SDK
_module.args.pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
config.android_sdk.accept_license = true;
};
languages.rust = {
enable = true;
toolchain = fenixpkgs.fromToolchainName {
name = rust_toolchain.toolchain.channel;
sha256 = "sha256-yMuSb5eQPO/bHv+Bcf/US8LVMbf/G/0MSfiPwBhiPpk=";
};
components = rust_toolchain.toolchain.components;
};
devShells.default = pkgs.mkShell rec {
packages = [
# for running the jar
pkgs.jdk25
env = {
GIO_EXTRA_MODULES = "${pkgs.glib-networking}/lib/gio/modules:${pkgs.dconf.lib}/lib/gio/modules";
};
# for build
pkgs.electron
pkgs.rpm
pkgs.fpm
pkgs.p7zip
# For Windows GUI cross-build
pkgs.wineWow64Packages.stable
pkgs.zlib
pkgs.squashfsTools
pkgs.desktop-file-utils
pkgs.fakeroot
pkgs.libarchive
pkgs.icu
pkgs.nodejs_22
pkgs.pnpm
pkgs.pkg-config
pkgs.python3
pkgs.gcc
pkgs.gnumake
pkgs.binutils
pkgs.git
pkgs.node-gyp-build
androidComposition.androidsdk
];
buildInputs = runtimeLibs;
enterShell = with pkgs; ''
# Export a LD_LIBRARY_PATH without libudev-zero as libgudev not likey
export SLIMEVR_RUST_LD_LIBRARY_PATH="$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="${libudev-zero}/lib:${libayatana-appindicator}/lib:$LD_LIBRARY_PATH"
# GStreamer plugins won't be found without this
export GST_PLUGIN_SYSTEM_PATH_1_0="${pkgs.gst_all_1.gstreamer.out}/lib/gstreamer-1.0:${pkgs.gst_all_1.gst-plugins-base}/lib/gstreamer-1.0:${pkgs.gst_all_1.gst-plugins-good}/lib/gstreamer-1.0:${pkgs.gst_all_1.gst-plugins-bad}/lib/gstreamer-1.0"
'';
shellHook = ''
export LD_LIBRARY_PATH="${
lib.makeLibraryPath [
pkgs.systemd
pkgs.hidapi
]
}:$LD_LIBRARY_PATH"
# VSCode's extension host sets ELECTRON_RUN_AS_NODE=1 on itself, and
# shells it forks inherit it. It makes electron run as plain node, so
# the main process crashes on `import { app } from 'electron'`.
unset ELECTRON_RUN_AS_NODE
'';
JAVA_HOME = "${pkgs.jdk25}/lib/openjdk";
USE_SYSTEM_FPM = "true";
ELECTRON_BUILDER_7ZIP_PATH = "${pkgs.p7zip}/bin/7za";
APPIMAGE_TOOLS_PATH = "${appImageTools}";
# for electron-vite, so `pnpm gui` works
ELECTRON_EXEC_PATH = "${pkgs.electron}/bin/electron";
ANDROID_HOME = "${androidComposition.androidsdk}/libexec/android-sdk";
GRADLE_OPTS = "-Dorg.gradle.project.android.aapt2FromMavenOverride=${ANDROID_HOME}/build-tools/${buildToolsVersion}/aapt2";
};
};
};
flake = {
# The usual flake attributes can be defined here, including system-
# agnostic ones like nixosModule and system-enumerating ones, although
# those are more easily expressed in perSystem.
};
};
}
+17 -7
View File
@@ -1,20 +1,30 @@
# Fixes bug with spotless. See https://github.com/diffplug/spotless/issues/834#issuecomment-819118761
org.gradle.jvmargs=--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
org.gradle.jvmargs=-Xmx4g -Xms1g \
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
org.gradle.parallel=true
#org.gradle.caching=true
org.gradle.configureondemand=true
kotlin.code.style=official
# https://github.com/Kotlin/kotlinx-atomicfu#atomicfu-compiler-plugin
kotlinx.atomicfu.enableJvmIrTransformation=true
android.useAndroidX=true
android.nonTransitiveRClass=true
org.gradle.unsafe.configuration-cache=false
#org.gradle.configuration-cache=true
# solarxr-protocol:kotlin-codegen's generateTestSchemas isn't cache-compatible yet (submodule); degrade to a warning there instead of failing the whole build
#org.gradle.configuration-cache.problems=warn
kotlinVersion=2.0.20
spotlessVersion=7.0.2
shadowJarVersion=8.3.2
buildconfigVersion=5.5.0
grgitVersion=5.2.2
kotlinVersion=2.3.10
spotlessVersion=8.2.1
shadowJarVersion=9.3.1
buildconfigVersion=6.0.7
wireVersion=5.3.1
# sentry and sentry-android-core must stay on the same version
sentryVersion=8.+
sentryAndroidGradleVersion=6.23.0
Binary file not shown.
+3 -1
View File
@@ -1,6 +1,8 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip
distributionSha256Sum=bbaeb2fef8710818cf0e261201dab964c572f92b942812df0c3620d62a529a01
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.0-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Vendored
+22 -15
View File
@@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#
##############################################################################
#
@@ -55,7 +57,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -83,10 +85,8 @@ done
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
@@ -114,7 +114,7 @@ case "$( uname )" in #(
NONSTOP* ) nonstop=true ;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
CLASSPATH="\\\"\\\""
# Determine the Java command to use to start the JVM.
@@ -133,10 +133,13 @@ location of your Java installation."
fi
else
JAVACMD=java
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
if ! command -v java >/dev/null 2>&1
then
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
fi
# Increase the maximum file descriptors if we can.
@@ -144,7 +147,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
# shellcheck disable=SC2039,SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
@@ -152,7 +155,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
# shellcheck disable=SC2039,SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
@@ -197,16 +200,20 @@ if "$cygwin" || "$msys" ; then
done
fi
# Collect all arguments for the java command;
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
# shell script including quotes and variable substitutions, so put them in
# double quotes to make sure that they get re-expanded; and
# * put everything else in single quotes, so that it's not re-expanded.
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.
set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
-classpath "$CLASSPATH" \
org.gradle.wrapper.GradleWrapperMain \
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
"$@"
# Stop when "xargs" is not available.
Vendored
+14 -12
View File
@@ -13,6 +13,8 @@
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@rem SPDX-License-Identifier: Apache-2.0
@rem
@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
@@ -43,11 +45,11 @@ set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
goto fail
@@ -57,22 +59,22 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto execute
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
goto fail
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
set CLASSPATH=
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
:end
@rem End local scope for the variables with windows NT shell
-8
View File
@@ -1,8 +0,0 @@
VITE_FIRMWARE_TOOL_URL=https://fw-tool-api.slimevr.io
VITE_FIRMWARE_TOOL_S3_URL=https://fw-tool-bucket.slimevr.io
FIRMWARE_TOOL_SCHEMA_URL=https://fw-tool-api.slimevr.io/api-json
# VITE_FIRMWARE_TOOL_URL=http://localhost:3000
# VITE_FIRMWARE_TOOL_S3_URL=http://localhost:9000
# FIRMWARE_TOOL_SCHEMA_URL=http://localhost:3000/api-json
+11 -7
View File
@@ -1,16 +1,16 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# JS/TS dependencies
/node_modules
/.pnp
node_modules/
.pnp
.pnp.js
# testing
/coverage
coverage/
# Build artifacts
/build
/target
build/
target/
# misc
.DS_Store
@@ -26,12 +26,16 @@ yarn-error.log*
*.log
# vite
/dist
/stats.html
dist/
stats.html
vite.config.ts.timestamp*
electron.vite.config.*.mjs
# eslint
.eslintcache
# Sentry Config File
.env.sentry-build-plugin
# electron
out/
+2 -2
View File
@@ -1,5 +1,5 @@
export default {
'**/*.{ts,tsx}': () => 'tsc -p tsconfig.json --noEmit',
'src/**/*.{js,jsx,ts,tsx}': 'eslint --max-warnings=0 --no-warn-ignored --cache --fix',
'app/**/*.{js,jsx,ts,tsx}':
'pnpm --filter @slimevr/gui-app exec eslint --no-warn-ignored --cache --fix',
'**/*.{js,jsx,ts,tsx,css,scss,md,json}': 'prettier --write',
};
+213
View File
@@ -0,0 +1,213 @@
import eslint from '@eslint/js';
import betterTailwind from 'eslint-plugin-better-tailwindcss';
import boundaries from 'eslint-plugin-boundaries';
import jsxA11y from 'eslint-plugin-jsx-a11y';
import solid from 'eslint-plugin-solid/configs/typescript';
import globals from 'globals';
import tseslint from 'typescript-eslint';
import l10n from './eslint/l10n.js';
import layers from './eslint/layers.js';
const UI_DEEP_IMPORT = {
group: ['@/ui/*/*'],
message: 'Import a ui folder through its index, e.g. @/ui/select.',
};
// Each entry is allowed only in the files listed in `allowedIn`
const restricted = {
toFixed: {
allowedIn: ['src/lib/format.ts'],
selector: "CallExpression[callee.property.name='toFixed']",
message: 'Use fmt() from @/lib/format, it is locale aware.',
},
intl: {
allowedIn: ['src/lib/format.ts'],
selector: "NewExpression[callee.object.name='Intl']",
message: 'Use fmt/fmtList/fmtRelative from @/lib/format, they cache per locale.',
},
storage: {
allowedIn: ['src/lib/storage.ts', 'src/lib/storage.test.ts'],
selector: 'Identifier[name=/^(localStorage|sessionStorage)$/]',
message: 'Use definePref/defineCache/defineSession from @/lib/storage.',
},
electronApi: {
allowedIn: ['src/app/platform/**'],
selector: "MemberExpression[property.name='electronAPI']",
message: 'Use platform from @/lib/platform.',
},
keydown: {
allowedIn: ['src/lib/keyboard.ts', 'src/ui/motion/**'],
selector:
"CallExpression[callee.property.name='addEventListener'][arguments.0.value=/^key(down|up)$/]",
message:
'Use useShortcut from @/lib/keyboard, Escape goes to the back stack (useBack).',
},
android: {
allowedIn: ['src/app/platform/**', 'src/env.d.ts'],
selector: "Identifier[name='__ANDROID__']",
message: 'Use platform from @/lib/platform.',
},
};
function allow(from, to) {
return {
from: { element: { type: from } },
allow: { to: { element: { type: to } } },
};
}
function restrictedSyntax(except = []) {
return [
'error',
...Object.entries(restricted)
.filter(([name]) => !except.includes(name))
.map(([, { selector, message }]) => ({ selector, message })),
];
}
function restrictedOverrides() {
const byPattern = new Map();
for (const [name, { allowedIn }] of Object.entries(restricted)) {
for (const pattern of allowedIn) {
byPattern.set(pattern, [...(byPattern.get(pattern) ?? []), name]);
}
}
return [...byPattern].map(([pattern, names]) => ({
files: [pattern],
rules: { 'no-restricted-syntax': restrictedSyntax(names) },
}));
}
export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
{
files: ['src/**/*.{ts,tsx}'],
...solid,
languageOptions: {
parser: tseslint.parser,
parserOptions: { projectService: true, tsconfigRootDir: import.meta.dirname },
globals: globals.browser,
},
plugins: {
...solid.plugins,
boundaries,
l10n,
},
settings: {
'import/resolver': {
typescript: { alwaysTryTypes: true, project: './tsconfig.json' },
},
'boundaries/include': ['src/**/*'],
'boundaries/elements': [
{ type: 'app', pattern: 'src/app' },
{ type: 'ui', pattern: 'src/ui' },
{ type: 'lib', pattern: 'src/lib' },
{ type: 'solarxr', pattern: 'src/solarxr' },
{ type: 'domain', pattern: 'src/domain/*', capture: ['concept'] },
{ type: 'pages', pattern: 'src/pages/*', capture: ['page'] },
{ type: 'assets', pattern: 'src/assets' },
],
},
rules: {
...solid.rules,
// External packages and imports inside one element (same page, same concept) are not checked
'boundaries/dependencies': [
'error',
{
default: 'disallow',
policies: [
allow('app', ['app', 'ui', 'lib', 'solarxr', 'domain', 'pages', 'assets']),
allow('pages', ['ui', 'lib', 'solarxr', 'domain', 'assets']),
allow('domain', ['ui', 'lib', 'solarxr', 'domain', 'assets']),
allow('solarxr', ['lib', 'solarxr']),
allow('ui', ['ui', 'lib', 'assets']),
allow('assets', ['lib']),
],
},
],
'l10n/message-id': 'error',
'no-throw-literal': 'error',
'no-duplicate-imports': 'error',
'no-restricted-syntax': restrictedSyntax(),
'@typescript-eslint/no-unused-vars': [
'warn',
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_', ignoreRestSiblings: true },
],
},
},
...restrictedOverrides(),
{
files: ['src/lib/**/*.{ts,tsx}'],
plugins: { layers },
rules: { 'layers/no-jsx': 'error' },
},
// Peer range stops at ESLint 9 but the rules only read JSX attributes
{ files: ['src/**/*.tsx'], ...jsxA11y.flatConfigs.recommended },
// Long class strings wrap into a multiline template literal, fixed by lint:fix
{
files: ['src/**/*.tsx'],
plugins: { 'better-tailwindcss': betterTailwind },
settings: { 'better-tailwindcss': { entryPoint: 'src/styles.css' } },
rules: {
'better-tailwindcss/enforce-consistent-line-wrapping': [
'error',
// Packed lines, no line per variant group. Wider than prettier so
// only really long strings wrap at JSX indentation depth.
{
printWidth: 100,
group: 'never',
preferSingleLine: true,
strictness: 'loose',
},
],
// The type scale is the text tokens in styles.css, nothing else
'better-tailwindcss/no-restricted-classes': [
'error',
{
restrict: [
{
pattern: '^(?:.*:)?!?text-[\\[(].*$',
message: 'No arbitrary text values, use text-standard, text-section or text-title.',
},
{
pattern: '^(?:.*:)?!?text-(?:xs|sm|base|lg|xl|\\dxl)$',
message: 'Tailwind sizes are removed, use text-standard, text-section or text-title.',
},
],
},
],
},
},
// Solid compiles `ref={x}` into an assignment the rule cannot see
{ files: ['src/**/*.tsx'], rules: { 'no-unassigned-vars': 'off' } },
// Motion hooks belong to ui primitives, pages only use the containers
{
files: ['src/**/*.{ts,tsx}'],
ignores: ['src/ui/**'],
rules: {
'no-restricted-imports': [
'error',
{
paths: [
{
name: '@/ui/motion',
importNames: ['useMotionItem'],
message: 'Only ui primitives register motion items.',
},
],
patterns: [UI_DEEP_IMPORT],
},
],
},
},
// Each ui folder is entered through its index; files inside it import each other relatively
{
files: ['src/ui/**/*.{ts,tsx}'],
rules: { 'no-restricted-imports': ['error', { patterns: [UI_DEEP_IMPORT] }] },
},
// Local rules run in node
{ files: ['eslint/**/*.js'], languageOptions: { globals: globals.node } },
// Tests build their own bundles with made-up ids
{ files: ['src/**/*.test.{ts,tsx}'], rules: { 'l10n/message-id': 'off' } }
);
+202
View File
@@ -0,0 +1,202 @@
// Checks Fluent ids against the en-US translation.ftl: literal ids passed to `t`, `t.attr`,
// the `id` prop of l10n components (with args), and any other string literal typed as MessageId
// (props, options, `satisfies Record<..., MessageId>`). Ids must be full literals, args must match.
import { parse } from '@fluent/syntax';
import { readFileSync, statSync } from 'node:fs';
import { fileURLToPath } from 'node:url';
const FTL_FILE = fileURLToPath(new URL('../../app/public/i18n/en/translation.ftl', import.meta.url));
const COMPONENTS = new Set(['Localized']);
let cache = { mtime: -1, messages: new Map() };
function collect(node, out) {
if (!node || typeof node !== 'object') return;
if (Array.isArray(node)) {
for (const child of node) collect(child, out);
return;
}
if (node.type === 'VariableReference') out.vars.add(node.id.name);
else if (node.type === 'MessageReference') {
out.refs.push({ id: node.id.name, attr: node.attribute?.name ?? null });
}
for (const [key, value] of Object.entries(node)) {
if (key !== 'span' && typeof value === 'object') collect(value, out);
}
}
function patternInfo(pattern) {
const out = { vars: new Set(), refs: [] };
collect(pattern, out);
return out;
}
function loadMessages() {
const mtime = statSync(FTL_FILE).mtimeMs;
if (mtime === cache.mtime) return cache.messages;
const messages = new Map();
for (const entry of parse(readFileSync(FTL_FILE, 'utf8'), { withSpans: false }).body) {
if (entry.type !== 'Message') continue;
messages.set(entry.id.name, {
value: entry.value ? patternInfo(entry.value) : null,
attrs: new Map(entry.attributes.map((a) => [a.id.name, patternInfo(a.value)])),
});
}
cache = { mtime, messages };
return messages;
}
function requiredVars(messages, id, attr, seen = new Set()) {
const key = `${id}.${attr ?? ''}`;
const message = messages.get(id);
const info = attr === null ? message?.value : message?.attrs.get(attr);
if (!info || seen.has(key)) return new Set();
seen.add(key);
const vars = new Set(info.vars);
for (const ref of info.refs) {
for (const v of requiredVars(messages, ref.id, ref.attr, seen)) vars.add(v);
}
return vars;
}
// `handled` collects literals already checked through t()/Localized, so the type-based pass skips them
function literalIds(node, context, handled) {
if (node.type === 'Literal' || node.type === 'TemplateLiteral') handled.add(node);
if (node.type === 'Literal' && typeof node.value === 'string') return [node.value];
if (node.type === 'TemplateLiteral') {
if (node.expressions.length === 0) return [node.quasis[0].value.cooked];
context.report({ node, messageId: 'dynamic' });
return null;
}
if (node.type === 'ConditionalExpression') {
const a = literalIds(node.consequent, context, handled);
const b = literalIds(node.alternate, context, handled);
return a && b ? [...a, ...b] : null;
}
return null;
}
function isMessageIdType(type) {
if (!type) return false;
if (type.aliasSymbol?.escapedName === 'MessageId') return true;
return type.isUnion() && type.types.some(isMessageIdType);
}
function propName(prop) {
if (prop.computed) return null;
if (prop.key.type === 'Identifier') return prop.key.name;
if (prop.key.type === 'Literal') return String(prop.key.value);
return null;
}
const messageId = {
meta: {
type: 'problem',
docs: { description: 'Fluent ids exist in en-US and get the args they need' },
schema: [],
messages: {
dynamic: 'Fluent ids must be full literals so they stay greppable.',
unknown: 'Unknown Fluent id "{{id}}" (not in en-US translation.ftl).',
noValue: 'Fluent message "{{id}}" has no value, only attributes.',
unknownAttr: 'Fluent message "{{id}}" has no attribute "{{attr}}".',
missingArgs: 'Fluent message "{{id}}" needs args: {{vars}}.',
unknownArg: 'Fluent message "{{id}}" does not use arg "{{arg}}".',
},
},
create(context) {
const messages = loadMessages();
const handled = new WeakSet();
const services = context.sourceCode.parserServices;
const checker = services?.program?.getTypeChecker();
function typedAsMessageId(node) {
const tsNode = services.esTreeNodeToTSNodeMap.get(node);
return isMessageIdType(checker.getContextualType(tsNode));
}
function checkTyped(node) {
if (!checker || handled.has(node) || !typedAsMessageId(node)) return;
check(node, { attr: undefined, withArgs: false });
}
function checkArgs(node, id, attr, argsNode) {
const vars = requiredVars(messages, id, attr);
if (!argsNode) {
if (vars.size) context.report({ node, messageId: 'missingArgs', data: { id, vars: [...vars].join(', ') } });
return;
}
if (argsNode.type !== 'ObjectExpression') return;
if (argsNode.properties.some((p) => p.type !== 'Property' || propName(p) === null)) return;
const given = new Set(argsNode.properties.map(propName));
const missing = [...vars].filter((v) => !given.has(v));
if (missing.length) {
context.report({ node: argsNode, messageId: 'missingArgs', data: { id, vars: missing.join(', ') } });
}
for (const prop of argsNode.properties) {
const arg = propName(prop);
if (!vars.has(arg)) context.report({ node: prop, messageId: 'unknownArg', data: { id, arg } });
}
}
function check(idNode, { attr, argsNode, withArgs }) {
const ids = literalIds(idNode, context, handled);
if (!ids) return;
for (const id of ids) {
const message = messages.get(id);
if (!message) {
context.report({ node: idNode, messageId: 'unknown', data: { id } });
continue;
}
if (attr === undefined && !message.value) {
context.report({ node: idNode, messageId: 'noValue', data: { id } });
continue;
}
if (typeof attr === 'string' && !message.attrs.has(attr)) {
context.report({ node: idNode, messageId: 'unknownAttr', data: { id, attr } });
continue;
}
if (withArgs && attr !== null) checkArgs(idNode, id, attr ?? null, argsNode);
}
}
return {
CallExpression(node) {
const { callee } = node;
const [first, second, third] = node.arguments;
if (!first) return;
if (callee.type === 'Identifier' && callee.name === 't') {
check(first, { attr: undefined, argsNode: second, withArgs: true });
} else if (
callee.type === 'MemberExpression' &&
callee.object.type === 'Identifier' &&
callee.object.name === 't' &&
callee.property.type === 'Identifier' &&
callee.property.name === 'attr' &&
second
) {
const attr = second.type === 'Literal' && typeof second.value === 'string' ? second.value : null;
check(first, { attr, argsNode: third, withArgs: true });
}
},
JSXOpeningElement(node) {
if (node.name.type !== 'JSXIdentifier' || !COMPONENTS.has(node.name.name)) return;
const attrs = node.attributes.filter((a) => a.type === 'JSXAttribute');
const idAttr = attrs.find((a) => a.name.name === 'id');
if (!idAttr?.value) return;
const idNode = idAttr.value.type === 'JSXExpressionContainer' ? idAttr.value.expression : idAttr.value;
const argsAttr = attrs.find((a) => a.name.name === 'args');
// Spread props may carry args, skip the args check then
const withArgs = !node.attributes.some((a) => a.type === 'JSXSpreadAttribute');
const argsNode = argsAttr?.value?.type === 'JSXExpressionContainer' ? argsAttr.value.expression : undefined;
check(idNode, { attr: undefined, argsNode, withArgs });
},
// Props, options and `satisfies Record<..., MessageId>` values: anything typed MessageId
Literal(node) {
if (typeof node.value === 'string') checkTyped(node);
},
TemplateLiteral: checkTyped,
};
},
};
export default { rules: { 'message-id': messageId } };
+14
View File
@@ -0,0 +1,14 @@
// lib holds services and reactive state, anything that renders lives in ui
const noJsx = {
meta: {
type: 'problem',
messages: { jsx: 'No JSX in lib, components belong in ui.' },
schema: [],
},
create(context) {
const report = (node) => context.report({ node, messageId: 'jsx' });
return { JSXElement: report, JSXFragment: report };
},
};
export default { rules: { 'no-jsx': noJsx } };
+17
View File
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, minimum-scale=1.0" />
<meta name="theme-color" content="#000000" />
<link rel="apple-touch-icon" href="/logo192.png" />
<link rel="manifest" href="/manifest.json" />
<title>SlimeVR GUI</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>
+69
View File
@@ -0,0 +1,69 @@
{
"name": "@slimevr/gui-app-next",
"version": "0.0.0",
"author": "SlimeVR Team <[email protected]>",
"homepage": "https://slimevr.dev",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.node.json",
"test": "vitest run",
"lint": "pnpm typecheck && eslint src && prettier --check \"src/**/*.{ts,tsx,css,json}\"",
"lint:fix": "eslint --fix src && prettier --write \"src/**/*.{ts,tsx,css,json}\""
},
"dependencies": {
"@fluent/bundle": "0.19.1",
"@fluent/langneg": "0.7.0",
"@fontsource-variable/lexend": "5.3.0",
"@fontsource/jetbrains-mono": "5.3.0",
"@fontsource/noto-sans": "5.3.0",
"@fontsource/opendyslexic": "5.3.0",
"@fontsource/poppins": "5.2.7",
"@fontsource/ubuntu": "5.3.0",
"@sentry/solid": "11.9.0",
"@slimevr/gui-shared": "workspace:*",
"@solidjs/router": "1.0.0",
"browser-fs-access": "0.38.0",
"flatbuffers": "22.10.26",
"semver": "7.7.4",
"solarxr-protocol": "workspace:*",
"solid-js": "1.9.17",
"valibot": "1.5.0"
},
"devDependencies": {
"@eslint/js": "10.0.1",
"@sentry/vite-plugin": "11.9.0",
"@fluent/syntax": "0.19.0",
"@iconify-json/heroicons": "1.2.3",
"@iconify-json/ic": "1.2.4",
"@iconify-json/lucide": "1.2.147",
"@iconify-json/material-symbols": "1.2.96",
"@solidjs/testing-library": "0.8.10",
"@tailwindcss/vite": "4.3.3",
"@testing-library/jest-dom": "7.0.1",
"@testing-library/user-event": "14.6.8",
"@types/node": "26.6.5",
"@types/semver": "7.7.1",
"axe-core": "4.14.0",
"eslint": "10.13.0",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-better-tailwindcss": "4.10.0",
"eslint-plugin-boundaries": "7.3.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-solid": "0.18.1",
"globals": "17.13.0",
"jsdom": "30.1.3",
"prettier": "3.9.10",
"tailwindcss": "4.3.3",
"typescript": "~6.0.3",
"typescript-eslint": "8.72.0",
"unplugin-icons": "24.0.0",
"vite": "8.3.5",
"vite-imagetools": "12.0.1",
"vite-plugin-solid": "2.11.14",
"vitest": "5.0.5"
}
}
+86
View File
@@ -0,0 +1,86 @@
import { useMatch } from '@solidjs/router';
import { type JSX, Show } from 'solid-js';
import HomeIcon from '~icons/material-symbols/home';
import DesignIcon from '~icons/material-symbols/palette-outline-rounded';
import GearIcon from '~icons/material-symbols/settings-rounded';
import RulerIcon from '~icons/material-symbols/straighten-rounded';
import { ConnectionGate } from '@/app/connection-gate';
import { paths } from '@/app/routes';
import { TitleBar } from '@/app/title-bar';
import { handleBack } from '@/lib/back-stack';
import { createMediaQuery, SHELL_QUERY } from '@/lib/media';
import { MotionRegion } from '@/ui/motion';
import { NavLink } from '@/ui/nav-link';
const MOUSE_BACK = 3;
// Same destinations at every width: bottom bar on phones, rail from `shell` up
function Destinations() {
const rail = createMediaQuery(SHELL_QUERY);
return (
<MotionRegion
orientation={rail() ? 'vertical' : 'horizontal'}
class="
order-last flex justify-around gap-sm px-sm pt-sm shell:order-first shell:flex-col
shell:w-27.5 shell:shrink-0 shell:justify-start shell:pt-0 shell:pb-sm
"
>
<NavLink to={paths.home} end label="navbar-home" icon={<HomeIcon />} />
<NavLink
to={paths.body}
label="navbar-body_proportions"
icon={<RulerIcon class="icon -rotate-45" />}
/>
<Show when={import.meta.env.DEV}>
<NavLink
to={paths.design}
label="navbar-design"
icon={<DesignIcon />}
/>
</Show>
<div class="contents shell:mt-auto shell:flex shell:flex-col">
<NavLink
to={paths.settings}
label="navbar-settings"
icon={<GearIcon />}
/>
</div>
</MotionRegion>
);
}
export function AppShell(props: { children: JSX.Element }) {
// Setup runs without destinations, the flow footer owns the bottom
const onboarding = useMatch(() => `${paths.onboarding}/*`);
function onPointerUp(e: PointerEvent) {
if (e.button !== MOUSE_BACK) return;
if (handleBack()) e.preventDefault();
}
return (
<div
class="flex h-dvh flex-col bg-surface text-fg surface-sidebar"
onPointerUp={onPointerUp}
>
<TitleBar />
<ConnectionGate>
<div class="flex min-h-0 flex-1 flex-col shell:flex-row">
<Show when={!onboarding()}>
<Destinations />
</Show>
<main
classList={{ 'shell:ml-sm': !!onboarding() }}
class="
relative min-h-0 flex-1 overflow-y-auto overscroll-contain @container shell:mb-sm
shell:scrollbar-gutter-stable
"
>
{props.children}
</main>
</div>
</ConnectionGate>
</div>
);
}
+41
View File
@@ -0,0 +1,41 @@
import { HashRouter, type RouteSectionProps } from '@solidjs/router';
import { withSentryRouterRouting } from '@sentry/solid/solidrouter';
import { AppShell } from '@/app/app-shell';
import { CrashBoundary } from '@/app/crash-screen';
import { useHistoryBack } from '@/app/history-back';
import { paths, routes } from '@/app/routes';
import { searchDestinations } from '@/app/search-destinations';
import { useShortcut } from '@/lib/keyboard';
import { DOCS_SITE } from '@/lib/links';
import { platform } from '@/lib/platform';
import { QuickSearch } from '@/pages/settings/quick-search/quick-search';
import { DialogHost } from '@/ui/dialog';
import { MotionRoot } from '@/ui/motion';
import { ToastHost } from '@/ui/toast';
const Router = withSentryRouterRouting(HashRouter);
function AppRoot(props: RouteSectionProps) {
useHistoryBack();
useShortcut('F1', () => platform.openUrl(DOCS_SITE), {
scope: 'global',
label: 'titlebar-docs',
});
return (
<MotionRoot>
<AppShell>{props.children}</AppShell>
<QuickSearch base={paths.settings} destinations={searchDestinations} />
<DialogHost />
<ToastHost />
</MotionRoot>
);
}
export function App() {
return (
<CrashBoundary>
<Router root={AppRoot}>{routes}</Router>
</CrashBoundary>
);
}
+30
View File
@@ -0,0 +1,30 @@
import { createPlatform } from '@/app/platform/detect';
import { startReleaseCheck } from '@/domain/app-update/release-check';
import { startDatafeed } from '@/domain/datafeed';
import { initErrorReporting } from '@/domain/error-reporting';
import { initSaveToasts } from '@/domain/settings/save-toasts';
import { initKeyboard } from '@/lib/keyboard';
import { initL10n } from '@/lib/l10n';
import { setPlatform } from '@/lib/platform';
import { loadPrefs } from '@/lib/storage';
import { createSocketClient, serverUrl, setClient } from '@/solarxr/client';
// Everything that runs before render, in order. Returns the stop for the
// background services.
export async function boot(): Promise<() => void> {
setPlatform(await createPlatform());
setClient(createSocketClient({ url: serverUrl() }));
await initErrorReporting();
await loadPrefs();
await initL10n();
const services = [
initKeyboard(),
initSaveToasts(),
startReleaseCheck(),
startDatafeed(),
];
return () => {
for (const stop of services) stop();
};
}
@@ -0,0 +1,72 @@
import { cleanup, render, screen } from '@solidjs/testing-library';
import {
ErrorReportingConsent,
ErrorReportingSettingsResponseT,
} from 'solarxr-protocol';
import { afterEach, beforeAll, describe, expect, it } from 'vitest';
import { ConnectionGate } from '@/app/connection-gate';
import { setPlatform } from '@/lib/platform';
import { fakePlatform } from '@/lib/platform-fake';
import { setClient } from '@/solarxr/client';
import { createFakeClient, type FakeClient } from '@/solarxr/testing';
let fake: FakeClient;
beforeAll(() => {
setPlatform(fakePlatform());
fake = createFakeClient({ connected: false });
setClient(fake);
});
function consent(value: ErrorReportingConsent) {
fake.push(new ErrorReportingSettingsResponseT(value, 'user-1', 'session-1'));
}
function renderGate() {
render(() => (
<ConnectionGate>
<p>app</p>
</ConnectionGate>
));
}
// Resources are module state, so the cases run as one story in order
describe('ConnectionGate', () => {
afterEach(cleanup);
it('shows the timeout error when the first connect takes too long', () => {
renderGate();
expect(screen.getByText('websocket-connecting')).toBeInTheDocument();
fake.setTimedOut(true);
expect(screen.getByText('websocket-timedout')).toBeInTheDocument();
expect(screen.queryByText('app')).toBeNull();
fake.setTimedOut(false);
});
it('waits for consent, asks it, then shows the app and covers it on loss', () => {
renderGate();
fake.connect();
expect(screen.getByText('websocket-connecting')).toBeInTheDocument();
expect(screen.queryByText('app')).toBeNull();
consent(ErrorReportingConsent.UNDECIDED);
expect(
screen.getByText('error_collection_modal-title')
).toBeInTheDocument();
expect(screen.queryByText('app')).toBeNull();
consent(ErrorReportingConsent.ALLOWED);
expect(screen.queryByText('error_collection_modal-title')).toBeNull();
expect(screen.getByText('app').parentElement).not.toHaveClass('hidden');
fake.disconnect();
expect(screen.getByText('websocket-connection_lost')).toBeInTheDocument();
// Kept mounted under the screen
expect(screen.getByText('app').parentElement).toHaveClass('hidden');
fake.connect();
consent(ErrorReportingConsent.ALLOWED);
expect(screen.queryByText('websocket-connection_lost')).toBeNull();
expect(screen.getByText('app').parentElement).not.toHaveClass('hidden');
});
});
+188
View File
@@ -0,0 +1,188 @@
import {
createEffect,
createSignal,
type JSX,
Match,
onMount,
Show,
Switch,
} from 'solid-js';
import { ErrorReportingConsent } from 'solarxr-protocol';
import {
answerConsent,
crashReportAvailable,
errorReportingSettings,
needsConsentAnswer,
sendCrashReport,
} from '@/domain/error-reporting';
import { ErrorReportingDetails } from '@/domain/error-reporting/error-reporting-details';
import { cx } from '@/lib/cx';
import { t } from '@/lib/l10n';
import { platform, type CrashKind } from '@/lib/platform';
import { flushPrefs } from '@/lib/storage';
import { client } from '@/solarxr/client';
import { TextButton } from '@/ui/button';
import { focusEntry, MotionRegion } from '@/ui/motion';
import { StatusState } from '@/ui/status-state';
type GateScreen = 'connection' | 'consent';
function CrashReportBanner(props: { kind: CrashKind }) {
const [sent, setSent] = createSignal(false);
const [sending, setSending] = createSignal(false);
async function send() {
setSending(true);
try {
if (await sendCrashReport(props.kind)) setSent(true);
} finally {
setSending(false);
}
}
return (
<Show when={crashReportAvailable()}>
<div
class="
flex w-full max-w-2xl flex-wrap items-center justify-between gap-md rounded-lg bg-surface
px-lg py-md surface-section
"
>
<p>
{t(sent() ? 'websocket-report-sent' : 'websocket-report-question')}
</p>
<Show when={!sent()}>
<TextButton
label="websocket-report-send"
loading={sending()}
onClick={send}
/>
</Show>
</div>
</Show>
);
}
function ConnectionScreen() {
const timedOut = () => client.status() === 'connecting' && client.timedOut();
const lost = () => client.status() === 'disconnected';
async function close() {
await flushPrefs();
platform.window?.close();
}
return (
<Show
when={timedOut() || lost()}
fallback={
<StatusState kind="loading" size="page" title="websocket-connecting" />
}
>
<div class="flex flex-1 flex-col items-center gap-lg p-lg">
<StatusState
kind="error"
size="page"
title={
timedOut() ? 'websocket-timedout' : 'websocket-connection_lost'
}
description={
timedOut()
? 'websocket-timedout-desc'
: 'websocket-connection_lost-desc'
}
action={
<Show when={platform.window}>
<div class="flex flex-wrap justify-center gap-sm">
<TextButton
variant="primary"
label="websocket-error-close"
onClick={close}
/>
<Show when={platform.folders}>
{(folders) => (
<TextButton
label="websocket-error-logs"
onClick={() => void folders().openLogs()}
/>
)}
</Show>
</div>
</Show>
}
/>
<CrashReportBanner kind={timedOut() ? 'timeout' : 'connection_lost'} />
</div>
</Show>
);
}
function ConsentScreen() {
let el!: HTMLDivElement;
onMount(() => focusEntry(el));
return (
<div
ref={el}
class="flex min-h-0 flex-1 justify-center overflow-y-auto p-lg"
>
<MotionRegion class="flex w-full max-w-2xl flex-col items-center gap-lg">
<StatusState
kind="empty"
title="error_collection_modal-title"
description="error_collection_modal-subtitle"
/>
<ErrorReportingDetails />
<p class="text-center">{t('error_collection_modal-change_later')}</p>
<div class="flex w-full flex-wrap-reverse justify-between gap-md">
<TextButton
variant="ghost"
label="error_collection_modal-cancel"
onClick={() => answerConsent(ErrorReportingConsent.DENIED)}
/>
<TextButton
variant="primary"
label="error_collection_modal-confirm"
onClick={() => answerConsent(ErrorReportingConsent.ALLOWED)}
/>
</div>
</MotionRegion>
</div>
);
}
export function ConnectionGate(props: { children: JSX.Element }) {
const [shown, setShown] = createSignal(false);
function screen(): GateScreen | null {
if (client.status() !== 'connected') return 'connection';
if (!shown() && errorReportingSettings.state() !== 'fresh')
return 'connection';
if (needsConsentAnswer()) return 'consent';
return null;
}
createEffect(() => {
if (!screen()) setShown(true);
});
return (
<>
<Switch>
<Match when={screen() === 'connection'}>
<ConnectionScreen />
</Match>
<Match when={screen() === 'consent'}>
<ConsentScreen />
</Match>
</Switch>
<Show when={shown()}>
<div
class={cx('min-h-0 flex-1 flex-col', screen() ? 'hidden' : 'flex')}
>
{props.children}
</div>
</Show>
</>
);
}
+57
View File
@@ -0,0 +1,57 @@
import { ErrorBoundary, type JSX, Show } from 'solid-js';
import { MinimalTitleBar } from '@/app/title-bar';
import { lastReportId, reportError } from '@/domain/error-reporting';
import { t } from '@/lib/l10n';
import { TextButton } from '@/ui/button';
import { CopyButton } from '@/ui/copy-button';
import { StatusState } from '@/ui/status-state';
function CrashScreen(props: { eventId: string | undefined }) {
return (
<div class="flex h-screen flex-col bg-surface text-fg surface-sidebar">
<MinimalTitleBar />
<div class="flex min-h-0 flex-1 flex-col overflow-y-auto">
<StatusState
kind="error"
size="page"
title="crash_screen-title"
description="crash_screen-description"
action={
<div class="flex flex-col items-center gap-md">
<Show when={props.eventId}>
{(id) => (
<p class="font-mono select-text">
{t('crash_screen-event_id', { id: id() })}
</p>
)}
</Show>
<div class="flex flex-wrap justify-center gap-sm">
<Show when={props.eventId}>
{(id) => <CopyButton text={id()} label="crash_screen-copy" />}
</Show>
<TextButton
variant="primary"
label="crash_screen-reload"
onClick={() => window.location.reload()}
/>
</div>
</div>
}
/>
</div>
</div>
);
}
export function CrashBoundary(props: { children: JSX.Element }) {
return (
<ErrorBoundary
fallback={(error) => {
reportError(error, { tags: { boundary: 'app' } });
return <CrashScreen eventId={lastReportId()} />;
}}
>
{props.children}
</ErrorBoundary>
);
}
+27
View File
@@ -0,0 +1,27 @@
import { useLocation, useNavigate } from '@solidjs/router';
import { onCleanup } from 'solid-js';
import { setBackFallback } from '@/lib/back-stack';
function depth(): number {
const state: unknown = window.history.state;
if (typeof state !== 'object' || state === null || !('_depth' in state)) return 0;
return typeof state._depth === 'number' ? state._depth : 0;
}
// Router history under the overlays. Stops at the entry the app started on,
// so back never leaves the app.
export function useHistoryBack() {
const navigate = useNavigate();
const location = useLocation();
const start = depth();
onCleanup(
setBackFallback({
can: () => {
void location.key;
return depth() > start;
},
back: () => navigate(-1),
})
);
}
+40
View File
@@ -0,0 +1,40 @@
import type { Platform } from '@/lib/platform';
import { localCrossStorage } from '@/lib/storage';
import { saveWithBrowser } from './browser-save';
type AndroidBridge = NonNullable<Window['__ANDROID__']>;
function toBase64(blob: Blob) {
return new Promise<string>((resolve, reject) => {
const reader = new FileReader();
reader.onload = () => {
const url = reader.result as string;
resolve(url.slice(url.indexOf(',') + 1));
};
reader.onerror = () => reject(reader.error);
reader.readAsDataURL(blob);
});
}
export function createAndroidPlatform(android: AndroidBridge): Platform {
const settings = localCrossStorage('');
const cache = localCrossStorage('slimevr-cache/');
return {
kind: 'android',
os: 'android',
storage: (name) => (name === 'settings' ? settings : cache),
openUrl: (url) => void window.open(url, '_blank'),
saveFile: async (opts) => {
if (typeof android.saveFile !== 'function') return saveWithBrowser(opts);
const { blob, fileName } = opts;
android.saveFile(
fileName,
blob.type || 'application/octet-stream',
await toBase64(blob)
);
return 'saved';
},
systemInsets: { setBackground: (color) => android.updateInsetBackground(color) },
};
}
@@ -0,0 +1,16 @@
import { fileSave } from 'browser-fs-access';
import type { SaveOptions, SaveResult } from '@/lib/platform';
export async function saveWithBrowser({
blob,
fileName,
extensions,
}: SaveOptions): Promise<SaveResult> {
try {
await fileSave(blob, { fileName, extensions });
return 'saved';
} catch (e) {
if (e instanceof DOMException && e.name === 'AbortError') return 'canceled';
throw e;
}
}
@@ -0,0 +1,39 @@
import type { IElectronAPI } from '@slimevr/gui-shared';
import { describe, expect, it, vi } from 'vitest';
import { memoryCrossStorage } from '@/lib/platform-fake';
import { createPlatform } from './detect';
describe('createPlatform', () => {
it('resolves the OS before returning on electron', async () => {
const storage = memoryCrossStorage();
vi.stubGlobal('electronAPI', {
osStats: async () => ({ type: 'linux' }),
getStorage: async () => storage,
} as Partial<IElectronAPI>);
const platform = await createPlatform();
expect(platform.kind).toBe('desktop');
expect(platform.os).toBe('linux');
expect(platform.storage('settings')).toBe(storage);
expect(platform.window).toBeDefined();
});
it('picks android when the bridge is there', async () => {
vi.stubGlobal('__ANDROID__', {
isThere: () => true,
updateInsetBackground: () => {},
saveFile: () => {},
});
const platform = await createPlatform();
expect(platform.kind).toBe('android');
expect(platform.systemInsets).toBeDefined();
expect(platform.window).toBeUndefined();
});
it('falls back to web', async () => {
const platform = await createPlatform();
expect(platform.kind).toBe('web');
expect(platform.pickFile).toBeUndefined();
});
});
+11
View File
@@ -0,0 +1,11 @@
import type { Platform } from '@/lib/platform';
import { createAndroidPlatform } from './android';
import { createElectronPlatform } from './electron';
import { createWebPlatform } from './web';
export async function createPlatform(): Promise<Platform> {
if (window.electronAPI) return createElectronPlatform(window.electronAPI);
const android = window.__ANDROID__;
if (android?.isThere()) return createAndroidPlatform(android);
return createWebPlatform();
}
+63
View File
@@ -0,0 +1,63 @@
import type { IElectronAPI } from '@slimevr/gui-shared';
import type { Platform } from '@/lib/platform';
import { saveWithBrowser } from './browser-save';
export async function createElectronPlatform(api: IElectronAPI): Promise<Platform> {
const [os, settings, cache] = await Promise.all([
api.osStats(),
api.getStorage('settings'),
api.getStorage('cache'),
]);
return {
kind: 'desktop',
os: os.type,
storage: (name) => (name === 'settings' ? settings : cache),
openUrl: (url) => void api.openUrl(url),
saveFile: saveWithBrowser,
pickFile: async ({ mode, title, filters, defaultPath }) => {
if (mode === 'save') {
const res = await api.saveDialog({ title, filters, defaultPath });
return res.canceled || !res.filePath ? null : res.filePath;
}
const res = await api.openDialog({
title,
filters,
defaultPath,
properties: [mode === 'directory' ? 'openDirectory' : 'openFile'],
});
return res.canceled ? null : (res.filePaths[0] ?? null);
},
window: {
minimize: () => api.minimize(),
toggleMaximize: () => api.toggleMaximize(),
hide: () => api.hide(),
close: () => api.close(),
showDecorations: (on) => api.showDecorations(on),
},
folders: {
openLogs: () => api.openLogsFolder(),
openConfig: () => api.openConfigFolder(),
installDir: () => api.getInstallDir(),
},
guiLogs: {
onEvents: (cb) => api.onGuiLogEvents(cb),
files: () => api.guiLogFiles(),
read: (name) => api.readGuiLogFile(name),
},
log: (level, ...args) => api.log(level, ...args),
errorReporting: {
setState: (state) => api.setErrorReporting(state),
sendCrash: (kind) => api.sendCrashReport(kind),
},
discordPresence: { set: (presence) => api.setPresence(presence) },
translations: {
set: (translations) => api.setTranslations(translations),
override: () => api.i18nOverride(),
onCrowdinPopupClosed: (cb) => api.onCrowdinPopupClosed(cb),
},
github: { get: (request) => api.ghGet(request) },
steam: { isSteam: () => api.isSteam() },
keybindRecording: (on) => api.setKeybindRecording(on),
};
}
+16
View File
@@ -0,0 +1,16 @@
import type { Platform } from '@/lib/platform';
import { localCrossStorage } from '@/lib/storage';
import { saveWithBrowser } from './browser-save';
export function createWebPlatform(): Platform {
const settings = localCrossStorage('');
const cache = localCrossStorage('slimevr-cache/');
return {
kind: 'web',
os: 'unknown',
storage: (name) => (name === 'settings' ? settings : cache),
openUrl: (url) => void window.open(url, '_blank'),
saveFile: saveWithBrowser,
};
}
+25
View File
@@ -0,0 +1,25 @@
import type { RouteDefinition } from '@solidjs/router';
import { BodyPage } from '@/pages/body/body-page';
import { DesignPage } from '@/pages/design/design-page';
import { HomePage } from '@/pages/home/home-page';
import { onboardingRoute } from '@/pages/onboarding/onboarding-route';
import { settingsRoute } from '@/pages/settings/settings-route';
import { SetupPage } from '@/pages/setup/setup-page';
export const paths = {
home: '/',
body: '/body',
setup: '/setup',
onboarding: '/onboarding',
settings: '/settings',
design: '/design',
} as const;
export const routes: RouteDefinition[] = [
{ path: paths.home, component: HomePage },
{ path: paths.body, component: BodyPage },
{ path: paths.setup, component: SetupPage },
onboardingRoute(paths.onboarding),
settingsRoute({ base: paths.settings, wizard: paths.onboarding }),
...(import.meta.env.DEV ? [{ path: paths.design, component: DesignPage }] : []),
];
@@ -0,0 +1,8 @@
import { paths } from '@/app/routes';
import type { SearchDestination } from '@/pages/settings/quick-search/search-entries';
// Pages outside the settings that quick search lists. Add a row when a page's route lands.
export const searchDestinations: SearchDestination[] = [
{ path: paths.home, title: 'navbar-home' },
{ path: paths.onboarding, title: 'navbar-onboarding' },
];
+198
View File
@@ -0,0 +1,198 @@
import { useMatch } from '@solidjs/router';
import { createSignal, createUniqueId, Show } from 'solid-js';
import { ServerInfosRequestT, ServerInfosResponseT } from 'solarxr-protocol';
import DownloadIcon from '~icons/heroicons/arrow-down-tray-solid';
import SearchIcon from '~icons/heroicons/magnifying-glass-20-solid';
import QuestionIcon from '~icons/heroicons/question-mark-circle';
import CloseIcon from '~icons/material-symbols/close-rounded';
import MaximiseIcon from '~icons/material-symbols/crop-square-outline-rounded';
import MinimiseIcon from '~icons/material-symbols/minimize-rounded';
import GearIcon from '~icons/material-symbols/settings-rounded';
import SlimevrLogoIcon from '~icons/slime/slimevr-logo';
import { paths } from '@/app/routes';
import { serverUpdate } from '@/domain/app-update/release-check';
import {
DOCS_SITE,
LATEST_RELEASE_URL,
RELEASES_URL,
WINDOWS_DOWNLOAD_URL,
} from '@/lib/links';
import { platform, type WindowApi } from '@/lib/platform';
import { flushPrefs } from '@/lib/storage';
import { openQuickSearch } from '@/pages/settings/quick-search/quick-search';
import { defineResource } from '@/solarxr/resource';
import { TextButton } from '@/ui/button';
import { MotionRegion } from '@/ui/motion';
import { PlainLink } from '@/ui/plain-link';
import { Tooltip } from '@/ui/tooltip';
const serverInfos = defineResource({
request: () => new ServerInfosRequestT(),
response: ServerInfosResponseT,
});
const VERSION =
(__VERSION_TAG__ || __COMMIT_HASH__) + (__GIT_CLEAN__ ? '' : '-dirty');
function localIp() {
const ip = serverInfos.value()?.localIp;
return ip ? String(ip) : null;
}
function openUpdate() {
platform.openUrl(
platform.os === 'windows' ? WINDOWS_DOWNLOAD_URL : LATEST_RELEASE_URL
);
}
function WindowControls(props: { api: WindowApi }) {
async function close() {
await flushPrefs();
props.api.close();
}
return (
<>
<TextButton
variant="ghost"
size="small"
iconOnly
label="titlebar-minimize"
icon={<MinimiseIcon class="icon icon-sm" />}
onClick={() => props.api.minimize()}
/>
<TextButton
variant="ghost"
size="small"
iconOnly
label="titlebar-maximize"
icon={<MaximiseIcon class="icon icon-sm" />}
onClick={() => props.api.toggleMaximize()}
/>
<TextButton
variant="ghost"
size="small"
iconOnly
label="titlebar-close"
icon={<CloseIcon class="icon icon-sm" />}
onClick={close}
/>
</>
);
}
// Window controls and logo only, for screens outside the router (crash screen): no links,
// no server data, so it keeps working whatever broke
export function MinimalTitleBar() {
return (
<div class="flex h-titlebar shrink-0 items-center gap-sm px-sm">
<span class="flex h-5.5 w-12.25 translate-x-[2.17px] items-center justify-center text-special">
<SlimevrLogoIcon
aria-hidden="true"
style={{ '--icon-size': '49.66px' }}
/>
</span>
<span class="flex h-full items-center" data-electron-drag-region="true">
SlimeVR
</span>
<div class="h-full flex-1" data-electron-drag-region="true" />
<Show when={platform.window}>
{(api) => <WindowControls api={api()} />}
</Show>
</div>
);
}
export function TitleBar() {
const onSettings = useMatch(() => `${paths.settings}/*`);
const [versionEl, setVersionEl] = createSignal<HTMLAnchorElement>();
const commitTipId = createUniqueId();
return (
<MotionRegion
orientation="horizontal"
class="flex h-titlebar shrink-0 items-center gap-sm px-sm"
>
<div class="hidden shell:contents">
<PlainLink
to={paths.home}
label="navbar-home"
class="h-5.5 w-12.25 justify-center text-special"
>
<span class="flex translate-x-[2.17px]">
<SlimevrLogoIcon
aria-hidden="true"
style={{ '--icon-size': '49.66px' }}
/>
</span>
</PlainLink>
<span class="flex h-full items-center" data-electron-drag-region="true">
SlimeVR
</span>
</div>
<div class={onSettings() ? 'hidden shell:contents' : 'contents'}>
<PlainLink
ref={setVersionEl}
href={RELEASES_URL}
describedBy={commitTipId}
class="
h-5.5 shrink-0 rounded-lg bg-success/20 px-3 font-bold whitespace-nowrap text-success
select-text
"
>
{VERSION}
</PlainLink>
<Tooltip id={commitTipId} anchor={versionEl}>
{__COMMIT_HASH__}
</Tooltip>
</div>
<Show when={onSettings() && localIp()}>
{(ip) => (
<span class="rounded-md bg-special/20 px-sm font-bold text-special select-text">
{ip()}
</span>
)}
</Show>
<Show when={platform.window && serverUpdate()}>
<TextButton
variant="ghost"
size="small"
iconOnly
label="titlebar-update"
icon={<DownloadIcon />}
onClick={openUpdate}
/>
</Show>
<div class="h-full flex-1" data-electron-drag-region="true" />
<TextButton
variant="ghost"
size="small"
iconOnly
label="titlebar-search"
icon={<SearchIcon />}
onClick={openQuickSearch}
/>
<TextButton
to={paths.settings}
variant="ghost"
size="small"
iconOnly
label="titlebar-settings"
icon={<GearIcon />}
/>
<div class="hidden shell:contents">
<TextButton
variant="ghost"
size="small"
iconOnly
label="titlebar-docs"
icon={<QuestionIcon />}
onClick={() => platform.openUrl(DOCS_SITE)}
/>
</div>
<Show when={platform.window}>
{(api) => <WindowControls api={api()} />}
</Show>
</MotionRegion>
);
}
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d02c57155f8011a4363e242f3c195633450477b19ca5784ecf9b28df5401143
size 460668
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:78bcd8987b35612739dfc8f556f6da497f689b26e96f5267b9a008ea9f46bd14
size 592038
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d54e1a99c1c228d004d2c94d3e1ed49f0cc14d7a471b71130fe89aa1518acc73
size 438548
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:76d5b68294770112ee3d97cddcf5751008df2cb3a372655e7611d4db231243fc
size 139344
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:71fa8383b0fde387e91e88c0f95eb057ad62905df8ac78c89ade1627ad17b0b3
size 21360
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:76c1f559ecc11239e2f126eb76ae4c2e097a26f227a915de7127db4f61eafc40
size 27230
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:13b7a9177af9378284c4eca264590deae6654b8b92c00d9ca948628c16dd118f
size 22590
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fd98226b28ed3f68b5a6fa03dada951fc4326c56119d59fcad09fef261053446
size 155016
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe7893c1645174eee669dfa9e7222c55638c8d498eb126a397a6df759c028919
size 28604
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c71f29809334563348f8f29cf41afeb8bedbbd5ba2875bf40621b011ac52d2d3
size 30678
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8b00c02450258536066870137876f4fe1882d4e4b6fc4ab9f32ad46220ed5efa
size 52158
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:faabda8027d550b10723457a8274962b3b8d9eb906cbac0c73d20916e6633e95
size 13558
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8bd89b59087cc0f019ca2179fcc57d99811c327cdd6b1fd6e57705f7299aa2ae
size 14402
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38aebca5266f47270dc60c4682022809e43676ac9b3dd4b5a586ce3157f8a8a0
size 99786
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b40baa0413d30f5df34eb7bd7e8867cb73905a098fd7398de67a2d60b3882070
size 152284
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:31e6929b6176244f53e85088812f5cc4e7b94679039688f929b21b8e1bb985e7
size 94060
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e95853b79d711826f454fcc48e5d4ffd608a74e13aff2c7aa8628730362dd0f
size 154508
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f6dc4d54b43844a85099941b64a9b92cba0f58ebe33dc61a48e12536f20174b3
size 130492
Loaded 100 of 1820 files, more files were not shown because too many files have changed in this diff. Show more