How can I test my mouse events in playground if I can't access a computer? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I test my mouse events in playground if I can't access a computer?

20th Mar 2021, 9:33 PM
Karak10
Karak10 - avatar
6 Answers
+ 2
you can't... unless you have a mouse attached to your device ^^ (a stylus should almost emulate a mouse -- but not continuously)
20th Mar 2021, 9:37 PM
visph
visph - avatar
+ 1
Mirielle[ Exams ] if you read the whole article, you will see that after USB OTG possibility (only for phone having such usb port), there is the more compatible bluetooth way to connect mouse on any phone... I don't know about real support, but I guess it is wide accross phone and tablet. Also, as I have first said, using a stylus (if you find one supported by your phone or tablet), you will have a behavior close to a mouse ^^
20th Mar 2021, 10:17 PM
visph
visph - avatar
21st Mar 2021, 10:01 AM
SAN
SAN - avatar
0
Mirielle[ Exams ] I did not ask the question before, and I think there should be a way to trigger the events even without connecting a mouse to your device.
20th Mar 2021, 9:51 PM
Karak10
Karak10 - avatar
0
I will try downloading Puffin browser, if I remember correctly it has a virtual cursor you can use.
20th Mar 2021, 9:53 PM
Karak10
Karak10 - avatar