9. StdKey

Keyboard event handlers receive KeyboardState (see Section 4, “StdIOCommon” for definition) as a parameter. When the special key (like F1, F2, PgUp, PgDn and other) is pressed, then the KeyboardState contains a value of SpecialKey type. Here is a list of all predefined values:

backSpaceKey, beginKey, clearKey, deleteKey, downKey, endKey, enterKey,
escapeKey, f1Key, f2Key, f3Key, f4Key, f5Key, f6Key, f7Key, f8Key,
f9Key, f10Key, f11Key, f12Key, f13Key, f14Key, f15Key, helpKey,
leftKey, pgDownKey, pgUpKey, rightKey, upKey :: SpecialKey