[Q] Use Xperia Play as a PC USB Controller? - Xperia Play Q&A, Help & Troubleshooting

Hey guys, I posted this in the general section but I think it would be better to post it here. Could the Xperia Play controls be used with PC games? Even with Xpadder or something similar? What would we need to make this happen?

As I already said, you need new kernel or kernel module to enable sharing of phone's PS controls via USB.

Why via USB and not bluetooth or Wifi?
Blagus said:
As I already said, you need new kernel or kernel module to enable sharing of phone's PS controls via USB.
Click to expand...
Click to collapse
And what that does mean? xD

Miles Wolf said:
Why via USB and not bluetooth or Wifi?
And what that does mean? xD
Click to expand...
Click to collapse
I think the original poster wanted to do this via USB to have it function as a standard gamepad, like a HID compliant device. This would require new kernel modules and thereby a new kernel to use on the device (and probably an app as well).
If you wanted to generate gamepad HID codes via communications over BT or WiFi (or over USB Debug channels) data streams, you could likely do so, but would need computer side drivers and programs, as well as the program to use on the device.
This is totally do-able. However the want for doing so is up to the individual. I personally don't have much want of it, as I already have good controllers for my PC.

I think it would be possible to make such app as well, which would log keypresses and send them via Bluetooth or Wi-Fi. But additional software would be needed on PC side too. But that's an option too, which isn't bad at all. Actually, USB HID method would be, IMO, more advanced...

I've used software that lets me use my phone as a touchpad, mouse, and media playback controller for my pc. So i dont' see why it couldn't be done. that software used wifi.

ace518 said:
I've used software that lets me use my phone as a touchpad, mouse, and media playback controller for my pc. So i dont' see why it couldn't be done. that software used wifi.
Click to expand...
Click to collapse
There are a few reasons off the start. A game controller would require nearly instantaneous reaction time to work properly. Secondly, people would expect it to work nearly flawlessly with next to no work or reading on their part.
Yes, it is _TOTALLY_ do-able. However, doing it just to do it, I don't see the benefit, as I personally wouldn't use it, and I certainly wouldn't receive pay nor even praise from the community. So it fails all the tests for me to engage myself in a project. The "Benefits Me", "Benefits the larger community", and "Benefits my ego" issues. If it benefitted the larger community, maybe. However it seems the consensus is that most people have dedicated controllers already that are low cost. I don't intend to use my phone as a PC controller, as I have several game controllers (from a 360 pad, to flightsticks, to a nostromo speedpad) for my PC. I also don't currently have a need to learn the Bluetooth or WiFi stacks so this wouldn't benefit me. Lastly, any product I were to produce would have limited market, and most of the market it would be presented to would be more likely to bash it than to even click a button to say 'Thanks' for it as they download.
If somebody is interested in doing this, go for it! It would be a nice little experiment project to learn the coding requirements for using the BT stack as a HID device or forwarder, or the WiFi stack and how to coordinate with a client side device driver and program as well. Just personally I won't be doing this.

i remember on my old sony ericsson phone w810i i could control my mouse on my pc with my fone via bluetooth with a built in app called desktop remote
so now wouldnt it be better to have the control pad on the play, use BT
to play pc games etc?

ace518 said:
I've used software that lets me use my phone as a touchpad, mouse, and media playback controller for my pc. So i dont' see why it couldn't be done. that software used wifi.
Click to expand...
Click to collapse
I believe GRemote does something similar. you can use your phone as a wifi mouse and keyboard or joystick or media controller. unfortunately, its fairly expensive so not really worth it. no way i'm paying $5.00 for it.

It would be cool to see this working.

crispyduckling said:
i remember on my old sony ericsson phone w810i i could control my mouse on my pc with my fone via bluetooth with a built in app called desktop remote
so now wouldnt it be better to have the control pad on the play, use BT
to play pc games etc?
Click to expand...
Click to collapse
I remember that, haha. Unfortunately it wouldn't work very well as a gamepad, there was like a half second delay between each button press.

I doubt BT or Wi-Fi would be good, because of the mentioned delay. SE kernel sources do have USB HID driver but I don't know is it used for USB OTG or to be used as HID on PC.

