Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 499 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 499 Bytes

Simple test to ensure RobotJS is working on your platform.

Requirements

  • Node.js
  • An OS compatible with Node.js (e.g. Windows, MacOS, Linux)

Build

From this directory...

cd ../../
haxe build-test-simple.hxml

cd test/simple
npm install

node test.js

Result

You should see your mouse move across your screen in a sine wave pattern. The final mouse position and color of that pixel is output.

$ node test.js
#020100 at x:5519 y:589