I am setting up a keylogger, but not for malicious purposes. Whenever I press a key after applying the switch statement to capture specific VKEY Codes my buffer gets complet