[Haskell-cafe] Suggestion: define a standard keyboard codes
gale at sefer.org
Wed Aug 26 06:42:11 EDT 2009
Peter Verswyvelen wrote:
> Several libraries define their own codes for they keyboard (GLFW, GTK, GLUT,
> Maybe it would be nice to agree on a standard datatype for keys? This might
> also include digital buttons on a joystick, etc...
> The Windows API has virtual key codes for this.
X windows key symbols are used extensively in XMonad.
They are found in the X11 package, in the modules
Graphics.X11.Types and Graphics.X11.ExtraTypes.
More information about the Haskell-Cafe