DEV Community

Discussion on: Quick update: Building a disability simulator [WIP]

Collapse
 
link2twenty profile image
Andrew Bone

You can tab to it and just hold enter πŸ˜‰
But that doesn't really feel in the spirit of things

Collapse
 
grahamthedev profile image
GrahamTheDev

Yeah that was the cheat, you can also cheat with the mouse as when the β€œactual” hidden cursor is over the item you can see a hover effect and I cannot for the life of me get it to stop the propogation of the actual mouse event at the moment without an error.

Thread Thread
 
link2twenty profile image
Andrew Bone

A couple of edits to the html and css will fix that

Thread Thread
 
grahamthedev profile image
GrahamTheDev

Thanks for that but that wasn't the issue I had (although it makes the game more fair now! 🀣)

The problem is that the hidden cursor (the actual mouse position) is still clicking as well as my fake click. If you position the shaky cursor off to the left 50px and up about 50px you will still click the button.

However I can't stop that as everything I have tried either cause a stack size error or doesn't work?

The idea of this ultimately is to run on any page and so that one is an annoying one to fix!