HumanInput icon indicating copy to clipboard operation
HumanInput copied to clipboard

A JavaScript library for handling keyboard shortcuts and other human-generated events

Results 10 HumanInput issues
Sort by recently updated
recently updated
newest added

In the chrome browser, ctrl-w is not working. HI.on(["ctrl-s", "ctrl-a", "ctrl-w"], function (e) { return false; }); Only ctrl-s and ctrl-a is working but ctrl-w is not working. let me...

Is there a way to remove the event listener for a particular key after it is set for listening to a certain function? Example: this.HI.on('tab', function (e) { if **(!CheckTabKey1**(e,...

Hello there, I am using your library inside a TypeScript project. When importing and using the HumanInput class like the following... ````typescript import HumanInput from 'humaninput/src/humaninput-full.js' ... new HumanInput(window) ````...

version: 1.1.15 rendering apps on the server is impossible because the lib is requiring window even before it was used/instantiated. ``` humaninput/lib/constants.js:31:33 ReferenceError: window is not defined ``` i think...

Hello, https://github.com/liftoff/HumanInput/blob/b96967b41afb4c7293848be19a4061024132bdbc/src/gamepad.js#L241 https://github.com/liftoff/HumanInput/blob/b96967b41afb4c7293848be19a4061024132bdbc/src/gamepad.js#L247 `HI` is used instead of `this.HI` which results in an error when managing the HI instance by yourself and when no global HI is defined... A hacky...

1. Simple import with webpack build return error in subj ` import HumanInput from 'humaninput' const hi = new HumanInput(window) hi.on('a', () => console.log(12345)) ` 2. U r using webpack...

double shift sequence doesn't fire in any of these: Hi.on('shift shift' () => console.log('works')); Hi.on('shift->shift' () => console.log('works'));

1. After single press `command + c` HumanInput thinks that I hold `c` 2. After 5000ms pseudo hold HumanInput react on watchers and thinks that already `c` holded 3. After...

Awesome library! Would be great to add motion support, via: https://developer.mozilla.org/en-US/docs/Web/API/Detecting_device_orientation

enhancement