psy21d / node-mac-vhid

Node addon that allows you to control the mouse and keyboard on a Mac through a virtual human input device.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Virtual Human Input Device for Node.js

Node addon that allows you to control the mouse and keyboard on a Mac through a virtual human input device.

Currently only mouse movement has been implemented.

Mouse and keyboad are both now implemented!

API

  • mouseMoveABS(x,y)
  • mouseMoveDelta(dx,dy)
  • mouseShow()
  • mouseGetCurrentPosition() -> { x: Number, y: Number }
  • keyDown(code)
  • keyUp(code)

About

Node addon that allows you to control the mouse and keyboard on a Mac through a virtual human input device.

License:MIT License


Languages

Language:C++ 82.0%Language:JavaScript 16.5%Language:Python 1.5%