There has been some confusion how the two keyboard specific methods R3WM_RAWKEY and R3WM_VANILLAKEY should be handled in different platforms. To clear this issue up, version 6 uses only the R3WM_RAWKEY event. There is also new method R3WM_RAWKEYUP, which is sent when a key is released.
For example, to see if F3 key is pressed down:
case R3WM_RAWKEYDOWN: switch(msg->key.code) { case R3RAWKEY_F3: ... case 'a': ...;
R3WM_VANILLAKEY is still supported in v6. However, to make sure your plugin works consistently on all the platforms, use R3WM_RAWKEY instead.