5,603,646 Members 36,945 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
pikipirs
Old
(Last edited by pikipirs; 29th May 2011 at 03:24 PM.) Reason: New version
#1  
Senior Member - OP
Thanks Meter 66
Posts: 314
Join Date: Jan 2009

 
DONATE TO ME
Default [APP] WiimoteController 0.6 Beta [may-29-2011] Mapping profiles

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, 3684 views)
File Type: apk WiimoteController-0-6.apk - [Click for QR Code] (182.8 KB, 11578 views)
Dumb phones --> SE XPERIA X1 --> Google Nexus One --> HTC Desire HD --> Samsung Galaxy S III

Apps that I've developed:
* WiimoteController 0.6 Beta for Android
* Mario Live Wallpaper 0.94b for Android
* Video Live Wallpaper 0.84b for Android
* App Dialer 3.0 for Android
Do you like my development? Please consider buying me a cup of coffee (or a pizza).
You could also help me by getting a free Dropbox account using this link (both of us get extra 250 MB).
The Following 5 Users Say Thank You to pikipirs For This Useful Post: [ Click to Expand ]
 
pikipirs
Old
(Last edited by pikipirs; 29th May 2011 at 03:26 PM.) Reason: New version's changelog
#2  
Senior Member - OP
Thanks Meter 66
Posts: 314
Join Date: Jan 2009

 
DONATE TO ME
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:
Dumb phones --> SE XPERIA X1 --> Google Nexus One --> HTC Desire HD --> Samsung Galaxy S III

Apps that I've developed:
* WiimoteController 0.6 Beta for Android
* Mario Live Wallpaper 0.94b for Android
* Video Live Wallpaper 0.84b for Android
* App Dialer 3.0 for Android
Do you like my development? Please consider buying me a cup of coffee (or a pizza).
You could also help me by getting a free Dropbox account using this link (both of us get extra 250 MB).
The Following User Says Thank You to pikipirs For This Useful Post: [ Click to Expand ]
 
pikipirs
Old
(Last edited by pikipirs; 19th August 2010 at 09:56 PM.) Reason: Adding questions
#3  
Senior Member - OP
Thanks Meter 66
Posts: 314
Join Date: Jan 2009

 
DONATE TO ME
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:
Dumb phones --> SE XPERIA X1 --> Google Nexus One --> HTC Desire HD --> Samsung Galaxy S III

Apps that I've developed:
* WiimoteController 0.6 Beta for Android
* Mario Live Wallpaper 0.94b for Android
* Video Live Wallpaper 0.84b for Android
* App Dialer 3.0 for Android
Do you like my development? Please consider buying me a cup of coffee (or a pizza).
You could also help me by getting a free Dropbox account using this link (both of us get extra 250 MB).
The Following 3 Users Say Thank You to pikipirs For This Useful Post: [ Click to Expand ]
 
djdarkknight96
Old
#4  
djdarkknight96's Avatar
Recognized Themer
Thanks Meter 6931
Posts: 8,483
Join Date: Nov 2009
Location: Springfield

 
DONATE TO ME
This is sweet, but would be sweeter if we could use Ps3 and or Xbox ones too. Good start though! Thanks for sharing!
NEXUS 7 Flo:
ROM: CM11 With KlearKat goodness

More from me:
Get some Black and Clear apps here: TeamBlackOutApps


 
kamikazimonky
Old
#5  
Member
Thanks Meter 0
Posts: 55
Join Date: Nov 2009
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
 
socksfelloff
Old
#6  
socksfelloff's Avatar
Member
Thanks Meter 3
Posts: 53
Join Date: Apr 2010
Location: Toronto
Quote:
Originally Posted by djdarkknight96 View Post
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
 
JDMJOSH
Old
#7  
Member
Thanks Meter 0
Posts: 66
Join Date: Jan 2010
Works awesome!! I've been waiting for something like this. nicely done!
 
pgiuoco
Old
#8  
pgiuoco's Avatar
Senior Member
Thanks Meter 0
Posts: 109
Join Date: Feb 2008
Location: Plano, TX
works great... i hope that you can add support for the full gamepad attachment in a future update
(now) Nexus One not rooted (To root or not to root...)
----------------------------------
(old) Black G1 --- Cyan4.2.14.1/v1.3 KiNgxKxKlair Eclair Hero 2.1
(old) T-Mobile Wing --- Open Touch v7.6 lite
----------------------------------
 
behelit
Old
#9  
behelit's Avatar
Senior Member
Thanks Meter 11
Posts: 219
Join Date: Sep 2008
Location: Melbourne
nice work




.
 
PhantomRampage
Old
#10  
PhantomRampage's Avatar
Senior Member
Thanks Meter 59
Posts: 566
Join Date: May 2008

 
DONATE TO ME
This has some serious potential

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

Advanced Search
Display Modes