|
A function key (F1 - F16) has a scan code just like any other, this article is just on capturing presses when an application window has focus. If you want to catch them on a more global level (i.e. when your application does not have focus), you can use DirectInput, windows hotkeys or lower-level keyboard hooks, the latter also allowing you to capture the "action buttons" on media keyboards.
|