Another question.
Is any App out there where i can use the Xperia Play Gamepad for another Android Devices like my HTC Flyer?
->
Start an Emulator in my Flyer and use the Xperia Play Gamepad over Bluetooth or wifi to play the Games on the Flyer.
For iOS with Jailbreak i can use a SNES Emulator on ipad and a iPhone or iPod Touch as Gamepad/Controller.
Thanks for help and answer!

Waqas said:
I believe GRemote does something similar. you can use your phone as a wifi mouse and keyboard or joystick or media controller. unfortunately, its fairly expensive so not really worth it. no way i'm paying $5.00 for it.
Click to expand...
Click to collapse
gPad does this and there is a free version which I haven't been able to discern much difference between it and the paid version.

German-Guy said:
Another question.
Is any App out there where i can use the Xperia Play Gamepad for another Android Devices like my HTC Flyer?
->
Start an Emulator in my Flyer and use the Xperia Play Gamepad over Bluetooth or wifi to play the Games on the Flyer.
For iOS with Jailbreak i can use a SNES Emulator on ipad and a iPhone or iPod Touch as Gamepad/Controller.
Thanks for help and answer!
Click to expand...
Click to collapse
yes that is what I'm wondering as well really hope it is possible.

Blagus said:
I doubt BT or Wi-Fi would be good, because of the mentioned delay. SE kernel sources do have USB HID driver but I don't know is it used for USB OTG or to be used as HID on PC.
Click to expand...
Click to collapse
The PS3 and Wii controllers use Bluetooth.

benoitb85 said:
The PS3 and Wii controllers use Bluetooth.
Click to expand...
Click to collapse
Way to necro a thread.
_YES_ they use WiFi, but they aren't multi-purpose processing devices that have other priorities and background processes. They also are dedicated to doing such actions, and are engineered with that in mind.
To get it to work on the Play, as a BT controller (or WiFi, which would be even laggier), would require a kernel module to be created and installed (meaning new ROM/Kernel and likely an app as well). Then you would need a machine that has the proper HID profile enabled via BT, or a separate app to mimic a HID USB controller via WiFi.
As said before, since this thing tends to have other priorities than _JUST_ its gamepad (data synch, OS/VM GC, memory mgmt, etc), there are times when it will lag out even with a high priority on the module and associated game-controller app.
This _IS_ possible, just nobody is as excited by the idea who would be willing to code it. Honestly, if you wanted to do it as a starter coding project for via WiFi, it would be interesting to see your take on it. If you want to get your hands dirty with coding a kernel module to offer a HID profile via BT, that would be an even more elegant solution. However, it would require a bit more advanced knowledge. I haven't written any kernel modules by hand, ever. I've only adapted existing ones and patched a few on my own machines, so I'm certainly not a candidate to go after this myself.
We are not saying it isn't possible. It is. Via WiFi it just isn't a good idea (lag), and via BT would require some more involved and in-depth modifications and coding. Getting coding to set it up as a USB attached controller would probably be a bit easier and possibly even easier to code than the BT HID stack inclusions. I encourage those who think this is a good idea to try coding it themselves. I'm sure others would be interested in it (based upon this thread).

https://play.google.com/store/apps/...rch_result#?t=W251bGwsMSwyLDEsImFwcC5wY29uIl0.
I did not try it yet.

benoitb85 said:
https://play.google.com/store/apps/...rch_result#?t=W251bGwsMSwyLDEsImFwcC5wY29uIl0.
I did not try it yet.
Click to expand...
Click to collapse
Darn it. Missed this thread before making my own. Now I feel kinda dumb. But if anybody tried this app and got it working, could you please upload the devs windows drivers/programs. Because the devs site is unavailable in my country.
Sent from my PLAYSTATION PHONE using tapatalk

Dilemina said:
Darn it. Missed this thread before making my own. Now I feel kinda dumb. But if anybody tried this app and got it working, could you please upload the devs windows drivers/programs. Because the devs site is unavailable in my country.
Sent from my PLAYSTATION PHONE using tapatalk
Click to expand...
Click to collapse
This app is amazing. But the only problems are that the X button does not work properly (you have to hold it) and the buttons can't be mapped to some keys for example SHIFT. Otherwise It helped me finish Sonic Generations

