SimulaVR / Simula

Linux VR Desktop
MIT License
2.94k stars 87 forks source link

rotate workplace command #129

Closed Corallus-Caninus closed 3 years ago

Corallus-Caninus commented 3 years ago

This software is awesome! I need to rotate the entire workspace every ~30 minutes due to accelerometer drift, is there any way to "rotate all windows" to offset this effect?

If the source was available I'd attempt a patch myself but it seems to be walled off by nix/cachix.

This software is too important for people who don't have a lot. I am getting 4k like experience with an old android phone and laptop. I really want to help share this with people/the world.

KaneTW commented 3 years ago

You should be able to modify it and then just build with nix as usual. Nix is fully transparent, it just speeds up deployment with cachix. The relevant code is in addons/godot-haskell-plugin

Anyway, we'll put it on the list.

On Sat, 8 May 2021, 09:40 Corallus Caninus, @.***> wrote:

This software is awesome! I need to rotate the entire workspace every ~30 minutes due to accelerometer drift, is there any way to "rotate all windows" to offset this effect?

If the source was available I'd attempt a patch myself but it seems to be walled off by nix/cachix.

This software is too important for people who don't have a lot. I am getting 4k like experience with an old android phone and laptop. I really want to help share this with people/the world.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SimulaVR/Simula/issues/129, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB534J3JQRYDF7MZWGAFQULTMTTFPANCNFSM44MNDEEA .

Corallus-Caninus commented 3 years ago

Thank you I misunderstood the project's directory structure.

georgewsinger commented 3 years ago

@Corallus-Caninus See https://github.com/SimulaVR/Simula/commit/b1976bbaad49a5880010bbf8d993e1521eac1908 (dev branch) for a DRAFT implementation. There are a few limitations of this implementation right now, which will be fixed in the next commit(s):

Right now the key is binded to Super + m (the one I was user for testing). Let me know if you think there's a better default keybind for this.

georgewsinger commented 3 years ago

The skybox dragging issue should now be fixed in https://github.com/SimulaVR/Simula/commit/17ff399c5e4d1e3f315becc0b4516d3fedee5bd8.

georgewsinger commented 3 years ago

From Simula Discord:

Okay I seem to have some bugs with the new feature so I'm holding off on closing the issue until we can solve them.

  1. when moving windows after rotating workspace my gaze control (super + alt) is stuck on the previous position.

  2. after moving windows with super+m a repeat of super+m resets my perspective to the perspective before the rotation.

These issues should be fixed in https://github.com/SimulaVR/Simula/commit/2c06e7454b6529dcf20d78433272aef56fa200f8 I'll wait to close though until this is more battle tested.

Corallus-Caninus commented 3 years ago

Solved with 2c06e7454b6529dcf20d78433272aef56fa200f8