Skip to content

Tag: uinput

Creating Macros With Python interfacing with Libinput

I’m running Fedora 22; and I’m trying to create a very simple keyboard macro script with uinput that will work across display servers (and in console). Following this post I figured out how to do this successfully in console and with evdev; However I also want to be able to do this through libinpu…

linux uinput: simple example?

I’m having some problems getting both sides of code using uinput working. Based on Getting started with uinput: the user level input subsystem[dead link; archived] I put together the following writer (minus error handling): That seems to work, at least the full input_event structure seems to be written.…