7Jan/100
Names Actions Sample
Michael Quandt posted a new sample a new sample on his site, showing how to "create named actions which support the GamePad, Keyboard and Mouse".
Go read his explanations and download it to see if it could be useful for your own games.