Hacker News new | ask | show | jobs
by pm215 1648 days ago
Yes, or send a fake mouse move. It does this already when running on Windows or OSX; there's an open issue for adding the Linux host support: https://github.com/haimgel/display-switch/issues/27

I reckon it's probably 25 or 30 lines or Rust if you make it use the uinput crate to create a fake input device and send a mouse-move event that way.