MADxpALEX / android-bluez-ime

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

Mouse input through wiimote #126

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

For any other issue, please delete the lines above.

What version of BluezIME are you using?  1.11

What Android device do you have? What Android version? Lenovo K1 Ideapad,  3.2.1

What gamepad are you using? wiimote

Please provide any additional information below.

Would it be possible to map the right analog on a classic controller to mouse 
movements and to add left and right clicks to gamepad buttons?  I would like to 
use bluez with the onlive app that basically offers new pc games.  Everything 
works great currently except for mouse input. Thank you for all your work on a 
great app!

Dave 

Original issue reported on code.google.com by dss...@gmail.com on 10 Dec 2011 at 8:00

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

GoogleCodeExporter commented 8 years ago
There is no real system in place in Android that allows an app to deliver 
analog data.
BluezIME offers a broadcast service, but the game app needs to explicitly read 
those data (i.e. you need to ask OnLive to update their app to read the analog 
data).

I have not found a real way to send "mouse" or "trackball" data. It seems that 
it is possible to register a fake hardware device and generate mouse data, but 
it requires a rooted phone, so I have not investigated further.

I would love to see this feature, but until I find a way to send mouse data, I 
cannot make it.
I have little hope of seeing a fix, as I think it is a security feature.

Original comment by kenneth@hexad.dk on 12 Dec 2011 at 8:57

GoogleCodeExporter commented 8 years ago
Thanks for the reply, would it be possible to emulate the left and right clicks?

Original comment by dss...@gmail.com on 15 Dec 2011 at 4:15

GoogleCodeExporter commented 8 years ago
No, that would be the same problem basically.
There is no clean way to send screen presses either.

Original comment by kenneth@hexad.dk on 15 Dec 2011 at 2:40

GoogleCodeExporter commented 8 years ago
I have written OnLive requesting that they read analog data, feel free to do 
the same, the more requests they get, the more they are likely to actually 
implement it.

Original comment by kenneth@hexad.dk on 17 Dec 2011 at 8:23

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

Original comment by kenneth@hexad.dk on 20 Feb 2012 at 9:04