FORUMS

OnePlus 2 Announced: Specs, Price and Details

The OnePlus 2 has just had its Virtual Reality Launch event, and at the XDA Office we all … more

A Helpful Guide to Music Streaming Services

With the launch of Apple Music, music streaming services have recently gained a lot of … more

An Inside Look at the Redesign of Business Calendar

The much-acclaimed calendar app, Business Calendar, underwent a major design … more

New Android One Device Dead On Arrival

Today, Google announced the second generation of Android One devices, with the new Lava Pixel … more

[APP] WiimoteController 0.6 Beta [may-29-2011] Mapping profiles

314 posts
Thanks Meter: 72
 
By pikipirs, Senior Member on 29th April 2010, 11:03 PM
Post Reply Subscribe to Thread Email Thread
Hello!


I decided to share my very first Android application with the xda-devs community!


WiimoteController is an application which allows a Wii remote to connect to your Android phone. You can then use the Wii remote to control various apps.


IMPORTANT! This application does not work with most HTC Devices that have Sense UI. It doesn't matter if the Sense is turned on or not, the problem seems to be much deeper.
Please check the second post below if your device/OS flavour is listed. If it's not, test and please report if it works or not. Include your device/ROM name with the report. In case of failure please include what the app said and possibly a logcat of it too.


Usage:
  • turn bluetooth on
  • run the app
  • if this is your first run, hit Yes. Enable "WiiControllerIME". This is only needed once right after installation
  • tap the first button and at the same time put your Wii remote in discovery mode by pressing "1" and "2" simultaneously
  • wait for the "Connected" message to appear. The first LED will turn on on the Wii remote
  • back in WiimoteController tap the second button and select WiiControllerIME
  • done. The Wii remote is connected. Go play!
  • if you want to connect more than one Wii remote, follow the same procedure, but put ALL the remotes to discovery mode
  • to disconnect a single Wii remote, hold the power button on it
  • to disconnect all Wii remotes, use the option from the menu or simply turn the phone's bluetooth off
  • don't forget to set your favorite IME back or you won't be able to type (or check Preferences to find an option to do that automatically)


A note about yongzh's emulators (Gensoid/SNesoid/Nesoid/GameBoid):
Custom input methods don't work with yongzh's emulators by default. To enable support, go to settings and enable "Use input method". Afterwards, map keys as usual and then start gaming


See the video: http://www.youtube.com/watch?v=CBkCgEgRk0s
Another video by frankzua77: http://www.youtube.com/watch?v=GnVZgLPcq8U


Now on the market! Search for Wiimote Controller (try this link from the phone)
or use this:


Here's the apk for those of you without the android market and for those that for some reason don't see the app there. The latest version is 0.6. Older versions are no longer available because of licensing issues.
Attached Files
File Type: apk WiimoteController-0-55.apk - [Click for QR Code] (166.3 KB, 4795 views)
File Type: apk WiimoteController-0-6.apk - [Click for QR Code] (182.8 KB, 14294 views)
Last edited by pikipirs; 29th May 2011 at 03:24 PM. Reason: New version
The Following 5 Users Say Thank You to pikipirs For This Useful Post: [ View ]
 
 
29th April 2010, 11:04 PM |#2  
OP Senior Member
Thanks Meter: 72
 
Donate to Me
More
Changelog:
  • version 0.6 Beta, published may-29-2011
    - optimized IME handling
    - added ALL key codes from android, including ones for Xperia Play games (marked XP)
    - redesigned the mapping interface. Mappings were reset to defaults, sorry about that
    - new: mapping profiles
    - fixed a bug where classic controller's D-pad buttons would rotate
    - fixed a bug where too many controllers were detected and connecting would fail
    - fixed a D.I. bug where getAnalogInputStatus would not work correctly
  • version 0.55 Beta, published may-16-2011
    - changed the way wiimotes are detected. A lot of devices should now at least detect them (but may still not be supported)
    - dropped support for Android 1.5 and 1.6. Sorry, had to do it to comply with various licences
    - improved virtual key dispatching. Home screens should now accept input from controllers
    - new: app now reports back compatibility info to help improving future development
    - fixed a bug in the direct interface so now it should be ready
  • version 0.3 Beta, published may-23-2010
    - support for up to 4 controllers
    - support for nunchuk and classic controller (thanks to Mark and Rob for testing)
    - "Disconnect all" feature added in menu
    - added option to disable high thread priority from 0.25
    - all input can be remapped
    - added option to rotate wiimotes sideways (rotates the D-pad)
    - all analog sticks support axis independent digital or analog mode
    - digital mode has an adjustable threshold
  • version 0.25 Alpha, published may-14-2010
    - 30-minute limit has been removed. Enjoy
    - no longer uses Wiiuse
    - ad and donation supported
    - fix for MotoBLUR devices with Android 1.5 (thanks to Ahmed G-E for testing)
    - improved response
  • version 0.2 Alpha, published may-8-2010
    - minimum Android version is now 1.5
    - automatic IME restore after use (see Keyboard settings)
  • version 0.1 Alpha, published apr-29-2010
    - initial version


Known bugs:
  • Wii remote appears to freeze every couple of seconds for a moment. The cause for this is poor Wifi signal. Fix by moving closer to your Wifi hotspot or disabling Wifi
  • on some devices, mostly HTC and most newer Samsung devices, the application starts searching, finds the controller, and then fails with a message. The most common messages are "No route to host" and "Protocol not supported". This is most likely a fault from the manufacturer and is unfixible for now.