Related

Gmote

Just started using this and I think it is awesome. You can use you're phone as a mouse and keyboard what is really cool is on the glide the hardware keyboard works well. You just have to instal a software on you're computer then gmote from google play. For a media center PC this rocks!
Sent from my SGH-I927 using xda app-developers app
Unified remote (pro). Does everything gmote does along with support for dragging and it keeps the connection alive in the status bar. Also it as like a billion other remotes included (notably file manager and vlc remote).
gmote allows for dragging simply press the mouse button top right then drag. Guess their are many of these out there. First 1 I try that I like is gmote but I am sure others are just as good.
Oh right. Forgot about that button. Don't get me wrong, gmotes decent. I used it for the better part of two years. I just got sick of having to reconnect to the server all the time, especially when switching from phone to tablet and back.
Good to know. I'll give it a try with my xbmc box. Sometimes I do need to go back into windows for some stuff. Otherwise I'm happy with the xbmc remote on android .
Sent from my SGH-I927
Phone My PC and Advanced TouchPad are good as well.
They auto connect to the ip address given, and the both have mouse and keyboard. Plus Phone My PC let's you see the desktop from anywhere in your home(good for keeping an eye on your kids).
Unified Remote (free) - no remotes to try, gmote - no bluetooth. Other favs?
Tyfighter said:
Unified remote (pro). Does everything gmote does along with support for dragging and it keeps the connection alive in the status bar. Also it as like a billion other remotes included (notably file manager and vlc remote).
Click to expand...
Click to collapse
Tried Unified Remote based on this recommendation, but despite showing many free remotes to try in the description, no remotes are present except for buy now.
Looked at gmote, but no bluetooth.
From what I see in the description, Phone My PC doesn't do bluetooth.
Advanced TouchPad also doesn't appear to be bluetooth, and really does appear to be touchpad focused, with only a few very plain looking keys beside it. Which is fine, just not what I'm looking for.
(First driving reason for search - Impress remote. And if one is going to go down the 'remote' path, it may as well be as flexible / capable as whatever is out there. i.e. Given the other similar apps out there, no point going for something that only does Impress.)
UPDATE CORRECTION: Free remotes are present. But if portable version loaded from a network drive, Windows won't load the .dll's - which appears to the Android user as though no remote controls are present. [Serves me right for remote controlling a machine via VNC - missed the quick .dll load failed message!]
Tried unified remote and I like it.I have infrared on my computer from a uirt and am thinking of getting the pros to control my surround sound.anyone tested that? I read it was supposed to support it but I could not find the app to learn the it codes.
Sent from my SGH-I927 using xda app-developers app
dudejb said:
Tried unified remote and I like it.I have infrared on my computer from a uirt and am thinking of getting the pros to control my surround sound.anyone tested that? I read it was supposed to support it but I could not find the app to learn the it codes.
Click to expand...
Click to collapse
Its play link is https://play.google.com/store/apps/details?id=com.Relmtech.Remote and contains a support pointer to http://www.unifiedremote.com/.
On their page is a Hardware link along the top, going to http://www.unifiedremote.com/hardware, at the bottom of which they show a USB-UIRT and more information. $50 + $8 S/H.
So, it would seem to be confirmed that it supports it. It talks about a forum being at http://65.36.202.170/phpBB2/. And also points to http://www.avsforum.com/avs-vb/forumdisplay.php?s=&forumid=26 and http://www.avsforum.com/ for additional information.
'UIRT' - Universal Infrared Receiver Transmitter, so there must be an emitter in the works. The page talks about Girder (http://www.promixis.com/), $50 / $100 / $150, Standard / Pro / WHT - all Windows only.
I would guess you use Unified Remote to tell the pc to emit the codes to your equipment. I'll bet it will take time to train yourself to pick up the glide and not the remote. (Or hide them on yourself. Not sure this would help with a problem I have - perpetually picking up the wrong remote and wondering why it's not working. Only to get blasted by the radio station when I thought I was changing channels!) :laugh:
HTH.

Anyone else interested in using there original xbox DVD remote in XBMC for the Ouya?

