quick question for all you developers out there.
Can someone point me to a good library or set of sample code for doing customizable keyboard mappings (like mame or the jukeboxes let me decide which key is fire1 etc). I'm undecided between using SDL and Allegro for this project, but I'm leaning towards Allegro because I'm not sure of my platform yet and I want to keep all my options open.
I *could* dive into the Mame source code and trace it through to see how it is done there, but sometimes the quickest way to an answer is to just ask.
Thanks