Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android version #38

Open
hmlendea opened this issue Jul 9, 2016 · 17 comments
Open

Android version #38

hmlendea opened this issue Jul 9, 2016 · 17 comments

Comments

@hmlendea
Copy link

hmlendea commented Jul 9, 2016

Hello, is there any Android version of this project?
I'd like to try it on Remix OS in particular (which is a desktop x86_64 port of Android)

@goto1134
Copy link

From README.md:

The initial target is GNU/Linux, but I'll welcome any contributor that want to port input generation for other OS (OSX, Windows, *BSD, Android/Linux, ...)

I think, it's a great idea to port it on android! I don't know python yet, but ready to help))

@KiitoX
Copy link

KiitoX commented Aug 20, 2016

I'm fairly certain there are no stable ports of Python to ARM/ARM64, not sure if there are any for amd64 keeping in mind that it's really not widespread... So I'm not sure if this is even possible right now...
Especially as all Implementations I know of have basically no support for anything UI related...

@Drakulix
Copy link

Of Course does Python work on ARM. Think about Raspberry Pi and similar Boards. Also you will find a lot Python "Apps" in the Playstore.

That said this driver works nicely on Android if you are using a chroot and your Android kernel does support all necessary features (does not mess with /dev/usb or uinput).
I am using it on a Nexus Player.

@KiitoX
Copy link

KiitoX commented Aug 20, 2016

Darn I didn't know the Pi was ARM but I guess it totally makes sense, I'm not too familiar with those boards...

Sorry about that then...

@joekm
Copy link

joekm commented Aug 24, 2016

As for working on ARM, I'm running this steamcontroller utility on a Pine64 board (A64) running Debian. I've even cobbled together a launcher that runs a bash script toggle it on and off.

@ynsta
Copy link
Owner

ynsta commented Sep 14, 2016

The main issue you will have to do an android port is that you will need a rooted device to inject events in the kernel.

@hmlendea
Copy link
Author

Well, having it availabile for rooted devices is surely better than nothing. I was asking this question mostly for Remix OS (which is Android for desktop, and it's easily rootable ofc) but my phone is rooted as well tho I don't really plan on playing games on that... tho it would be nice if I had a tablet.

@zediiiii
Copy link

@Drakulix Can you specify your compile and install method on the nexus player? I have rooted Android devices running various OS (rooting the N910V retail was not trivial when I did it) - a steam controller, and some Linux and other programming/scripting experience.

@Drakulix
Copy link

@zediiiii i just installed an arch linux arm chroot on my data partition, starting it with a little shell script in su.d (SuperSU). then i could just install it from the AUR.

@zediiiii
Copy link

zediiiii commented Dec 12, 2016 via email

@Drakulix
Copy link

Of course the Nexus Player is a stationary device, so I never worried about power consumption, but it should not be that bad.

You are not booting a whole OS with all its processes, you just launch one process (the steam controller daemon) in an isolated environment, so it is not consuming more then usual.

However you are loading a bunch of additional linux libraries into your RAM. I never had any issues with that, but I imagine a device with a very small RAM might run into problems here.

@zediiiii
Copy link

zediiiii commented Dec 18, 2016

So I've got it working on Android.

I followed Drakulix nice guide but some things are different after the years have past. I ended up using Linux Deploy to install arch, updated the system, installed dependencies, ran the install script, and the xbox script, and it works swell! If we could attach this to the nice UI here which will compile and run (not in python) for arm, then we'd have a really nifty thing going. Thing is, I while this script attached itself to a virtual keyboard, I'm not sure how the other script operates.

Power consumption to power the attached usb device (I plug in the wireless dongle via OTG cable) is a bit larger, but otherwise, there isn't a huge performance hit or power consumption hit.

@marcoccy
Copy link

@zediiiii You seems to managed to work it out with a rooted android device. Do you mind to share more on details with some step guideline?
Appreciate if anyone has any update to steam controller on android, I managed to cloud streaming pc games on Android but device fails to make the steam controller as a gamepad

@zediiiii
Copy link

zediiiii commented Jul 11, 2017 via email

@ottworks
Copy link

@zediiiii So, to clarify: You downloaded a linux app from the Play Store, and installed this program on that? Or do I still need to follow the steps in your previous post? All I really need is Xinput emulation, does that work?

@zediiiii
Copy link

zediiiii commented Feb 11, 2018 via email

@YourLeg
Copy link

YourLeg commented Dec 9, 2019

So, is there a working android version now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants