I have a custom keyboard project, and I need to support both Mac and Windows. I need to switch the CTRL\ALT\GUI modifier buttons depending the OS. How can I detect the OS?