Peter Verswyvelen wrote:
> Several libraries define their own codes for they keyboard (GLFW, GTK, GLUT,
> etc)
> 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.

-Yitz
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to