hello community, i want to make a toggle of a key. How i can do it and i can put any key?? there is any function as c++ (GetAsyncKeyState(VK_F10))->example
if ( self.name == "name" )
{
if ( self screenshotbuttonpressed()) //how can i put any key here like f10
{