W3cubDocs

/Electron

KeyboardInputEvent Object extends InputEvent

  • type String - The type of the event, can be keyDown, keyUp or char.
  • keyCode String - The character that will be sent as the keyboard event. Should only use the valid key codes in Accelerator.

© GitHub Inc.
Licensed under the MIT license.
https://www.electronjs.org/docs/api/structures/keyboard-input-event