Add API to set which keys trigger cap etc in-program

* Not exposed in the UI to be able to configured just yet, but it can be
  set by a program that's renderdoc-aware.