Open GoogleCodeExporter opened 8 years ago
As I understand it, the PS3 uses some custom low-level stuff to set up the
Bluetooth connection, meaning that the Bluetooth drivers have to support it, so
there is no way I can make the Bluez-IME connect to a PS3 controller.
If you know otherwise, let me know, because I have one myself and would LOVE to
have it working with my phone.
Original comment by kenneth@hexad.dk
on 9 Feb 2011 at 4:29
since you got wiimote working and thought it wouldn't be possible, wondering if
that's now gotten you closer to the sixaxis as well? minus say having to use
sixpair on a PC to embed the bt host addr of the desired device (until we can
sixpair with host mode on some tablets/phones).
Original comment by daveby...@gmail.com
on 16 May 2011 at 8:15
The Wiimote is not "working" for Android < 2.3.
I have not looked much at the Sixaxis, but this document sort of states that it
cannot be done:
http://wiibrew.org/wiki/Sixaxis
"The SIXAXIS does not require any of the authentication or encryption features
of the Bluetooth standard, since it can only connect to a host that it first
connects to via USB cable".
If this is true, then there is no way to do it.
Original comment by kenneth@hexad.dk
on 16 May 2011 at 8:47
It stores the BT Addr of the host, and connects to it on power on. You are
saying the bt stack wouldn't support listening for that connection? I thought
wiimote connected w/o auth as well?
To me, GB and HC are reasonable targets for this stuff for advanced input
devices. :)
Original comment by daveby...@gmail.com
on 16 May 2011 at 10:02
No, I'm saying that it will be hard/impossible to get the controller to attempt
the connection, at least for the phone, which has no USB ports. I have yet to
try setting up an inbound connection, but it appears to be as simple as an
outbound.
I guess that you could connect it to a PC first, which could set it up to use
the Phone/Tablet Bluetooth MAC. But that would make it really difficult for
novice users to get working, and thus limit the usefulness.
Original comment by kenneth@hexad.dk
on 17 May 2011 at 6:49
With the newer versions of android that allow your devise to be a usb host,
this might work though, right? I guess that Ice Cream Sandwich might be the
(unfortunately far off) key...
Original comment by E.Taylor...@gmail.com
on 17 May 2011 at 10:47
I believe many newer devices will allow usb host mode (atrix can in dock, a
number of tablets with CG can, and I think newest HC update now supports host
mode as well). so sixpair will eventually be doable on a wider range of
devices.
that said, setting up the pairing on a desktop is fine in my view. gamers who
want a real game controller will be happy to do an extra step. and I'm not
viewing anyone here as a 'novice', but seems fine to exclude novices if it
means achieving a serious game controller over BT to a modern device (imagine
Xoom -> hdmi -> big TV, with sixaxis as input, playing some 3d game...).
So... for the moment, can we set aside the 'how does the sixaxis get its host'
topic, and focus on 'how do we get the sixaxis BT comms initiated with the
IME'? Because it sounds like you have the code/knowledge to make the next leap!
Original comment by daveby...@gmail.com
on 17 May 2011 at 1:13
I do not have any documentation for "the next step".
I did read that some devices have a blocking mechanism that prevents creating
sockets, which may be yet another block.
Once the connection is made, it should be possible to get some info on what
data reports are sent. After that, support is easy.
Original comment by kenneth@hexad.dk
on 17 May 2011 at 6:53
Sixaxis can only connect via USB and OTG USB cable(Motorola Camera Kit) to
Xoom(3.1). The sixaxis requires a USB connection to register via BT. If you can
emulate those steps for Honeycomb 3.1, then you may be able to register via BT.
Original comment by PhoKingX...@gmail.com
on 10 Jun 2011 at 8:15
I agree, the connection should not be too hard. I read somewhere that they used
to connect these things to Nokias using sixpair.c. Don't see why we couldn't do
the same as long as the device supports the HID profile.
Original comment by barnett....@gmail.com
on 25 Jul 2011 at 4:02
Guys, this is possible. An app was recently released that does it (although it
obviously suffers from lack of L2CAP support in HTC/Samsung devices).
The way it works (AFAIK) is: the sixaxis stores the bluetooth address of the
device it will connect to. This can be set over USB, which you obviously can't
do with the phone, but it's not a problem. All you have to do is write down the
bluetooth address of the phone, and write it to the sixaxis using a PC and
sixpair.c or similar. Sixpair.c is actually included in bluez now (I guess they
are working on support for it):
http://git.kernel.org/?p=bluetooth/bluez.git;a=tree;f=input;h=25938d1e6623e46c46
aaa3964b8941f97e808539;hb=bd3ca4fdf4634541f9c7b3c764150790e14ffd24
Unfortunately I have a Samsung Galaxy S II, which doesn't support L2CAP.
Original comment by tdh...@gmail.com
on 8 Aug 2011 at 5:12
Would it be possible to use a mini usb to micro usb adapter for connecting
Sixaxis to android phone? You can buy these adapters for like a dollar from
ebay with free shipping worldwide.
Original comment by tomppadu...@gmail.com
on 9 Aug 2011 at 1:03
tom: There's no need. Read what I wrote.
Original comment by tdh...@gmail.com
on 9 Aug 2011 at 1:52
If you want to try it, there is some info here:
http://www.dancingpixelstudios.com/sixaxiscontroller/about.html
And the app itself is here (not free, but cheap):
https://market.android.com/details?id=com.dancingpixelstudios.sixaxiscontroller
As I hinted earlier, you need to:
1) Read the Bluetooth MAC of your phone
2) Connect the controller to a PC/Mac
3) Run a special program that writes your phone MAC into the controller
4) Listen for incoming Bluetooth connections while starting the controller
5) Have a device that supports (4) + L2CAP
I would say that (1) + (3) + (5) means that only a few people will be able to
do this. It is possible to write a little helper program that does (1), and (3)
could be done with some Java program from a Website I think, but (5) is a
showstopper.
You can see from their website that you need a rooted phone as well as a custom
ROM for any of this to work. Given the small amount of user that have this,
compared to the workload this would cause for me, I will not go into developing
this at this time.
Unless someone volunteers to do this work, Bluez IME will not have Sixaxis
support.
Otherwise, I suggest you buy their cheap app, and I will monitor the number of
installs to see if there is greater interest in this than I assume.
Original comment by kenneth@hexad.dk
on 10 Aug 2011 at 9:29
Issue 91 has been merged into this issue.
Original comment by kenneth@hexad.dk
on 3 Oct 2011 at 7:29
I ended up going with the phonejoy controller and after a short wait for
shipping from China, I couldn't be happier. I highly recommend this unit to
anyone looking for a good gamepad. Another question, might need to start a new
issue...does BluezIME support analog input or do emu devs have to cook that
into their programs?
Original comment by barnett....@gmail.com
on 3 Oct 2011 at 7:42
[deleted comment]
Unfortunately the game/emu developers need to add some special handling code to
read the analog signals.
Original comment by kenneth@hexad.dk
on 3 Oct 2011 at 7:44
Issue 92 has been merged into this issue.
Original comment by kenneth@hexad.dk
on 4 Oct 2011 at 8:31
Some useful links:
http://cs.anu.edu.au/student/projects/10S2/Reports/Luke%20Vincent.pdf
http://wiibrew.org/wiki/Sixaxis#Bluetooth_Communication
http://www.pabr.org/sixlinux/sixlinux.en.html
Original comment by tdh...@gmail.com
on 15 Oct 2011 at 6:09
Issue 101 has been merged into this issue.
Original comment by kenneth@hexad.dk
on 18 Oct 2011 at 7:17
Issue 102 has been merged into this issue.
Original comment by kenneth@hexad.dk
on 18 Oct 2011 at 7:18
The sixaxis app now has a 'Bypass IME' feature that uses uinput to actually
simulate a hardware keyboard. Would it be possible to create a controller
profile in Bluez IME that uses hardware keyboard inputs? That way we can use
the SIXAXIS by making it pretend it's an actual keyboard.
(Does that make sense? I'm half asleep right now so I'm just kind of throwing
words together)
Original comment by s.dustin...@gmail.com
on 23 Oct 2011 at 7:06
Wow this is confusing
So basically, this is where I'm at now:
>Downloaded Sixaxis app on Android
>download Sixaxis pairtool on PC
>connect sixaxis to Android
>turn on N64oid
>went into Bluetooth gamepads and tried scanning a device in N6oid
>wouldn't scan for my sixaxis
>went to Bypass IME in Sixaxis app
>everything works perfectly
that simple
if you have any questions, e-mail me at quadslayersucks@hotmail.com
Original comment by RileySti...@gmail.com
on 23 Oct 2011 at 12:12
LOL nevermind
NEW PROBLEM
Trying to map out the keys for this thing, and the right stick has the same
controls as the left stick. Anybody know how to fix this?
Original comment by RileySti...@gmail.com
on 23 Oct 2011 at 12:35
Yeah, go to the Sixaxis App, pull up the menu, and go into the settings. From
there you can change the key mappings. What I did was change the keys that the
right analog does to letters A, B, C, D. After that I went into N64droid and
made the c-stick settings A, B, C, D.
Original comment by s.dustin...@gmail.com
on 23 Oct 2011 at 1:52
Issue 120 has been merged into this issue.
Original comment by kenneth@hexad.dk
on 23 Nov 2011 at 8:45
Issue 122 has been merged into this issue.
Original comment by kenneth@hexad.dk
on 28 Nov 2011 at 11:26
Issue 138 has been merged into this issue.
Original comment by kenneth@hexad.dk
on 5 Jan 2012 at 1:21
Issue 148 has been merged into this issue.
Original comment by kenneth@hexad.dk
on 20 Feb 2012 at 9:04
Issue 164 has been merged into this issue.
Original comment by kenneth@hexad.dk
on 31 May 2012 at 6:42
Issue 102 has been merged into this issue.
Original comment by kenneth@hexad.dk
on 16 Jul 2012 at 8:17
Issue 191 has been merged into this issue.
Original comment by kenneth@hexad.dk
on 13 Nov 2012 at 8:45
Hi I need to this option
:-(
Original comment by abbasmar...@gmail.com
on 14 Nov 2012 at 3:34
@abbasmarket1: Have you tried:
https://play.google.com/store/apps/details?id=com.dancingpixelstudios.sixaxiscon
troller
It is a lot of work implementing it, and I do not have the time for it.
Original comment by kenneth@hexad.dk
on 15 Nov 2012 at 7:29
Issue 215 has been merged into this issue.
Original comment by kenneth@hexad.dk
on 21 Jan 2013 at 1:45
Original issue reported on code.google.com by
daelio...@gmail.com
on 9 Feb 2011 at 4:26