@Mordacai058
well, thank you for explaining what you wanted to achieve and that it works now.
I was flaming because your first post was about the ternary operator and VK_CONTROL and there was nothing about joystick support or anything else.
Also the code you provided works perfectly with ternary.
So how would i have been able to guess what you wanted to achieve?
@SDE
'code newbie' == 'forum newbie' ????
I like to help but a topic without a question and missing the actual needed data to analyze is impossible

It's like "my car won't start." and then forgot to tell i've lost the key