JKHyun / android-bluez-ime

Automatically exported from code.google.com/p/android-bluez-ime
0 stars 0 forks source link

iCP support #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Please provide any additional information below.

http://www.icontrolpad.com/

Original issue reported on code.google.com by johnsong...@gmail.com on 4 Mar 2011 at 12:20

GoogleCodeExporter commented 9 years ago
I have one if you need me to do anything contact me at the above email address

Original comment by johnsong...@gmail.com on 4 Mar 2011 at 12:21

GoogleCodeExporter commented 9 years ago
That looks cool, but it is a bit outside my price range.
If you have one already, can it connect using the "Data Dump Driver" ?
If it can, I can probably make it work very quickly.
If it does not connect, and there is no documentation, I may not be able to get 
it working.

If you have a controller and it connects, you can provide me with the data I 
need by using the Android "logcat" command:
http://developer.android.com/guide/developing/tools/adb.html

Simply type "adb logcat" in a command prompt/terminal window.
When it is connected, press each button a few times, and note what data logcat 
reports  for each button. Send me this info and I will update the app asap. If 
you need more info, please write again.

Original comment by kenneth@hexad.dk on 4 Mar 2011 at 7:50

GoogleCodeExporter commented 9 years ago
The iCP has several different "profiles", but to change profiles you have to 
disconnect, wipe the existing partnership and then re-establish connection. 
Once the device is set it remains the default profile on the device untill 
changed. 

The different profiles are Serial port (SPP), HID keyboard, Hid keyboard + 
mouse, HID joystick mode, HID mouse, and HID gamepad. Almost like having 6 
devices in one.

When I asked the manufacturers they stated HID Joystick Mode was the most 
compareable to a ps3 sixaxis so that might be the profile I will start with 
unless you have a better reccomendation. I will eventually try capture all the 
different hardware profiles as each one has a different mapping.

So far I can pair, but I'm having issues actually connecting, it pairs with a 
laptop etc just fine so I know the hardware is functioning at least to some 
extent. It keeps giving the error "error:connection refused" when connected in 
bluez-ime

If you don't mind, I forwarded the email/message to icontrolpad@gmail.com to 
see if they will send you a dev unit, they're a fairly new startup and are 
still in the getting support phase of production.

Original comment by johnsong...@gmail.com on 4 Mar 2011 at 10:36

GoogleCodeExporter commented 9 years ago
SPP is the one I would recommend, that is what the Zeemote uses, and it seems 
to be supported on all Android devices with BT.

The HID profile seems to be missing on all 2.2 devices.

Original comment by kenneth@hexad.dk on 4 Mar 2011 at 10:39

GoogleCodeExporter commented 9 years ago
I got a note back from icontrolpad@google.com can you please send me/them
your address so they can send you a dev unit.

Original comment by johnsong...@gmail.com on 4 Mar 2011 at 6:10

GoogleCodeExporter commented 9 years ago
my email is johnsongrantr @ gmail.com

Original comment by johnsong...@gmail.com on 4 Mar 2011 at 6:19

GoogleCodeExporter commented 9 years ago
Hi, I tried sending a mail to the mentioned address (you are cc), but it 
bounced?

Original comment by kenneth@hexad.dk on 5 Mar 2011 at 10:32

GoogleCodeExporter commented 9 years ago
Icontrolpad@gmail.com sorry mixed google and gmail

Original comment by johnsong...@gmail.com on 6 Mar 2011 at 2:02

GoogleCodeExporter commented 9 years ago
It seems that they have now shipped a dev-device to me, I hope to get it 
working over the following weekend.

Original comment by kenneth@hexad.dk on 15 Mar 2011 at 8:03

GoogleCodeExporter commented 9 years ago
if you want to discuss this with the manufacturers there is a dedicated forum 
for support. Most support seems to be focused around iPod/iPhone support but 
the person that designed the circuit board frequents the site listed below.

http://boards.openpandora.org/index.php?/forum/6-icontrolpad/

just as an update, I have still been unsuccessful in pairing and connecting in 
stock 2.2, I have a alpha release of CM7 for my phone that will soon have full 
BT support, hopefully I will have better success then, as of right now the 
version I have has only BT audio support.

Original comment by johnsong...@gmail.com on 15 Mar 2011 at 4:14

GoogleCodeExporter commented 9 years ago
I have now created a post on the openpandora forum, because it fails to 
connect, like you describe. I am pretty sure I will not get it working this 
weekend, but I will wait a little for their response before looking deeper into 
Bluetooth debugging.

My post:
http://boards.openpandora.org/index.php?/topic/2453-pairing-method-using-spp-on-
android/

Original comment by kenneth@hexad.dk on 19 Mar 2011 at 11:56

GoogleCodeExporter commented 9 years ago
Issue 33 has been merged into this issue.

Original comment by kenneth@hexad.dk on 16 Apr 2011 at 3:23

GoogleCodeExporter commented 9 years ago
Id also like to see icontrolpad support.  A similar app called gMepro supports 
it already, but is a bit pricey.

Original comment by Leat...@gmail.com on 2 May 2011 at 10:33

GoogleCodeExporter commented 9 years ago
Do you have a link to gMepro?

Original comment by kenneth@hexad.dk on 3 May 2011 at 6:57

