question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Small Pointer Activation Issue? Proposed small fix.

See original GitHub issue

In VRTK_Pointer.cs, line 386 in the function CanActivateOnToggleButton(). Should that perhaps also take into account state being set to false, so as to trigger deactivation regardless? So it reads like the following:

   // Basically just add a "|| !state" to the line like below
   if (result || !state))
   {
      willDeactivate = true;
   }

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
devinkellycommented, Sep 6, 2017

Understood. And you are correct. Just tested to confirm.

Thank you for your diligence with this, very appreciated! And thank you for VRTK, it’s really well done.

Feel free to close this issue at your discretion.

0reactions
thestonefoxcommented, Sep 6, 2017

yes, because you’re manually toggling then the button being held won’t be needed.

the Toggle forces the pointer on regardless of button press. So just leave that Hold Button To Activate checked and it should do what you want with the script you provided.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I get rid of a small semi-opaque grey dot ...
Under Accessibility, Assistive Touch, check to see if anything is activated under Pointer devices.
Read more >
mouse pointer is offset up and to the left about 1/4 inch
i am on an imac running 10.11.6 running fusion 8.1.0 and i have a windows 7 VM. the mouse pointer displayed in the...
Read more >
How to stop Mouse Pointer auto selecting when hovering ...
Make sure to uncheck the Activate a window by hovering over it with the mouse option. 4. Click OK If the issue persists,...
Read more >
Why is my mouse/cursor shown as a small dot when ...
I have VNC Viewer 7.1.0 and this issue is still unresolved. There is no "always show cursor" option in the expert section or...
Read more >
"Visual Studio code" cursor moves to end of line ...
Here is the simple solution of your problem: Go to File , then toggle Auto Save option. This will also prevent auto formatting...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found