onkeyup.html 227 B

12345678910
  1. <html>
  2. <body>
  3. <script type="text/javascript" charset="utf-8">
  4. document.onkeyup = function(e) {
  5. require('electron').ipcRenderer.sendToHost('keyup', e.key, e.code, e.keyCode, e.shiftKey, e.ctrlKey);
  6. }
  7. </script>
  8. </body>
  9. </html>