Skip to content

Commit

Permalink
feat: add support for pressure
Browse files Browse the repository at this point in the history
close #10
  • Loading branch information
yoannmoinet committed Sep 15, 2015
1 parent e8fcba2 commit 80e7770
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ Manager.prototype.processOnMove = function (evt) {
identifier: nipple.identifier,
position: pos,
force: force,
pressure: evt.force || evt.pressure || evt.webkitForce,
distance: dist,
angle: {
radian: rAngle,
Expand Down

0 comments on commit 80e7770

Please sign in to comment.