NAME libgamepad - Game controller library DESCRIPTION libgamepad is a C library that implements game controller support. libgamepad implements not only reading input and applying force feedback, but also provides controller information such as layout details, canoncial button names, button icons, button colours, and conformity to well known controller schemes, and applies fixes such as remapping buttons and axes, and removing non-existent ones, correct axes information, and apply calibrations, it even lets you implement userspace drivers (however input reading only) if kernel drivers are missing or lacking, as long as a hidraw input device is available. Games for video gaming consoles know in advance how the game controller is supposed to look for the platform it is running on, but on PCs it does not have any information, and can therefore not display an image of your controller, tell you the names or colours, or display icons, for which buttons to press. libgamepad aims to solve this, and make controllers appears almost as native to PCs as to video gaming consoles.