GoogleCodeExporter commented 9 years ago
Its actally called game pro... its in the market. The developer also has a post 
on. the icontrol pad forms. Here is the link 
http://boards.openpandora.org/index.php?/topic/2527-android-gamepro-icontrolpad-
support/ I am testing his drivers for my phone... and wile every thing works 
there are bugs.... you can read what I posted in that thread. I am the user 
catdaddy. Maybe you can contact the developer and see how he got it connected. 
His website is called my mobile gear... I believe 

Original comment by DaCatda...@gmail.com on 3 May 2011 at 7:40

GoogleCodeExporter commented 9 years ago
I got in contact with the author of another open source app that has 
iControlPad support, and I should be able to get it working shortly.

Original comment by kenneth@hexad.dk on 5 May 2011 at 8:40

GoogleCodeExporter commented 9 years ago
Great news! I just got a connection to my iControlPad, and can read the 
Firmware version, so I just need to read the button data.

Original comment by kenneth@hexad.dk on 5 May 2011 at 3:00

GoogleCodeExporter commented 9 years ago
That is great news! Caint wait till you get the update out.... quick 
question... will you haeve the analog nubs functional? The programs I have 
tried don't have them working properly.

Original comment by DaCatda...@gmail.com on 5 May 2011 at 7:43

GoogleCodeExporter commented 9 years ago
No, not initially. I don't know of any sensible way to simulate them, trackball 
perhaps?

Original comment by kenneth@hexad.dk on 5 May 2011 at 7:52

GoogleCodeExporter commented 9 years ago
Hmmm.... is there a way to bind to a key?

Original comment by DaCatda...@gmail.com on 5 May 2011 at 7:59

GoogleCodeExporter commented 9 years ago
There could be, I do that for the Zeemote, but since it can only be "pressed" / 
"not pressed" I don't see where it would be better than a button?

Original comment by kenneth@hexad.dk on 5 May 2011 at 8:02

GoogleCodeExporter commented 9 years ago
Hmm... if you do trackball... well in emulators I've tried with it mapped to 
the analog nubs, had a slite drag in the direction I pressed. For instance I 
would press left and let go... the character on the emulator would still move 
left for a second after I let go of the nub. Then again that may just be how 
the emulator emulates that type of input.

Original comment by DaCatda...@gmail.com on 6 May 2011 at 10:03

GoogleCodeExporter commented 9 years ago
I have now added and tested iCP support. I managed to get the analog nubs to 
send button data as well. I can play "Super Mario" with both the analog nub and 
the DPad, so it seems responsive enough. I think my iCP unit has a defect 
switch under the Dpad-left button so it sometimes do not fire when pressed. 
Other than this is seems to work really well.

If you can try it out before I put it on Market, that would be cool (attached 
is a signed update).

Original comment by kenneth@hexad.dk on 8 May 2011 at 3:28

Attachments:

GoogleCodeExporter commented 9 years ago
I have updated the package to allow pairing with non-bonded devices.

Original comment by kenneth@hexad.dk on 8 May 2011 at 4:57

Attachments:

GoogleCodeExporter commented 9 years ago
Great news! I will give you my tests results later on today

Original comment by DaCatda...@gmail.com on 8 May 2011 at 5:03

GoogleCodeExporter commented 9 years ago
I had some time on my lunch break to give your update a go... my device is the 
motorola atrix,and the emulator I tested was n64soid. The drivers found and 
conectedto my icontrol pad without a problem. Using the default key 
configuration I set my keys for the input ingame and it seemed like it would 
somtimes not read the button press. But when I got in game with the emulator it 
was evident that the buttons was not working properly. And that's with all the 
buttons ... some times the buttons get switched around on the fly... like if I 
press the allocated jump button several times all of a siren the character on 
screen will do a punch? This happened with all the face buttons. The analog nub 
input works flawlessly...damn near perfect 

Original comment by DaCatda...@gmail.com on 8 May 2011 at 6:28

GoogleCodeExporter commented 9 years ago
I managed to "optimize" it so badly that all keys worked once :)

Attached is a version that works for me.

Original comment by kenneth@hexad.dk on 8 May 2011 at 6:28

Attachments:

GoogleCodeExporter commented 9 years ago
I will test some more emulators during my next break. To give you feedback on 
those. Also I remaped the buttons to keys instead of buttons and I got the same 
results... I also tried it with a text editor and had similar results only in 
the text editor it would sometimes not read the key press until I press another 
button. For instance. If I press the a button on the icontrol pad it would 
sometimes not show the key code I bonded to the a button but if I press any 
other button and go back to the a button it would input.

Original comment by DaCatda...@gmail.com on 8 May 2011 at 6:41

GoogleCodeExporter commented 9 years ago
Ok... will test that version on my next break 

Original comment by DaCatda...@gmail.com on 8 May 2011 at 6:47

GoogleCodeExporter commented 9 years ago
I tilt my hat off to you sir... looks like you are close to perfection. I found 
no bugs durring my break. Everything just worked... fantastic work. I will let 
you kno in the feuture if I find any bugs

Original comment by DaCatda...@gmail.com on 8 May 2011 at 9:42

GoogleCodeExporter commented 9 years ago
Ok, I'll put it on market

Original comment by kenneth@hexad.dk on 9 May 2011 at 7:32