I would already be happy with a low level library that holds the union of all keys, assigning them unique codes. So you would have keys like Apple, Amiga, Windows, Start, Popup, LeftControl, RightControl, etc... No mapping is done at the low level.
Excerpts from Peter Verswyvelen's message of Wed Aug 26 12:15:14 +0200 2009:
> Maybe it would be nice to agree on a standard datatype for keys? This mightThe synergy project (sourceforge) already does some mapping from Windows
> also include digital buttons on a joystick, etc...
<-> Linux <-> Mac AFAIK.
It forwards key input to the other system over network.
This could be a source of additional information. However I haven't
looked at the code yet.
Sincerly
Marc Weber
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe