jpverhaeghe / cellexalvr

Biology Data in VR
GNU General Public License v3.0
3 stars 1 forks source link

Look into adding a mouse cursor to the first window that connects to a physical mouse that can be used. #49

Closed jpverhaeghe closed 1 year ago

jpverhaeghe commented 1 year ago

Looking at using mouse input to move an object in space as the pointer for each window. Would be a prefab that stays within the canvas and would do the motions for a mouse pointer. It would activate if the window is active. For proof of concept, will start by having it always active and only in the first opened window and add active/inactive status later.

Note: Will need to test how it affects the main program and/or windows environment (can it be blocked?)

jpverhaeghe commented 1 year ago

I've added the cursor and basic clicking. If it the cursor is too close to the top of the screen, there is a chance it will click the menu bar on the computer application rather than the window. This problem is less of an issue if you run the program maximized on the screen. You can choose any window, not just the first one.