aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRory Hardy <rory.cronin-hardy@cerner.com>2013-08-07 21:53:31 -0500
committerRory Hardy <rory.cronin-hardy@cerner.com>2013-08-07 21:53:31 -0500
commitbd543e5ceec87927ea8be959bddcf8bc3c4a4b7d (patch)
tree072036c741cb5e42489a19fcdbb863e58c2a6576 /README.md
parent1d895bad612c218f125c43b8195ab475be625bf0 (diff)
downloadfreenode-live-2017-presentation-bd543e5ceec87927ea8be959bddcf8bc3c4a4b7d.tar
freenode-live-2017-presentation-bd543e5ceec87927ea8be959bddcf8bc3c4a4b7d.tar.gz
Various updates
Enhanced the pointer. Cleaned up the code. Added additional optional parameters. Updated documentation. modified: README.md modified: index.html modified: plugin/leap/leap.js
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/README.md b/README.md
index 15cabcf..c740bca 100644
--- a/README.md
+++ b/README.md
@@ -628,10 +628,10 @@ Reveal.initialize({
## Leap Motion
The Leap Motion plugin lets you utilize your [Leap Motion](https://www.leapmotion.com/) device to control basic navigation of your presentation. The gestures currently supported are:
-##### 1 hand + 1 finger
+##### 1 to 2 fingers
* Pointer &mdash; Point to anything on screen. Move your finger past the device to expand the pointer.
-##### 1 hand + 2 or more fingers
+##### 1 hand + 3 or more fingers
* Left
* Right
@@ -647,11 +647,13 @@ Toggle the overview mode. Do it a second time to exit the overview.
#### Config Options
You can edit the following options:
+* autoCenter: Defaults to true. Center the pointer based on where you put your finger into the leap motions detection field.
+* gestureDelay: Defaults to 500. How long to delay between gestures in milliseconds.
* naturalSwipe: Defaults to true. Swipe as though you were touching a touch screen. Set to false to invert.
-* pointerSize: Defaults to 15. The minimum height and width of the pointer.
* pointerColor: Defaults to #00aaff. The color of the pointer.
-* pointerOpacity: Defaults to 0.75. The opacity of the pointer.
-* gestureDelay: Defaults to 500. How long to delay between gestures in milliseconds.
+* pointerOpacity: Defaults to 0.7. The opacity of the pointer.
+* pointerSize: Defaults to 15. The minimum height and width of the pointer.
+* pointerTolerance: Defaults to 120. Bigger = slower pointer.
Example configuration:
```js