How to programmatically generate mouse clicks?

77 views
Skip to first unread message

Jason12 C12

unread,
Oct 16, 2021, 1:51:13 PM10/16/21
to Chromium OS Discussion
We are building some assistive technology well-suited to the Chromebook market.  We have it working n Mac and Windows, but Chromebooks are our preferred platform.  We'd like to explore software options on Chromebook before resorting to hardware solutions.

We've seen reports that it's not possible to programmatically generate mouse clicks anywhere on the ChromeOS desktop and that even moving the mouse on ChromeOS via software is blocked to some degree by the OS.

So far we've not found a way to do this, but clearly Chrome Remote Desktop server can do this, so I imagine there are options we haven't considered.

 What are our best software options for generating mouse clicks on the ChromeOS desktop? 

Mike Frysinger

unread,
Oct 16, 2021, 2:02:05 PM10/16/21
to jason.c...@merlyn.org, Chromium OS Discussion
unfortunately, your research is accurate.  it is not possible currently for extensions to capture & manipulate input.
-mike

--
--
Chromium OS Discussion mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
https://groups.google.com/a/chromium.org/group/chromium-os-discuss

Jason12 C12

unread,
Oct 16, 2021, 6:18:40 PM10/16/21
to Chromium OS Discussion, Mike Frysinger, Jason12 C12

Thanks Mike.  I'll share that info with the team.  
So our users could still use a CRD client from another machine though.   How feasible would it be for us to provide our users with a customized CRD client?  Would we need to be qualified by Google to do that?
J.

Mike Frysinger

unread,
Oct 16, 2021, 8:10:42 PM10/16/21
to Jason12 C12, Chromium OS Discussion, Lambros Lambrou
iiuc, but don't quote me, the CRD client & host are open source, and you could build your own.  i suspect you'd have to provide your own API keys.  you wouldn't be able to customize the CRD host that runs on the Chromebook, but you would be able to connect to it with a custom CRD client from a diff machine.

but i'm by no means an expert on this, and i could be wildly wrong -- CRD isn't part of the CrOS project.  i don't know that CRD has any public groups where you could ask questions though.

maybe Lambros would know more.
-mike
Reply all
Reply to author
Forward
0 new messages