RetroFed Forums
Your home away from modern life.
How do I use libevdev alongside x11, without lockups?
Post Reply
AuthorMessage
ZILtoid1991
lemmy.world
ZILtoid1991@lemmy.world
Joined: 2024-03-16
Posted:   Subject: How do I use libevdev alongside x11, without lockups? Quote

Problem is that when I use libevdev (which is needed for game controllers under Linux), it locks up x11 events until I produce an input on a game controller. Libevdev documentation is cryptic and incomplete, with many implementations using read() instead of libevdev_next_event() for some reason. Only help with it is how to configure it on various Linux distros, or that which library already solves this issue, except they would force me to use them for a lot of other things, and would still force me to write abstractions to make things looking nice.

1   Original
Post Reply Page 1