I want to set a key press for things. I know how to do it this way...
if(GetAsyncKeyState(VK_F2)) {
MY CODE
}
Now how would I get it to do LCtrl + F2? would it be something like
if(GetAsyncKeyState(VK_LCONTROL & VK_F2)) {
MY CODE
}
Something like that? Or am I going about it all wrong?