1
0
Fork 0

leap motion doc tweaks

This commit is contained in:
Hakim El Hattab 2013-08-22 11:23:22 -04:00
parent 90a8ca4168
commit 55d3aea268
1 changed files with 14 additions and 18 deletions

View File

@ -664,31 +664,27 @@ Reveal.initialize({
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: 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 to 2 fingers ##### 1 to 2 fingers
* Pointer — Point to anything on screen. Move your finger past the device to expand the pointer. Pointer — Point to anything on screen. Move your finger past the device to expand the pointer.
##### 1 hand + 3 or more fingers
* Left
* Right
* Up
* down
##### 1 hand + 3 or more fingers (left/right/up/down)
Navigate through your slides. See config options to invert movements. Navigate through your slides. See config options to invert movements.
##### 2 hands ##### 2 hands upwards
* Up
Toggle the overview mode. Do it a second time to exit the overview. Toggle the overview mode. Do it a second time to exit the overview.
#### Config Options #### Config Options
You can edit the following 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. | Property | Default | Description
* naturalSwipe: Defaults to true. Swipe as though you were touching a touch screen. Set to false to invert. | ----------------- |:-----------------:| :-------------
* pointerColor: Defaults to #00aaff. The color of the pointer. | autoCenter | true | Center the pointer based on where you put your finger into the leap motions detection field.
* pointerOpacity: Defaults to 0.7. The opacity of the pointer. | gestureDelay | 500 | How long to delay between gestures in milliseconds.
* pointerSize: Defaults to 15. The minimum height and width of the pointer. | naturalSwipe | true | Swipe as though you were touching a touch screen. Set to false to invert.
* pointerTolerance: Defaults to 120. Bigger = slower pointer. | pointerColor | #00aaff | The color of the pointer.
| pointerOpacity | 0.7 | The opacity of the pointer.
| pointerSize | 15 | The minimum height and width of the pointer.
| pointerTolerance | 120 | Bigger = slower pointer.
Example configuration: Example configuration:
```js ```js