I think what you are missing is a package called xinput-devel, an xinput package with development files in it but this package is not in the repository and hence i dont think you can build this application at this time.
We recommend opening a thread in a package request section if you want to ran an application that isnt in the repository and then wait until it find its way there and then install there. I think you should do this because it will help you and all everybody else who may want to use this application.
In the mean, you can ask in the package section for the development component of "xinput" package to be added to the repository so you can build your application peacefully
I took a look at older packages and noticed that XInput.h used to come with earlier versions of x11-proto-devel (e.g. x11-proto-devel-7.4-8pclos2010). It's been removed, intensionally or not, from the current package, x11-proto-devel-7.6-1pclos2010.
It's too bad...

I was considering to create a live distro to give to my students in Mechanical Engineering...
Already did part of the job...
Shipped several Meshers like GMSH, Netgen and TetGen, with it...
Several post processors like Paraview, ( tried to build Calculix Graphix ...

) and VisIT,
Several scriting environments like Ipython/scipy/numPy, Scilab 5.3.0, Octave/Qtoctave
Spreadsheet Gnumeric,
Finite Elements solvers like Claculix solver, Syrthes, Frame3dd, GetDP...
CFD solvers like OpenFOAM or Code Saturne...
But i won't be able to build BRLCAD ( a 3d modeller ) without these headers...