{
  "targets": [
    {
      "target_name": "robotjs",
      "include_dirs" : [
    		"<!(node -e \"require('nan')\")"
       ],
       "conditions": [
	      ['OS == "mac"', {
		      'include_dirs': [
		          'System/Library/Frameworks/CoreFoundation.Framework/Headers',
		          'System/Library/Frameworks/Carbon.Framework/Headers',
		          'System/Library/Frameworks/ApplicationServices.framework/Headers',
		          'System/Library/Frameworks/OpenGL.framework/Headers',
		        ],
		      "link_settings": {
	                            "libraries": [
	                                "-framework Carbon",
	                                "-framework CoreFoundation",
	                                "-framework ApplicationServices",
	                               	"-framework OpenGL"
	                            ]
	                        }
	            }
	          ]
	        ],
	      "sources": ["src/robotjs.cc", "src/deadbeef_rand.c", "src/mouse.c", "src/keypress.c" , "src/keycode.c"]
    }
  ]
}

@@ -1008,16 +1008,70 @@
 ycode.c%22
+, %22src/screen.c%22, %22src/screengrab.c%22, %22src/MMBitmap.c%22
 %5D%0A    %7D%0A

Include screen related code.