Comments (7)
The place this probably goes wrong should be
scenery/src/main/kotlin/graphics/scenery/controls/OpenVRHMD.kt
Lines 547 to 589 in 999a4b3
from scenery.
Same behavior for button Side,Trigger and A and probably all others
from scenery.
Okay, so this is probably not an oversight, but an actual semantic error -.-
from scenery.
line 566 of the excerpt above is the cause of pressed keys being empty.
But withouyt that line no VR button works anymore.
At least for drag behaviors that is because https://github.com/scijava/ui-behaviour/blob/9cbc0df842c240e36af48b48fc294ea8c982a63d/src/main/java/org/scijava/ui/behaviour/MouseAndKeyHandler.java#L440 only does exact matching and since there is always this axis or proximity thing pressed it always returns false.
There is something about "irgnored keys" in that match function. But this whole thing looks like highe magic to me.
from scenery.
Input handling is one of the darkest kinds of magic.
from scenery.
Jokes aside - I'd argue here it'd likely be best to allow only the actual buttons to trigger events, and and ignore the proximity sensor. What do you think, @moreApi?
from scenery.
I dont think we need to care about the proximity sensor
from scenery.
Related Issues (20)
- Wrong resolution levels loaded for BDV XML/N5 datasets HOT 6
- Bounding grid ist to large for node with children.
- VR-Setup error whith volumes HOT 3
- Reading additional metadata of Volumes HOT 1
- Example code needs better documentation
- Memory consumption for proteins needs to be optimised
- Scenery REPL usage failing in examples HOT 2
- Network laggy and requires server restart to build connection
- Enhance the Protein Rendering
- In VulkanNodeHelpers, Old newCommandBuffer allocation HOT 1
- Upgrade pom-scijava dependency to 35.1.1 HOT 1
- Extending the docoumentation by a chapter on RenderDoc usage HOT 1
- Improve build system's handling of native classifier dependencies
- FFM-based OpenGL bindings HOT 1
- Node.runRecursive should use a copy of children HOT 1
- Put a lid on cylinders HOT 1
- RAISource.converterSetups is ArrayList, but should be more general HOT 4
- Subscribing to Node state changes HOT 1
- Shift key does not register in input handler HOT 6
- Wrong default VR controller bindings on HP Reverb G2 (WMR) and missing collision detection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scenery.