→Finding keycodes: + Link to latest glut.h in flightgear/windows-3rd-party/... source code. *Not* easy to find.
== Finding keycodes ==
As mentioned in keyboard.xml, "regular keycodes go up to 255; special keys start at 256, and can be calculated by adding 256 to the GLUT key value in glut.h."
For printable/ASCII keys (e.g. any letter of the alphabet, number, or symbol found on a keyboard), this is simply the ASCII value of the key.