playcanvas/engine — pull request #48 by Maksims (2014-10-13 11:07:40+00:00)
Title: Fix/mouse

Fix for fullscreen in Chrome where keyboard input would be ignored.
Fix pointer lock detection.
Getting target position of `MouseEvent` is now in `Mouse` as needs `_target` element.
Mouse now bounds events towards `window`, and then checks boundaries based on target.
Keyboard now bounds events on `window`.