Krombik / keysender

Node.js Desktop Automation for Windows.
MIT License
82 stars 9 forks source link

Suggestions for improvement #11

Closed ch3rn1k closed 1 year ago

ch3rn1k commented 1 year ago

Thanks for the lib, here is some ideas to release:

Lock keypress:

import { Hardware } from "keysender";

const obj = new Hardware();

await obj.keyboard.lock(true);
await obj.keyboard.lock(false);

Mouse position freeze:

import { Hardware } from "keysender";

const obj = new Hardware();

await obj.mouse.freeze(true);
await obj.mouse.freeze(false);
Krombik commented 1 year ago

I don't see any point in this functionality.

ch3rn1k commented 1 year ago

well k

Krombik commented 1 year ago

I find reason to add this functionality, use disableInput method from 2.2.0 version