• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Can't get wii motes to connect

Scheduled Pinned Locked Moved Help and Support
wii motepi4bluetoothnot connected
3 Posts 2 Posters 431 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U
    Unknown
    last edited by Unknown 24 Jun 2020, 16:14

    I ran these commands to connect wii motes:

    sudo apt-get install wminput
    sudo reboot
    
    
    sudo nano / etc / cwiid / wminput / retropiewii one
    sudo nano /etc/cwiid/wminput/retropiewii
    sudo reboot
    sudo nano /etc/rc.local
    sudo reboot
    cd RetroPie-Setup/
    sudo apt install bluetooth vorbis-tools python-cwiid wminput
    sudo tee /etc/udev/rules.d/wiimote.rules << EOF
    KERNEL=="uinput", MODE="0666"
    EOF
    sudo service udev restart
    /etc/init.d/bluetooth status
    sudo tee /etc/udev/rules.d/wiimote.rules << EOF
    KERNEL=="uinput", MODE="0666"
    EOF
    sudo tee /etc/udev/rules.d/wiimote.rules << EOF
    KERNEL=="uinput", MODE="0666"
    EOF
    sudo reboot
    sudo service udev restart
    /etc/init.d/bluetooth status
    sudo nano /etc/cwiid/wminput
    tee /home/pi/mywminput << EOF
    # Classic-Controller
    Classic.Dpad.X = ABS_HAT0X
    Classic.Dpad.Y = -ABS_HAT0Y
    Classic.LStick.X = ABS_X
    Classic.LStick.Y = -ABS_Y
    Classic.RStick.X = ABS_RX
    Classic.RStick.Y = -ABS_RY
    Classic.A = BTN_A
    Classic.B = BTN_B
    Classic.X = BTN_X
    Classic.Y = BTN_Y
    Classic.Minus = BTN_SELECT
    Classic.Plus = BTN_START
    Classic.Home = BTN_MODE
    Classic.L = BTN_TL
    Classic.R = BTN_TR
    Classic.ZL = BTN_TL2
    Classic.ZR = BTN_TR2
    # WiiMote
    Wiimote.A = BTN_A
    Wiimote.B = BTN_B
    Wiimote.Dpad.X = ABS_Y
    Wiimote.Dpad.Y = -ABS_X
    Wiimote.Minus = BTN_SELECT
    Wiimote.Plus = BTN_START
    Wiimote.Home = BTN_MODE
    Wiimote.1 = BTN_X
    Wiimote.2 = BTN_Y
    # Nunchuk
    Nunchuk.C = BTN_C
    Nunchuk.Z = BTN_Z
    EOF
    hcitool scan
    mkdir /home/pi/bin
    nano /home/pi/bin/attachwii.sh
    chmod 775 /home/pi/bin/attachwii.sh
    rebootWithoutWiimotes=0 /home/pi/bin/attachwii.sh

    And here is my rc.local file.

    #!/bin/sh -e
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.
    sudo hciconfig hci0 up
    sudo hciconfig hci0 pscan
    exit 0

    Here is what is in /pi/retropie/etc/cwiid/wminput/retropiewii:

    # WiiMote
    Wiimote.A      = BTN_A
    Wiimote.B      = BTN_B
    Wiimote.Dpad.X = ABS_X
    Wiimote.Dpad.Y = ABS_Y
    Wiimote.Minus  = BTN_SELECT
    Wiimote.Plus   = BTN_START
    Wiimote.Home   = BTN_MODE
    Wiimote.1      = BTN_X
    Wiimote.2      = BTN_Y
     
     
    # Classic-Controller
    Classic.Dpad.X   = ABS_X
    Classic.Dpad.Y   = ABS_Y
    Classic.LStick.X = ABS_RX
    Classic.LStick.Y = ABS_RY
    Classic.RStick.X = ABS_Z
    Classic.RStick.Y = ABS_RZ
    Classic.A        = BTN_A
    Classic.B        = BTN_B
    Classic.X        = BTN_X
    Classic.Y        = BTN_Y
    Classic.Minus    = BTN_SELECT
    Classic.Plus     = BTN_START
    Classic.Home     = BTN_MODE
    Classic.L        = BTN_TL
    Classic.R        = BTN_TR
    Classic.ZL       = BTN_TL2
    Classic.ZR       = BTN_TR2
     
     
    # Nunchuk
    Nunchuk.C            = BTN_C
    Nunchuk.Z            = BTN_Z
    Nunchuk.Stick.X      = ABS_TILT_X
    Nunchuk.Stick.Y      = ABS_TILT_Y
     
     
    # LEDs
    Plugin.led.Led1 = 1
    

    I followed this tuatorial: https://retropie.org.uk/docs/Wiimote-Controller/
    I'm not sure what I did wrong, but my wii motes never connect to my pi's emulationstation. I'm running the offical retro pie image on a pi4. My wiimotes have not been modified in any way. I am using pi4 built in Bluetooth. I have not done anything to the image except for add two Nintendo DS emulators from the retro pie setup experimental packages. I plan to connect four wiimotes. The pi does detect them with the scan, but they never show in emulator station. I did put their mac addresses in my pi. Can anyone tell me what I did wrong?

    You can't beat the classics(unless you copy them).

    1 Reply Last reply Reply Quote 0
    • Q
      quicksilver
      last edited by 24 Jun 2020, 17:17

      It's bad forum etiquette to open a new topic when you already a topic open on the same subject https://retropie.org.uk/forum/topic/26798/having-trouble-connecting-wii-remote?_=1593018778499. You should keep all of this in one thread otherwise it's extremely confusing for those who may want to assist you.

      1 Reply Last reply Reply Quote 0
      • U
        Unknown
        last edited by 24 Jun 2020, 18:15

        @quicksilver I did not know that. Sorry, but I can't change that now.

        You can't beat the classics(unless you copy them).

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post

        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

          This community forum collects and processes your personal information.
          consent.not_received