I personally bought an Ouya the moment XBMC announced they would support it. I find the Ouya interface lacking/laggy and buggy to say the least, even the android ports of the emulators are sub par compared to my modded xbox, wii or even wii u so I don't mind much for them. At any rate my ouya is pretty much fully XBMC, atm I use the boot program to auto load xbmc at startup. However controls are clunky compared to original xbox DVD remote I've been using for years now. The ouya is a nice speed improvement inside xbmc compared to aging xbox. So i've been trying to get the dongle to work via USB. So far I've soldered a USB cable to the pinouts inside the dongle and with the aide of drivers someone made got it working in windows, but need some help mapping the buttons correctly to the ouya/xbmc, right now each button does something different lol. The ouya see's the remote as controller 1 and it's kind of interesting it does anything in the main Ouya menu at all.
I've taken the keymaps.xml xbox remote section and pasted it into my ouya xbmc userdata keymaps folder still no go inside XBMC. Anyone else interested in having this working? I'm sure there has to be some people like me who use my xbox for xbmc every day still and want the Ouya only as an HD upgrade to the xbox 1.
Any hints/clues on where to start looking? I'm afraid I may be out of luck until a bug in XBMC gets fixed (I read android xbmc has keymaps issues yet to be resolved) Source - http://wiki.xbmc.org/index.php?title=OUYA Halfway down first under "Known Issues"
I also understand getting it mapped in the Ouya menu and in XBMC are two different things, I'm mostly interested in getting it mapped in XBMC but for fun if anyone has any info on mapping it in android Ouya menu that would be cool too, I'd like to use this as a learning experience
Here is some pics of what i've done so far for testing - https://dl.dropboxusercontent.com/u/53003733/2013-07-26%2007.22.00.jpg
and - https://dl.dropboxusercontent.com/u/53003733/2013-07-26%2007.22.09.jpg
Of course I'll pretty it up when I can get it working and such, sorry crappy quality pics
you know when you think something is really cool, and you completely support it, and want the idea to blossom in every way, but just kinda aren't into it?
godspeed brother. knock 'em dead.
ArdDarvis said:
you know when you think something is really cool, and you completely support it, and want the idea to blossom in every way, but just kinda aren't into it?
godspeed brother. knock 'em dead.
Click to expand...
Click to collapse
LOL ya it seems not many are interested in this. FWIW I will post what i've found so far. I've mapped the remote using keymaps.xml. After some research the only remotes that seem to work on android at all are ones that are recognized as a keyboard and therefore can map, this way it also requires no drivers. Seem the official MS remote uses its own itteration of some sort. With an App called keytest.apk I've tested the input's it's reciving via the IR, it's random button it gets every time so no amount of tweaking the .xml will make it work as I had hoped
I did find a product called FLIRC that looks promising though! Might be exactly what I need to get this MS remote working on the Ouya as it does the XBOX
The website is www.flirc.tv The product is actually a very great idea, can't believe I never knew of it before. :good:

Bluetooth Mouse functionality questions

