Just a quick additional note....
The name 'Is key Pressed' is very literal - it will always tell you if a key is held regardless of the usual "window focus" rules.
i.e....
- Ignores Window focus - if another Window is in front of plugin GUI, the plugin will still receive the keys. So your plugin will still see keypresses even if you are just typing into a completely unrelated text document.
- Does not "trap" keypresses - e.g. a Window beneath the plugin GUI can also see the keypresses, even if the plugin is the current focus.
There are VERY annoying - for example, when running in a VST host, it is impossible to prevent keypresses from activating the host shortcuts - resticting the choice of SM shortcuts to those not used by the host.
















like i do too hehehe )