RetroArch icon indicating copy to clipboard operation
RetroArch copied to clipboard

Smartphone gamepad app for Remote RetroPad

Open duduke opened this issue 7 years ago • 19 comments

I'm creating this Issue to serve as a bounty for someone to create an Android and iOS app that will use Remote RetroPad to enable using your smartphone as a remote gamepad for RetroArch.

This is especially useful for a mobile LAKKA install where you do not need to carry and gamepad with you.

duduke avatar Aug 27 '17 08:08 duduke

The two I've seen are:

RobLoach avatar Aug 27 '17 11:08 RobLoach

Those act as gamepads, I'm looking for something that can talk to RetroPad remote directly. Also, those are only for Android, I'm looking for iOS support as well.

duduke avatar Aug 27 '17 11:08 duduke

There is a core already (I made it) but @twinaphex disabled it somehow and I haven't found out how to reenable it.

It should work already once he re-enables it.

andres-asm avatar Sep 20 '17 04:09 andres-asm

I’ve used that core a while ago when you created it. Can it be adapted to a standalone app for both iOS and Android?

duduke avatar Sep 20 '17 19:09 duduke

hmmm I guess but it makes no sense making a standalone app out of it. Just make a new one, it uses UDP it should be trivial to implement.

@twinaphex can you enable the builtin net retropad core again? Not really sure why it was disabled in the first place.

andres-asm avatar Dec 02 '17 18:12 andres-asm

I’ve had a go at creating an iOS app that would talk to RetroArch via UDP - unfortunately, I lack any kind of coding background, so didn’t really get anywhere.

duduke avatar Dec 02 '17 18:12 duduke

why does it have to be a standalone app?

andres-asm avatar Dec 02 '17 19:12 andres-asm

Doesn’t have to be. but, unfortunately you cannot have RetroArch on iOS without jailbreak - which kinda limit the whole “anyone can use their smartphone as gamepad” idea.

duduke avatar Dec 02 '17 21:12 duduke

Yeah, this could be an opportunity for our Apple Developer account which so far doesn't have a single app on it. And unlike RetroArch, at least this could be accepted.

inactive123 avatar Dec 03 '17 02:12 inactive123

First off, thanks for your contributions to RetroArch / LibRetro and sharing them with the world, next...

Hope this suggestion helps simplify rather than add more complexity.

I would really like a lightweight system to use my phone as a gamepad versus the current method of netplay sync which is a bit awkward to get matching cores and entering ip addresses, and falling out of sync quagmire.

There are pros and cons to making yet another task specific specialized device app for just a couple of eco-systems versus a possibly more inclusive and open solution since you already have some useful code:

Gamepad support could be built into RetroArch itself similar to how Netplay is built in.

Mobile devices could just run the browser based RetroArch set to load the gamepad core by default.

Perhaps served out by the RetroArch host, since players would connect to it over local wifi anyway.

NOTE: I've been meaning to sign up, just to comment on this, but as I haven't found documentation or been able to use the gamepad core mentioned other than to talk to itself from client to host... I'm not sure how much that core would help as a ready to go part in this idea.

jmichael2497 avatar Mar 05 '18 23:03 jmichael2497

I already implemented this years ago but someone broke it.

andres-asm avatar Mar 06 '18 00:03 andres-asm

I don't know about what I could have done to break it. I would highly encourage you to see if you can get it back to work again. I don't believe I touch any netplay parts, @GregorR does most of the networking code.

inactive123 avatar Mar 06 '18 01:03 inactive123

I do most of the networking code insofar as netplay is most of the networking code and I do netplay, but I've never touched remote retropad. It's not inconceivable that it has some interdependency with netplay, and if it does, I've definitely broken it, but I'd say it's unlikely.

GregorR avatar Mar 06 '18 01:03 GregorR

@GregorR Would you maybe like to look into why it doesn't work, regardless of who broke it? It'd be great if we could get it to work again.

As for me, I never could get it to work personally.

inactive123 avatar Mar 06 '18 01:03 inactive123

Hey devs, I have one question for retropad remote.

To setup the ip on android do I need to tap 192+168+1 times to enter 192.168.0.1? Is there any shortcut? :sweat_smile:

ICHx avatar Apr 26 '18 03:04 ICHx

@ICHx I've opened an Issue at #6873

daviddavo avatar Jun 09 '18 09:06 daviddavo

I am currently using https://github.com/RetroPie/RetroPie-Setup/wiki/Virtual-Gamepad as a rememdy for my gamepad needs.

ICHx avatar Jun 09 '18 11:06 ICHx

I am currently using https://github.com/RetroPie/RetroPie-Setup/wiki/Virtual-Gamepad

that is kinda like what i meant (and as i realize my earlier post was maybe a bit unclear).

i'm basically picturing something like those popular multiplayer drop in with your mobile party game systems.

(like by a certain long lived non-tv quiz game show that lets you "screw your neighbor", and now they have other stuff like drawing games, etc, but trying not to commercial name drop in open source environment.)

they probably use webrtc or similar for connection by anyone with a device that has a relatively modern browser.

all that is needed by the end users is to just load a specific url (ideally assisted with qrcode presented on the monitor to avoid manual typing) and then they have a web based gamepad.

this should be served from the game system host device over at least local shared wifi network, but ideally as a direct hotspot for best performance.

hope that helped clarify.

jmichael2497 avatar Jan 30 '19 05:01 jmichael2497

I think this project can be used to provide drop-in multiplayer through smartphone controllers. (and it's open source). https://snex.io/

duduke avatar Jul 29 '19 06:07 duduke