For those of you with the 2014 edition who have used a bluetooth mouse, what does the right click do?
Hey all,
I posted the following question on another thread about a specific bluetooth mouse, and didn't get a response so I figured I'd give it another try with a general post.
I use my samsung devices (Galaxy S1, Tab 10 v1, Note 10 2012 edition, and lately an S4) for connecting to work using the citrix thin client. (In addition to all the other things that make the samsung devices great)
One of the problems I've had since samsung moved to jellybean and beyond is the mouse support. Ice cream and prior, when using a bt mouse, the right click seemed to be ignored by the os, or didn't do anything different than the left click unless you were in a app that supported it. Specifically, passing on a right click command in remote desktop to the session.
After JB, the right click on a mouse seems to have been mapped at the OS level to the 'back' function. This makes using a samsung android device as my thin terminal very difficult, as you still need right click on a lot of standard desktop apps. When I'm connected to my remote desktop, and use the right-click the applications prompts to exit. I don't think the right click ever even gets passed along.
(If you want to know irony, pre JB the mouse worked fine, but CTRL and ALT keypresses were ignored by the Os. try going without easy cut and paste for a day when you work with spreadsheets a lot. )
Anyway, my question is, for those of you with the 2014 edition who have used a bluetooth mouse, what does the right click do?
I'm sending in my 2012 edition to amazon for a trade in, and I'm seriously thinking about getting the 2014 10 or the new 12.2 monster, but if the 12.2 is going to be $1k, I might as well go with a surface pro device for now.
If you're still reading, thanks, I know I've gone on a bit. I've struggled with this issue for a while and it makes it very difficult for me to travel lightly. I can use my android devices in a pinch, but man does it drive me nuts when I need to right click on something and can't Try it sometime. You'll throw your mouse across the godderned room. If you happen to know of any other workarounds for this issue, feel free to make my day.
Right click brings me back, it is annoying when I'm browsing the Web and I want to open a link in a new tab.
I do use "jump" for rdp and it does pass the right click through the session. I have "pocket cloud" as well if you would like me to check that as well.
Sent from my SCH-I535 using Tapatalk
pozer69 said:
Right click brings me back, it is annoying when I'm browsing the Web and I want to open a link in a new tab.
I do use "jump" for rdp and it does pass the right click through the session. I have "pocket cloud" as well if you would like me to check that as well.
Sent from my SCH-I535 using Tapatalk
Click to expand...
Click to collapse
Thank you, unfortunately I don't have a choice for my remote desktop client as it's a corporate thing. So it appears that the jump client you are using is blocking that default function and forcing the right click.. interesting. I would be interested to know if pocket cloud does the same, but only anecdotally.
I hate the 'back' functionality of google's mouse support. I cannot find any way to adjust it. Heck, turning it off would be an improvement.

USB Accelerometer on Joying radio

