tags:

views:

26

answers:

1

I'm writing a GLFW app in C++ on MacOSX.

It runs in GLFW_FULLSCREEN mode

Now, when I press the "dim screen / f1" button, my Mac dims my screen.

I do not want that to happen. Instead, I want GLFW to receive a "key press F1" event (or a "key press blah blah blah" event. Is there a way to tell MacOSX to NOT interpret the "dim screen" and send it to my full-screened GLFW app?

Thanks!

PS: I have admin rights on the Mac and am willing to make changes to system to make this happen if necessary.

A: 

As I said, there has to be some better solution, especially if you want to redistribute your program, but if you plan on using this software for yourself only, you can go to the Keyboards preference panel and check Use all F1, F2, etc. keys as standard function keys.

zneak