javilechero / android-bluez-ime

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

Native support por ipega bluetooth controller #220

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What version of BluezIME are you using?
1.16, bluezIME-HID Mar 2012

What Android device do you have? What Android version?
Huawei U8800pro with Android 4.0.4 (aurora rom)

What gamepad are you using?
ipega bluetooth controller 
(http://www.ipega.hk/index.php?option=com_phocagallery&view=detail&catid=11%3Aip
hone&id=1051%3Apg-9017&Itemid=4&lang=en)

What steps will reproduce the problem?
1. when is connected as icade, select and start buttons doesn't work, and just 
left analog works, but only as a digital pad. 
2. in joystick mode just won't connect, keep saying "error: connection 
refused", just the same in any other mode (keyboard, mouse)

What is the expected output? What do you see instead?
Please add a native support for this controller, so it can be used with both 
analogs and all buttons.

Please provide any additional information below.
when connect this controller to my desktop pc with bluesoleil works flawlessly, 
with both analogs and all buttons working, even more buttons are showed (like a 
ps2 controller).
if you need something else or i can help in something, please contact me.

Thanks.

Original issue reported on code.google.com by diegobae...@gmail.com on 6 Feb 2013 at 4:15

GoogleCodeExporter commented 8 years ago
Issue 216 has been merged into this issue.

Original comment by kenneth@hexad.dk on 6 Feb 2013 at 9:02

GoogleCodeExporter commented 8 years ago
I do not have the time to work on this right now, and I do not have the 
hardware to test with.
If I can help a developer with anything to fix this, let me know.

Original comment by kenneth@hexad.dk on 6 Feb 2013 at 9:06

GoogleCodeExporter commented 8 years ago
I am also having this problem, except i am unable to pair it even when in icade 
mode.

Original comment by lwmcqu...@gmail.com on 8 Apr 2013 at 6:47

GoogleCodeExporter commented 8 years ago
in game "dead triger" joypad full work(include sticks)if device conected in 
"gamepad mode ".maybe it possible make full support in bluez ime

Original comment by pes131...@gmail.com on 20 May 2013 at 7:23

GoogleCodeExporter commented 8 years ago
in game "dead triger" joypad full work(include sticks)if device conected in 
"gamepad mode ".maybe it possible make full support in bluez ime

Original comment by pes131...@gmail.com on 20 May 2013 at 7:23

GoogleCodeExporter commented 8 years ago
in game "dead triger" joypad full work(include sticks)if device conected in 
"gamepad mode ".maybe it possible make full support in bluez ime

Original comment by pes131...@gmail.com on 20 May 2013 at 7:34

GoogleCodeExporter commented 8 years ago
i add (some time ago by now) ipega controller to the functional drivers. 
for those who just want to make it work, download the file from this post:
http://forum.xda-developers.com/showpost.php?p=39407892&postcount=119
(it has remap funtionality)
and follow this:
http://forum.xda-developers.com/showpost.php?p=39068849&postcount=107

also on this post is the source code, if any bluezime developer want to add 
officialy this pad to the ones supported, just has to add the remap 
functionality.

Original comment by diegobae...@gmail.com on 23 May 2013 at 4:12

GoogleCodeExporter commented 8 years ago
Very nice, please ping me if I do not check in your changes soon :)

Original comment by kenneth@hexad.dk on 24 May 2013 at 11:34

GoogleCodeExporter commented 8 years ago
This issue was updated by revision r97.

Added ipega support with code from Mozzytm.

Original comment by kenneth@hexad.dk on 25 May 2013 at 6:24

GoogleCodeExporter commented 8 years ago
Attached is a new build with the ipega support code.

Let me know if it works.

Original comment by kenneth@hexad.dk on 25 May 2013 at 6:29

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 7cc36fdda253.

Added ipega support with code from Mozzytm.

git-svn-id: https://android-bluez-ime.googlecode.com/svn/trunk@97 
483308c0-f530-d30c-ef00-4c9e3e525d24

Original comment by kenneth@hexad.dk on 25 May 2013 at 6:47

GoogleCodeExporter commented 8 years ago
New build, with configurable buttons :)

Original comment by kenneth@hexad.dk on 25 May 2013 at 7:12

Attachments:

GoogleCodeExporter commented 8 years ago
Hello. I'm still unable to connect my phone (Newman  NM890 MTK6589, Android 
4.2.1) with the ipega controller. Is there anything I can provide (Logs etc) to 
Add support?

The controller just flashes the connection light and eventually I get the 
error: ERROR:[JSR82] connect: Connection is not created (failed or aborted)

Original comment by glisign...@gmail.com on 10 Jun 2013 at 12:32

GoogleCodeExporter commented 8 years ago
i got the same problem, i cant connect my ipega controller with my blu vivo 4.3
i get this:  ERROR:[JSR82] connect: Connection is not created (failed or 
aborted)

Original comment by fcoalber...@gmail.com on 17 Jul 2013 at 9:47

GoogleCodeExporter commented 8 years ago
bt socket connect failed, atriy cm 10.1 (4.2.2)
I try to conect in all modes, and always get this error

Original comment by g.a.go...@gmail.com on 11 Aug 2013 at 5:06

GoogleCodeExporter commented 8 years ago
just a quick comment, ive fixed this in the xda thread but there is a bug in 
the DPAD config in the ipega code. the up-left bit should be 9 not 24. thanks

mozzytm

Original comment by carl.mos...@gmail.com on 15 Aug 2013 at 7:05

GoogleCodeExporter commented 8 years ago
@mozzytm: Thanks! I can see you are correct. The source code in the XDA thread 
does not appear to be updated though. The button config issue has been fixed in 
the source code repo here, in case the two builds should be synchronized.

