noVNC - capture keyboard and mouse events and send to alternate service

42 views
Skip to first unread message

Cary Lewis

unread,
Nov 27, 2024, 11:14:39 AM11/27/24
to no...@googlegroups.com
I want to use noVNC to serve up a tigervnc session. That session is running a program that does not support keyboard or mouse events. I would like to be able to capture any keyboard or mouse events on the browser side, and send them to an alternate service that will process them and take appropriate actions.

Is there a fairly easy way to do this?

Pierre Ossman

unread,
Dec 4, 2024, 3:10:37 AM12/4/24
to no...@googlegroups.com, Cary Lewis
There is nothing in noVNC designed for this use case. But if you are
building your own web page, then you can likely intercept the JavaScript
events before noVNC gets them and do whatever you want with them.

Regards,
--
Pierre Ossman Software Development
Cendio AB https://cendio.com
Teknikringen 8 https://twitter.com/ThinLinc
583 30 Linköping https://facebook.com/ThinLinc
Phone: +46-13-214600

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
Reply all
Reply to author
Forward
0 new messages