Custom plugin for Reveal.js to control presentations using Nintendo Switch Joy-Cons
By default, the plugin is configured with the following key bindings:
| Left | Right | Action |
|---|---|---|
RIGHT |
A |
Right |
DOWN |
B |
Down |
UP |
X |
Up |
LEFT |
Y |
Left |
SR |
SR |
Next slide |
SL |
SL |
Previous slide |
- |
+ |
Toggle pause |
You can configure the plugin with the following options:
// ...
plugins: [ /* ... */ ],
joycon: {
type: 'right', // or 'left', depending on the Joy Con you want to use, default is 'right'
cooldown: 200, // the time in ms between two actions, default is 300
pointerSpeed: 10 // the speed of the pointer, default is 20
}Inspired by Firnael/reveal.js-joycon-plugin
MIT
Made with ✨ & ❤️ by ForWarD Software and contributors