There is documenation on setting focus modes here.
However, this code cannot be used as it is published. When trying to build this code, there is an invalid token in the "if".
I tried some small changes to at least compile the code. But the code still does not seem to run.
I could have sworn there were some other examples or some code in an example I could use, but I can't seem to find that anywhere now.
Can someone tell me how to set the focus mode?