Tumortisch-Dist/resources/app/node_modules/keyboardevent-from-electron-accelerator/example.js

7 lines
193 B
JavaScript
Raw Permalink Normal View History

2021-06-15 16:00:08 +02:00
const {toKeyEvent} = require('keyboardevent-from-electron-accelerator');
console.log(toKeyEvent('Ctrl+Shift+V'));
console.log(toKeyEvent('Control+c'));
console.log(toKeyEvent('Alt+Delete'));