Hi,
Sorry, I had already posted this on another section but I think this one is more appropriate and can't delete other post.
I have a Joying JY-NL124 android car radio, which does not have an accelerometer. I bought the Yocto 3d V2 http://www.yoctopuce.com/EN/products/usb-position-sensors/yocto-3d-v2 to see if I could get it to work with torque and other android apps for the track but although android sees the device the apps do not. I am not a programmer, but is there a way to get the apps to recognize an external accelerometer like some do for an external GPS?
Very interesting. I would like to know as well. It might also be usefull in navigation to get a faster direction orientation.
I was reading up on this again and this bit means someone with the know how would probably need to code something
The main advantage of this solution is that you don't need to install a driver to communicate with a Yoctopuce module, as the HID layer is always present. You only need to add our library, that we provide in source form, to your driving software for it to be able to directly talk to Yoctopuce modules.
Click to expand...
Click to collapse
Have you tried contacting them directly and asking if they can do this for you?
sinnedone said:
I was reading up on this again and this bit means someone with the know how would probably need to code something
Have you tried contacting them directly and asking if they can do this for you?
Click to expand...
Click to collapse
Uff, sorry for the late reply. Life has a way of getting in the way of interesting projects. I'm about to restart this project since I'm using the car a lot on the track. It's weird that the units don't come witha compass, gyroscope, accelerometer, etc, considering they are meant to be used in moving vehicles.
Definitely post up if you figure it out.
It would be nice to get it to work with Android as a whole. If that's the case you might need to talk to one of the ROM developers to see if it's something they can do ROM wise or even a custom kernel.(the kernel bit might be a little harder)
Did anybody get this right. It would be cool if these usb accelerometer could work in the apps
flash_xx said:
Hi,
Sorry, I had already posted this on another section but I think this one is more appropriate and can't delete other post.
I have a Joying JY-NL124 android car radio, which does not have an accelerometer. I bought the Yocto 3d V2 http://www.yoctopuce.com/EN/products/usb-position-sensors/yocto-3d-v2 to see if I could get it to work with torque and other android apps for the track but although android sees the device the apps do not. I am not a programmer, but is there a way to get the apps to recognize an external accelerometer like some do for an external GPS?
Click to expand...
Click to collapse
I'm very interested to understand whether this is possible as I am thinking about a similar setup. You tried the three Bluetooth tips in the roll up thread?
https://forum.xda-developers.com/an...roll-joying-2gb-sofia-mtcb-mtcd-tips-t3555249
"Bluetooth Tethering & BT Settings", "Difficult to pair BT devices" and "Modified stock bluetooth app to allow connection to all devices"
Have you tried external GPS for higher refresh rates or is the Head Unit gps refresh good enough for the track?
Bob
MX5DrIver said:
I'm very interested to understand whether this is possible as I am thinking about a similar setup. You tried the three Bluetooth tips in the roll up thread?
https://forum.xda-developers.com/an...roll-joying-2gb-sofia-mtcb-mtcd-tips-t3555249
"Bluetooth Tethering & BT Settings", "Difficult to pair BT devices" and "Modified stock bluetooth app to allow connection to all devices"
Have you tried external GPS for higher refresh rates or is the Head Unit gps refresh good enough for the track?
Bob
Click to expand...
Click to collapse
Sorry....USB not Bluetooth... Also discouraging. I was hoping USB would be an alternative to BT for track add-ons...
I too have an Android head unit and do track days, and have the exact same interest as you. I use Harry's Lap Timer. I have the Pumpkin AE0273B head unit. It too lacks the compass and accelerometer. I too found this to be a very unfortunate omission.
I have developed apps actually so I do know Android program to some degree (although I am sortof a hack, not a pro). I have apps on the Play Store (since I can't post links just search Play Store for developer JimRoal). I saw the Yocto stuff. When I get some time I will look into this some more.
Any update on this? Would also like to add a compass / accelerometer to my joying.
Also interested. But on a newer 10.0 unit. Something I am going to look into.
nFiniti said:
Also interested. But on a newer 10.0 unit. Something I am going to look into.
Click to expand...
Click to collapse
Sad that over 4 years after I first posted this we still don't have a unit with these features. I finally gave up and bought an AIM Solo 2 DL.
I'm looking for a newer radio though, since mine is older than this thread
Still waiting as well.
Looking forward for solution, we have also WIMOTION sensors in the market with sample android apk but I'm not a developser so, put things together is hard for me !
I think the hard job is try to mock the sensors in Android AS IF external accelerometer was factory embeeded (allowing apps to recognize it)
Nothing new about this project / idea ???
?? dead ???
mariodantas said:
?? dead ???
Click to expand...
Click to collapse
Once you've figured out how to modify the kernel, you should be good to go!
Another option could be sensor to serial over USB, via a compatible adapter, write an app and there you go. Of course it won't be standard Android though.
Drivers are here
https://elixir.bootlin.com/linux/v4.14.133/source/drivers/iio/imu/st_lsm6dsx
The problem is adding them to kernel !
You dont need to add them to the kernel. You will need to implement an Android HAL that can read the values of these sensors. Its not a trivial task but also not very hard if you have access to the source code

2017 Shield controller mapping problems with PC

I just got the new Shield TV and have been very pleased with it so far. However, I use Gamestream a lot and the only way I have even been able to eliminate input lag from the controller is by connecting it directly to the streaming PC rather than through the shield device. Well this would work as intended, but I found that the new controller has messed up maps when connected directly to the pc. For example when you press down on the left analog stick it registers as a trigger pull or somehting.
I was looking for the config files on my PC to see if I could manually fix the problkem, but found ntohing. I assume the nVidia devs will fix this in a patch, as their controller is awesome and I see people buying it for gaming in general. I am going to post this on the Nvidia forums as well.
Does anyone know where the config file might be so that I can make the adjustments? I also tried third party software but it was super clunky and didn't work like I imagined.
I have the same issue. If you make any progress in the matter, please update.
bahnean006 said:
I have the same issue. If you make any progress in the matter, please update.
Click to expand...
Click to collapse
You'll know the moment I do. I have a post on Nvidia and will be trying to fix it myself. I need to find the configuration file saved on my pc and modify it.
seh6183 said:
You'll know the moment I do. I have a post on Nvidia and will be trying to fix it myself. I need to find the configuration file saved on my pc and modify it.
Click to expand...
Click to collapse
Alright awesome thanks.
I've tried speaking with nvida support through e-mail but I'm not sure they know what I'm talking about. I really like the new controller and would love to use it both with my shield and pc interchangeably. The old shield remote has zero issues on my pc but its just not comfortable enough to use longer then 30 minutes.

Categories

Resources