Function key sets are compressed; only the function keys that have definitions need to be present. The KeyNum field indicates which function key the definition is for.
Valid numbers are
1..12.
FKEY_SHIFT+(1..12).
FKEY_ALT+(1..12).
FKEY_CTRL+(1..12).
The last function key in the set should have FKEY_LAST added to it's function key number.