mlepage, the approach you state pretty much applies for anything in programming that has a GUI related to it

One should, I believe, always get the underlying code working and then worry about putting a nice interface over it. I guess unless the interface is the key component of the problem anyway. In this case your right, the primary concern is the code to provide the functionality. Indeed, if you write it decently, you'll be able to reuse the code in every project you use going forward and you can just "skin" it, so to speak.
Starfury, If it's non-GAPI exposed, I don't think you'll get notification in any of the key event handlers anyway, so it's a moot point (I presume we're still talking GD here, but it probably applies for PF or any other library).
The nice thing about mapping keys like this is that you as a developer don't have to worry about device configurations. As long as the GAPI implementation registers a keypress (and GD is set up to recieve it, if it has to do anything special at all), then it's fair game for mapping. Certainly, I think people will appreciate you allowing any key to map to any function, especially if manufacturers start creating physically funky devices. You never know what a person will find most comfortable in terms of button layout.