[Ohrrpgce] [ohrrpgce/ohrrpgce] Add a scripting command to simulate a mouse click (#30)

Ralph Versteegen notifications at github.com
Sat Aug 24 18:04:55 PDT 2019


That would be useful, for its intended purpose.

While we're at it, why not commands to simulate key presses?

Seems very unlikely that anyone would use synthetic mouse clicks as a way of interacting with anything instead of using the proper script commands, but it's probably pretty likely that synthetic keypresses would be used that way. It's easier to simulate the Use key than to check which NPC is in front of the hero and activate it. And that could create a potential backcompat pain point. Though watching for keypresses/clicks and making assumptions about how the engine will react is exactly the same problem, so I guess a script command to simulate keypresses doesn't create an additional problem.

Key input is tested by interactivetest.rpg, but mouse input is still not recorded in .ohrkeys. I wonder whether it would be an easier way to test that sort of thing? Maybe not.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/30#issuecomment-524591753
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20190824/f0c110d8/attachment.html>


More information about the Ohrrpgce mailing list