Skip to content

functino/reveal.js-gamepad-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 

Repository files navigation

Use your gamepad as a remote to control your slides

This plugin for reveal.js makes it possible to use a gamepad to advance through your slides.

Restrictions

  • needs an up to date browser with gamepad support (e.g. current chrome)

HowTo / Installation

Just copy this repository into your reveal.js presentation to /plugin/gamepad.

Include this line in the "dependencies" section in index.html: `{ src: 'plugin/gamepad/gamepad.js'}´

Open your presentation and plug in your gamepad. You should now be able to trigger Reveal.js' navigateNext and navigatePrev methods with the following buttons:

Navigate to the next slide:

  • right shoulder / RB / R1
  • left shoulder / LB / L1

Navigate to the previous slide:

  • right shoulder bottom / RT / R2
  • left shoulder bottom / LT / L2

TODO

  • make use of the dpad to go next/prev and up/down
  • make use of the other buttons (pause presentation and so on)
  • use the analog stick to move a red point (like a laser pointer)
  • ...

About

Use your gamepad (XBOX, PS3, ....) to remote control your presentations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published