Original Post
im still trying to implement a console into my program but at this point im having an issue with opening and closing it. at the moment im using GetAsyncKeyState to tell whether or not the "console key" is being pressed. unfortunately GetAsyncKeyState returns a short value, not a boolean. is there a function or something i can do to the return value to make it boolean. i need something simple like "Key is Up" or "Key is Down." any suggestions?