For the people reporting connection issues:
ipega uses something called HID to connect.
Unfortunately, the device manufacturers put their own version of Bluetooth 
libraries onto the devices. For Android 2.x, almost no vendors supported HID, 
so you need a custom ROM if you want HID.

For never versions (3.x+), most venders DO support HID. However, Android now 
automatically connects to paired HID devices. Even if the ipega connection does 
not work, Android keeps the connection open, preventing other apps, like 
BluezIME, from connecting.

For Android 4.x+, the undocumented API that enables apps to connect with HID 
appears to have changed.

In most of these cases, you get an error message like "unknown error: 0".

As you can see Android really does not make this easy, and as I have no control 
over any of these issues.

If anyone can elaborate on these problems, or provide workarounds, I would 
appreciate it.

Otherwise: Sorry, can't fix it for you.

However, if the ipega is using the official HID protocol, you do not need 
Bluez-IME, you can just let Android handle the connection for you.

Original comment by kenneth@hexad.dk on 16 Aug 2013 at 8:10

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 4438c6496377.

Fixed the left-up bitmask, thanks to mozzytm

Original comment by kenneth@hexad.dk on 16 Aug 2013 at 8:19

GoogleCodeExporter commented 8 years ago
Issue 239 has been merged into this issue.

Original comment by kenneth@hexad.dk on 16 Aug 2013 at 8:30

GoogleCodeExporter commented 8 years ago
ah, i didnt update the source code on the thread as i figured users just wanted 
an apk (on page 41 of thread) and didnt care how they got it :) Since its 
getting brought into the official i didn't want to muddy the waters any with a 
branch. 

on a side note... a very big thanks for this project :)

Original comment by carl.mos...@gmail.com on 16 Aug 2013 at 10:03

GoogleCodeExporter commented 8 years ago
Hello, I have control Ipega PG-9017.

I find my control Ipega by bluetooth phone, connect it with my phone, it 
appears that this paired but not connected. The control keeps flashing that is 
not connected!

My phone is Motorola XT682 Android 2.3.7

cell specification, details: 
http://www.maiscelular.com.br/celulares/motorola-atrix-tv-xt682/254

Original comment by stivelus...@gmail.com on 17 Sep 2013 at 8:49

GoogleCodeExporter commented 8 years ago
Hi there,

You need to download the "HID Enabler" from the downloads sections at the very 
top. Then go here 
http://forum.xda-developers.com/showpost.php?p=44656518&postcount=405 and 
download the attachment.

I've made some instructions for after you've downloaded the files.
http://i.imgur.com/oUEqmcl.jpg

Hope it helps :)

Original comment by yosef.se...@gmail.com on 20 Sep 2013 at 12:05

GoogleCodeExporter commented 8 years ago
I have uploaded a version to Google Play today that now includes the IPega 
source.

Thanks for the support!

Original comment by kenneth@hexad.dk on 27 Sep 2013 at 9:46

GoogleCodeExporter commented 8 years ago
I have a samsung galaxy s3 and i tried all your guys metheds and the ipega 
won't even stop blinking when searching for a controller most other apps i have 
no problem selecting the controller. the app finds a bluetooth controller i 
select it and the controller doesn't stop blinking.(bluetoother gamepad 
00:17:02:01:AB:08) Plus there isn't even a ipega driver in the list. I tried 
everything. The new app just puts the gamestop controller in the driver list.

It would be amazing if they just figered out how to emulate a more capatable 
controller with the ipega controller like the xbox 360 controller. The xbox 360 
controller with usb/bt joystick worked like a charm no problems. was having fun 
playing gta vice city with it. But need a controller on the go and herd the 
ipega was a good controller. :(

Original comment by Delt...@gmail.com on 29 Sep 2013 at 1:05

GoogleCodeExporter commented 8 years ago
You need to install the HID Enabler before the ipega driver shows up in the 
list.
https://code.google.com/p/android-bluez-ime/downloads/detail?name=BluezIME-HIDEn
abler.apk

It will not work with any of the other drivers in the list.

Original comment by kenneth@hexad.dk on 30 Oct 2013 at 8:16

GoogleCodeExporter commented 8 years ago
Hi, I have android 2.3.4 and IPEGA controller. I managed to connect it thanks 
to bluezime but only on home + y mode and zeemotejs1 drive,r but any button 
does not work. Other settings won't make a connection at all. Im using 
http://forum.xda-developers.com/showpost.php?p=44656518&postcount=405  and 
http://forum.xda-developers.com/showpost.php?p=44656518&postcount=405 from 
previous posts. Can someone please help me ?

Original comment by Mariusz....@gmail.com on 14 Jan 2014 at 5:27

GoogleCodeExporter commented 8 years ago
http://droidarcadereviews.blogspot.co.uk/2014/02/ipega-controller-review-and.htm
l
anyone having problems with the Ipega, I found the solution here. At the bottom 
there's a link to download the Ipega game center, that will make the controller 
fully functional in any game that accepts an gamepad.

Original comment by jkstavar...@gmail.com on 4 Feb 2014 at 10:28

GoogleCodeExporter commented 8 years ago
Too bad it says that I need to buy an Ipega controller when I try to peir it, 
not working for me

Original comment by alessand...@gmail.com on 4 Feb 2014 at 1:32

GoogleCodeExporter commented 8 years ago
I'm trying to connect ipega 9025 to my pc
my pc found ipega when i trying to search device
but it wont connect(see attachment)
can someone help me with this??
currently I'm using window 8.1

Original comment by IzzulEvo...@gmail.com on 24 Aug 2014 at 12:34

Attachments: