   Lower Level Input
  I would like to know if there are any lower-level input interfaces that are Linux based. I don't want to use SDL for reasons I'll keep to my self. I don't want to use X11 either, really, unless I have to. So I guess I'm limiting my self. I though there would be an API similar to OpenGL/OpenAL, but for input. I'm not afraid of using the lower level kernal functions if I have too either. But I don't want to do that unless its a last resort. There's prolly gonna be complications with that and X11.My Googleing hasn't really turned up any thing that useful: "Lower Level Input +Keyboard|Joystick|Mouse +Linux -Windows" gets me this. It's a start, but... I guess I'm just looking for instant gratification from someone on or had a similar endeavor.EDIT: By lower level I mean some that still has higher level abstraction with virtual keys and the like. Similar to DirectInput, but for Linux because that is what I write my software for!   
  Does it need to be Linux only? Because most libraries i can think of (off the top: SDL, SFML, Allegro) have Windows versions and by putting -windows in your search, you're excluding perfectly good libraries, unless there's a reason.   ;  You could always look at the source code to SDL, SFML, or GLFW to see how they collect input.  GLFW uses conventional Windows and X11 event handlers, for example, and it runs just fine.Incidentally, DirectInput is deprecated for mouse and keyboard input.  It's now just a thread wrapper for Raw Input so you might as well skip the middle-man and use a standard Windows message handler.  Low-level input in general isn't as useful these days since the negligible performance gain is offset by the mild hassle of using it.  I suspect you're attempting a premature optimization.  Also: OpenInput