Results 1 to 1 of 1

Thread: HOW TO: Use a Wiimote as a Remote Control for Apps

  1. #1
    Join Date
    Jun 2011
    Location
    Utah
    Beans
    98
    Distro
    Ubuntu Development Release

    Post HOW TO: Use a Wiimote as a Remote Control for Apps

    Prerequisites:
    - A Wiimote
    - Functional Bluetooth
    - Ubuntu 11.04 Classic Desktop or Unity 2D (Problems with Unity 3D)

    1. Install wiican software.
    [*** New Instructions, updated for Natty, simpler]
    - First install the Getdeb Repository PPA. http://www.getdeb.net/ (Learn how to install applications from this web site by clicking here.)-

    GUI:
    - Open up the Ubuntu Software Center.
    - Search for "wiican".
    - Install it!

    Terminal:
    - Open up the Terminal. (Ctrl+Alt+T)
    - Type
    Code:
    sudo apt-get update
    - Then type
    Code:
    sudo apt-get install wiican
    2. Set up a udev rule so that any user can use wiican. (OPTIONAL)
    - From a terminal,
    Code:
    run sudo gedit /etc/udev/rules.d/76-wiican.rules
    - Then copy in the following code:
    Code:
    KERNEL=="uinput", MODE:="0666"
    - Save the file and reboot.

    3. Import and/or create Mappings.
    - Go to Applications > Accessories > Wiican or if using Unity 2D click the Ubuntu Icon and type "Wiican".
    - A small Wiimote will appear in your panel. This means wiican is running.
    - Right-click on the wiimote icon and selecte preferences.
    - Uncheck the Mouse and Neverball boxes, unless you plan on using your Wiimote for those.

    Make your own:
    - Click the "new" button on the left.
    - Type in "Rhythmbox" for the name, type and description. (OPTIONAL)
    - Copy the following into the mapping box.
    Code:
    Wiimote.A        = KEY_PLAYPAUSE
    Wiimote.Up        = KEY_VOLUMEUP
    Wiimote.Down    = KEY_VOLUMEDOWN
    Wiimote.Left        = KEY_PREVIOUSSONG
    Wiimote.Right    = KEY_NEXTSONG
    Wiimote.Minus    = KEY_LEFT
    Wiimote.Plus    = KEY_RIGHT
    Wiimote.Home    = KEY_MUTE
    Plugin.led.Led1    = 1
    - Then click Save.

    Import:
    **UPDATED**
    DVD Remote
    **UPDATED**
    Spotify Remote

    - Make sure that the ones you are going to use are checked.

    4. Connect your wiimote to wiican
    - Now left click on the wiimote icon. Choose the one use want to use.
    - It will show you a message telling you to push the 1 and 2 buttons on your Wiimote, do so.
    - The LEDs on your wiimote will flash for a bit, Wiican should connect to your wiimote, and then you should see the LEDs remain solid. You are now connected

    5. Set up GNOME so Wiican is started each time you login. (OPTIONAL)
    - Go to System > Preferences > Startup Applications.
    - Click "Add".
    - For the name put "Wiican", for the command put "wiican" (note the command must be in lowercase), for the description, put whatever you like. Click save.
    - Make sure your new Wiican item is in the startup list and is checked. Click close.

    Tada! That's it! Enjoy your new Wiimote power! If you want to make your own mappings, consult the following files:
    - Possible Actions:
    - Possible Wiimote Inputs

    Enjoy!

    Most of this was taken from here. I just improved on it a little.
    Last edited by Mars11; July 28th, 2011 at 07:38 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •