10 lines
235 B
HTML
10 lines
235 B
HTML
|
<html>
|
||
|
<body>
|
||
|
<script type="text/javascript" charset="utf-8">
|
||
|
document.onkeydown = function (e) {
|
||
|
require('electron').ipcRenderer.send('keydown', e.key, e.code, e.keyCode, e.shiftKey, e.ctrlKey, e.altKey)
|
||
|
}
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|