Wii Remote events script
This script provides an event system to allow Wii Remote motion to be detected as actual motion, instead of just as instantaneous values. The events can be set to trigger at specific thresholds; when the motion exceeds a certain value within a certain amount of time. Multiple thresholds can be specified for each type of event, so faster motion can be distinguished from slower motion.
The script also converts button presses of the Wii remotes into proper keydown, keypress and keyup events.
Demo
The following list shows the last 20 Wii Remote events that the script created (the demonstration also uses the Wii Remote emulator script, so if you are not using a Wii, you may still be able to use a mouse to simulate it):
This demonstration requires JavaScript support