Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

1075928 Posts in 44152 Topics- by 36120 Members - Latest Member: Royalhandstudios

December 29, 2014, 03:57:48 PM
TIGSource ForumsDeveloperTechnical (Moderators: Glaiel-Gamer, ThemsAllTook)Mobile controller protocol for using your device as a controller?
Pages: [1]
Print
Author Topic: Mobile controller protocol for using your device as a controller?  (Read 461 times)
Cheezmeister
Level 1
*



View Profile
« on: December 08, 2011, 05:51:53 PM »

I've seen a couple of instances of iPhones and such being used as wireless controllers for games (and IIRC, roombas!) and it looks like there's some great potential (especially with accelerometers) but I'm pretty sure these have been custom hacks not intended to be extended. Thought it would be cool to have a more modular system where you can use any compatible device/app combo to control any compatible server/program over WiFi, Bluetooth, or whatever. All it would take is a well-defined spec for the communication...well, and some adopters.

Anyone heard of something like this? If not, I'm tempted to give it a shot, if only because I have no other ideas for messing around with Android Wink
Logged

Procrastinating on: RA (http://luchenlabs.com/apps/ra) | More at http://luchenlabs.com/projects
My heart goes out to you for asking a simple question and getting a million complicated answers; it's sort of how this forum works... -Evan Balster
bach
Level 0
**



View Profile WWW
« Reply #1 on: December 08, 2011, 07:34:38 PM »

I've seen a couple of instances of iPhones and such being used as wireless controllers for games (and IIRC, roombas!) and it looks like there's some great potential (especially with accelerometers) but I'm pretty sure these have been custom hacks not intended to be extended. Thought it would be cool to have a more modular system where you can use any compatible device/app combo to control any compatible server/program over WiFi, Bluetooth, or whatever. All it would take is a well-defined spec for the communication...well, and some adopters.

Anyone heard of something like this? If not, I'm tempted to give it a shot, if only because I have no other ideas for messing around with Android Wink

Hey,

Yup libgdx has a remote functionality built in, which is pretty cool. It sends any touch & accelerometer data through to your app via some port.

It's completely open-source:
http://code.google.com/p/libgdx/source/browse/trunk/gdx/src/com/badlogic/gdx/input/RemoteSender.java
http://code.google.com/p/libgdx/source/browse/trunk/gdx/src/com/badlogic/gdx/input/RemoteInput.java

Obviously the code is very specific to libgdx, however it shouldn't be too hard to figure out.

Cheers,
Bach
Logged
Cheezmeister
Level 1
*



View Profile
« Reply #2 on: December 08, 2011, 09:31:59 PM »

Looks neat, I'll have to mess around some! Thanks Smiley
Logged

Procrastinating on: RA (http://luchenlabs.com/apps/ra) | More at http://luchenlabs.com/projects
My heart goes out to you for asking a simple question and getting a million complicated answers; it's sort of how this forum works... -Evan Balster
Cheezmeister
Level 1
*



View Profile
« Reply #3 on: December 09, 2011, 06:18:42 PM »

GMote has a similar thing going, but geared towards multimedia:

http://code.google.com/p/gmote/
Logged

Procrastinating on: RA (http://luchenlabs.com/apps/ra) | More at http://luchenlabs.com/projects
My heart goes out to you for asking a simple question and getting a million complicated answers; it's sort of how this forum works... -Evan Balster
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic