kepmon
Version:
A Napi library wich provides mouse movement and click events
20 lines • 766 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getPointerPosition = getPointerPosition;
exports.getPointerBoundary = getPointerBoundary;
exports.setPointerPosition = setPointerPosition;
const bindings_1 = __importDefault(require("bindings"));
const pointerService = (0, bindings_1.default)('pointerService');
function getPointerPosition() {
return pointerService.getPointerPosition();
}
function getPointerBoundary() {
return pointerService.getPointerBoundary();
}
function setPointerPosition(x, y) {
pointerService.setPointerPosition(x, y);
}
//# sourceMappingURL=index.js.map