I have been programming with Xlib for X11 on free UNIX-like systems (Linux and BSD). I know that in all the stuff I have done with win32 that DirectInput is much more efficient than using the input/polling functions in win32 and MFC. Someone on a different forum said that you can just use the kernel headers, but they also said that you can't run those programs unless the user running them is root. This is obviously unacceptable for a game, as not all players can nor want to log in as root to play your game (especially suspicious since the game has a network component). So my question is best expressed as an analogy:
DirectInput:Windows :: x:Linux
Please help me by solving for x.