But should we use X11 as the standard library then, even on Windows or Mac?
X windows key symbols are used extensively in XMonad.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.
They are found in the X11 package, in the modules
Graphics.X11.Types and Graphics.X11.ExtraTypes.
-Yitz