1 mouse moving simultaneously on more running containers

Is it possible to share an input device of the host (i.e. mouse and keyboard) simultaneously on multiple containers running the same application (i.e. gedit). If yes can you help me to understand how to?
(i.e. writing the same text at the same time on different editors from different running containers)
Thanks in advance.

I don’t really know the answer, but I don’t think it is possible. A container is just an isolated process. If you could do it, it would mean that you could have your mouse and keyboard focusing on multiple application without containers too. If you can find a way to do that, then you can try it with containers.