Device/OS pairs that this app is reported working on:

Device/OS pairs that this app probably does not work on:
Last edited by pikipirs; 29th May 2011 at 03:26 PM. Reason: New version's changelog
The Following User Says Thank You to pikipirs For This Useful Post: [ View ]
29th April 2010, 11:04 PM |#3  
OP Senior Member
Thanks Meter: 72
 
Donate to Me
More
Frequently asked questions - FAQ



The app doesn't work! It says "Error no -1". My bluetooth is on for sure.
Your phone is most likey not supported. So far, Samsung Moment and all HTC phones with Sense UI have been identified as having this issue and thus being unsupported. See this thread for technical info. Seems like HTC did something very bad to Android.



When will app be available for my Incredible/Desire/Legend/Magic/...?
See the question above. Please.



Will this ever work on my Incredible/Desire/Legend/Magic/...?
Do I really need to repeat myself? It might never. It isn't my fault though. See above.



The wiimote connects but there is no response in my (s)nesoid/gensoid/gameboid.
Three things need to be done for this to work (apart from connecting):
  • you need to choose WiiControllerIME with the second button
  • in your emulator you need to enable "Use input method" in settings (if there is no such setting, update your emulator!)
  • in your emulator you need to map wiimote's keys to game keys. You can do that in "Key mappings" inside settings



I have an unoriginal controller (like Nyko's for example). Now when I connect, the phone starts polling the data, but shortly after times out. What to do?
Unfortunately, unoriginal wii remotes and classic controllers cause issues such as abruptly disconnecting and misidentifying themselves. It's best to stick to original Nintendo hardware. The only confirmed piece of equipment that doesn't cause issues is the Datel's Retro Wireless Controller so if you've confirmed that your device works with WiimoteController app, you're safe to purchase either this or the original Nintendo controller.



I need help figuring this app out. How do I connect? How do I use this?
See this video. The first minute shows how to connect the wiimote. The last minute shows how to set it up in an emulator.



I'm not installing this! The thing can read all my passwords and credit card numbers!
What you saw was a message from the Android, warning you that you're about to enable a 3rd party input method. All input methods (Like Swype, AnySoftKeyboard, HTC_IME, etc) get this message. Even if my app was malicious (which it isn't), it can't actually capture anything without being active. And even when it's active, it could only capture input from your wiimote. Long story short, you have nothing to wory about.
Why does the app require internet connection then?
It's to download and show advertisements.



I have an issue, not mentioned in this FAQ.
Contact me via email [wiicontroller.A.T.ccpcreations.D.O.T.com]. It is in my interest to make this work on as much devices as I can, but I can't do much if I don't actually have access to a device.



Will you be developing something like this for PS3 controllers?
I might, if I find the time in the future. But I need to buy a PS3 controller, as I don't have a PS3. You can always contribute to the cause



This app is great! How can I contribute?
In a number of ways:
Last edited by pikipirs; 19th August 2010 at 09:56 PM. Reason: Adding questions
The Following 3 Users Say Thank You to pikipirs For This Useful Post: [ View ]
29th April 2010, 11:24 PM |#4  
djdarkknight96's Avatar
Recognized Themer
Flag Springfield
Thanks Meter: 29,864
 
Donate to Me
More
This is sweet, but would be sweeter if we could use Ps3 and or Xbox ones too. Good start though! Thanks for sharing!
29th April 2010, 11:24 PM |#5  
Member
Thanks Meter: 0
 
More
will test out soon. the idea is awesome and amazing. can use it to play all the emulators that i stoped useing when i got nexus cause no keyboard
30th April 2010, 12:32 AM |#6  
socksfelloff's Avatar
Member
Flag Toronto
Thanks Meter: 3
 
More
Quote:
Originally Posted by djdarkknight96

This is sweet, but would be sweeter if we could use Ps3 and or Xbox ones too. Good start though! Thanks for sharing!

xbox does not use bluetooth. ps3 sure does tho
30th April 2010, 12:33 AM |#7  
Member
Thanks Meter: 0
 
More
Works awesome!! I've been waiting for something like this. nicely done!
30th April 2010, 02:41 AM |#8  
pgiuoco's Avatar
Senior Member
Flag Plano, TX
Thanks Meter: 0
 
More
works great... i hope that you can add support for the full gamepad attachment in a future update
30th April 2010, 03:54 AM |#9  
behelit's Avatar
Senior Member
Flag Melbourne
Thanks Meter: 13
 
More
nice work




.
30th April 2010, 05:04 AM |#10  
PhantomRampage's Avatar
Senior Member
Thanks Meter: 60
 
Donate to Me
More
This has some serious potential
30th April 2010, 06:57 AM |#11  
Senior Member
Thanks Meter: 9
 
More
haven't tried it yet but this is awesome hope you can add PS3 support too, or maybe wii remote add-on support (like the classic controller and such)


ok so after getting it working i got a hard reboot i dont know if its because my roms not the stablest (5.0.7-test0) or it was gbcoid lite or the game for that matter further testing awaits...which means work will suck in the morning
Last edited by godsfilth; 30th April 2010 at 07:27 AM. Reason: fixing my shite spelling

Read More
Post Reply Subscribe to Thread

Tags
controller, game, ime, remote, wii
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes