code: def _diagnostic(self, event):
          
          print('\n---Keyboard Event Diagnostic---')
          print('MessageName:', event.MessageName)
          print('Message:', event.Message)
          print('Time:', event.Time)
          print('Window:', event.Window)
          print('WindowName:', event.WindowName)
          print('Ascii:', event.Ascii, ',', chr(event.Ascii))
          print('Key:', event.Key)
          print('KeyID:', event.KeyID)
          print('ScanCode:', event.ScanCode)
          print('Extended:', event.Extended)
          print('Injected:', event.Injected)
          print('Alt', event.Alt)
          print('Transition', event.Transition)
          print('---')
docs: This method is employed instead of _tap() if the PyKeyboardEvent is
          initialized with diagnostic=True. This makes some basic testing quickly
          and easily available. It will print out information regarding the event
          instead of passing information along to self.tap()