moonlight-stream / moonlight-android

GameStream client for Android
GNU General Public License v3.0
4.24k stars 670 forks source link

motion controls using SDL controller API #1013

Closed manaboy closed 2 years ago

manaboy commented 3 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

Just wondering, been playing the Cemu wiiu emulator on my pc and was using moonlight on my android phone with ipege controller to mimic the WiiU gamepad, touch works and everything however, there is no way to translate motion from the smartphone internal motion sensing

MABlosfeld commented 2 years ago

I'm thinking about the possibility of adding a part of the FREEPIU IMU source code inside the MOONLIGHT source code. I installed ANDROID STUDIO, I'm studying tutorials but the lack of knowledge is making the work difficult.

MABlosfeld commented 2 years ago

We already have everything we need, freepie to transmit track movements to opentrack and moonlight android to receive streaming from nvidia shield.

MABlosfeld commented 2 years ago

Freepie works fine but when I start Moonlight the data transmission turns off by itself.

kunal52 commented 2 years ago

@MABlosfeld Have you implement it?

MABlosfeld commented 2 years ago

the game launcher app has an overlay option in the settings, I disabled this option and now the freepie app works in the background.

kunal52 commented 2 years ago

I didn't find any FreePIE app. Could you please share the link and guide on how you done it?

MABlosfeld commented 2 years ago

the FREEPIE IMU apk comes with the OPENTRACK (https://github.com/opentrack/opentrack/releases) installation, after installing it, search here (?:\opentrack\doc\contrib\freepie-udp\FreePIE_IMU_Android9.apk) connect your cell phone to your pc and transfer the file and run the installation.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.