• Immutable Page
  • Info
  • Attachments

Name

plugin-wiimote.png

Package

Unofficial Plugins

Category

Utility

Unofficial Plugins

The Nintendo Wii Remote plugin is a special plugin which allows you to use your Nintendo Wii Remote with Compiz and/or Compiz Fusion. It's primary uses are with the Compiz Action System and the Wiitrack plugin.

Requirements

  • A compatible Bluetooth Adaptor
  • CWiiD 0.6

  • A Nintendo Wii Remote
  • Optional: Nunchuck

  • Optional: Sensor Bar

  • Optional: Guitar Hero Guitar (Rock on!)

Using the Nintendo Wii Remote plugin

  • Firstly, ensure that your Bluetooth adaptor is connected and working otherwise Compiz will crash when you activate connection
  • Secondly, to enable messages, enable the prompt plugin
  • Finally, hit the magic key <Shift><Super>w to initiate connection. During this time, press and hold the 1 and 2 buttons on your remote

  • To toggle reporting, hit <Alt><Super>k

  • To disconnect a wiimote, press <Alt><Super>w

You can connect up to 16 Wii Remotes at any given point. Gestures can be toggled by pressing buttons on the Wii Remote and making physical gestures.

Configuration

  • Gesturing

    • Gestures are comprised of the following:
      • Wii Remote Number: What number Wii Remote in order of connection should be used to trigger the gesture

      • Gesture Type: From a list, select what gesture (self explanatory) will trigger your action

      • Plugin Name: The plugin name of the action to be called

      • Action Name: The action name of the action to be called (For more information on both of these, see Compiz Action System

      • Sensitivity: Only Applies to movement-based gestures, how sensitive the gesture recognition (Move up to avoid accidental gestures)

  • Notification

    • Font Size of the notification (DEPRICATED, USE PROMPT)

    • Font Colour of the notification (DEPRICATED, USE PROMPT)

  • Reporting

    • A reporting information bit is comprised of the following:

      • Wii Remote Number: What number Wii Remote in order of connection should be used to trigger the gesture

      • Report: From a list, select what sensor to report

      • Plugin Name: The plugin name of the action to be called

      • Action Name: The action name of the action to be called (For more information on both of these, see Compiz Action System

      • X Argument: You'll have to look in the code of the plugin you are reporting to for this, the X argument that the plugin takes to set a value

      • Y Argument: You'll have to look in the code of the plugin you are reporting to for this, the Y argument that the plugin takes to set a value

      • Z Argument: You'll have to look in the code of the plugin you are reporting to for this, the Z argument that the plugin takes to set a value

      • Data Type: You'll have to look in the code of the plugin you are reporting to for this. Most plugins will take a Decimal argument, if that doesn't work, try Integer

      • Sensitivity: Multiplier for your data. If the plugin is reacting slowly, make this higher, if the plugin is reacting too quick, make this lower.

  • Wiimote Setup

    • Reporting Timeout: How often to send new data to the plugin. Increasing this increases CPU usage, decreasing this will cause the plugin to react in a choppy fashion

    • Gesture Timeout: How long to wait before detecting a new gesture. Again, increasing this increases CPU usage.

    • Gesture Sensitivity: How much values must differ between checks in order to register a motion gesture.

Examples

Plugins/Wiimote (last edited 2008-04-19 12:28:39 by CPE-58-161-138-188)