Replies: 3 comments 9 replies
-
You can do this as a "Redstone signal block", we send a request, and receive a response in the form of an array of pressed keys, mouse coordinates. |
Beta Was this translation helpful? Give feedback.
-
Do you want to use mouse tracking for terminals or a real input device like |
Beta Was this translation helpful? Give feedback.
-
If someone knows the magic escape sequences to send mouse input via terminal, let me know, might add that. For the projector, since that uses a virtio keyboard, would probably also get a virtio mouse dev, but reversing the actual pos without adding a UI would be... interesting (not impossible, but needs readback from GPU, and extra rendertargets with the uvs, so.. probably not worth it). And I'm not sure yet if I want to give the projector a UI. We'll see. |
Beta Was this translation helpful? Give feedback.
-
The easiest way to add support for mouse input.
We just send mouse events (mouse coordinates, mouse key pressed).
(All this only happens when we use the keyboard block)
Beta Was this translation helpful? Give feedback.
All reactions