Description
Virtual input devices can be driven from Python through the Linux uinput kernel module. This library lets programs create and send keyboard, mouse, or controller events for automation, accessibility, testing, or device integration.
It is imported by software and may require permissions to access uinput. Input injection can control the desktop or applications, so only run code you trust and keep permissions narrow.