highfidelity/hifi — pull request #1948 by ZappoMan (2014-02-09 09:14:59+00:00)
Title: Several new JS events features

* more key event "text" shortcuts for SHIFT, ALT, CONTROL, META, PAGE UP, PAGE DOWN, HOME, END, HELP
* include modifiers for isShifted, isAlt, isControl, isMeta to mouse/touch/wheel events - closes #1946
* added isLeftButton, isRightButton, isMiddleButton, and button to mouse and wheel events
* added intersection (which is the 3d space intersection point with the face) to Voxels.findRayIntersection()
* fixed controllerExample.js to release key board items - closes #1945
* added delta and orientation to wheelEvent, so you can determine the scroll behavior
* added touchPointStates: isPressed, isReleased, isMoved, isStationary to touch events
* added points array to touch events, so you get the individual points of the touch event, allowing you to implement support for more complex touch events in JS like pinch, pinch open, and rotate; as well as multi-finger gestures