Coder Social home page Coder Social logo

Comments (36)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 9 Feb 2011 at 4:29

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 16 May 2011 at 8:15

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 16 May 2011 at 8:47

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 16 May 2011 at 10:02

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 17 May 2011 at 6:49

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 17 May 2011 at 10:47

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 17 May 2011 at 1:13

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 17 May 2011 at 6:53

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 10 Jun 2011 at 8:15

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 25 Jul 2011 at 4:02

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 8 Aug 2011 at 5:12

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 9 Aug 2011 at 1:03

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
tom: There's no need. Read what I wrote.

Original comment by [email protected] on 9 Aug 2011 at 1:52

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 10 Aug 2011 at 9:29

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
Issue 91 has been merged into this issue.

Original comment by [email protected] on 3 Oct 2011 at 7:29

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 3 Oct 2011 at 7:42

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
[deleted comment]

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
Unfortunately the game/emu developers need to add some special handling code to 
read the analog signals.

Original comment by [email protected] on 3 Oct 2011 at 7:44

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
Issue 92 has been merged into this issue.

Original comment by [email protected] on 4 Oct 2011 at 8:31

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 15 Oct 2011 at 6:09

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
Issue 101 has been merged into this issue.

Original comment by [email protected] on 18 Oct 2011 at 7:17

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
Issue 102 has been merged into this issue.

Original comment by [email protected] on 18 Oct 2011 at 7:18

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 23 Oct 2011 at 7:06

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected]


Original comment by [email protected] on 23 Oct 2011 at 12:12

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 23 Oct 2011 at 12:35

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 23 Oct 2011 at 1:52

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
Issue 120 has been merged into this issue.

Original comment by [email protected] on 23 Nov 2011 at 8:45

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
Issue 122 has been merged into this issue.

Original comment by [email protected] on 28 Nov 2011 at 11:26

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
Issue 138 has been merged into this issue.

Original comment by [email protected] on 5 Jan 2012 at 1:21

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
Issue 148 has been merged into this issue.

Original comment by [email protected] on 20 Feb 2012 at 9:04

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
Issue 164 has been merged into this issue.

Original comment by [email protected] on 31 May 2012 at 6:42

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
Issue 102 has been merged into this issue.

Original comment by [email protected] on 16 Jul 2012 at 8:17

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
Issue 191 has been merged into this issue.

Original comment by [email protected] on 13 Nov 2012 at 8:45

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
Hi I need to this option
:-( 

Original comment by [email protected] on 14 Nov 2012 at 3:34

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
@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 [email protected] on 15 Nov 2012 at 7:29

from android-bluez-ime.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
Issue 215 has been merged into this issue.

Original comment by [email protected] on 21 Jan 2013 at 1:45

from android-bluez-ime.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.