There is the xpad kernel module, which seems to basically be a Linux equivalent to Microsoft's Xinput. When I plug an XBOX controller into my Gentoo laptop and run Steam games, it just works exactly the same as on Windows, the games automatically know it's an Xinput controller and act accordingly.