Control PC games from your Android Phone


Have you ever wanted to control PC games with your phone? Well we can show you the way ๐Ÿ™‚ Our third year group project, MotionMote is all about controlling PC games via an Android phone. Of course this can be extended for other mobile OS platforms as well.

To start off with, let’s look at the concept behind the MotionMote. Most of the motion based system, such as WiiMote and PlayStationMove are not very popular inย  computer gaming. Instead joysticks, joy pads and steering wheels are heavily used for PC simulation games, but they do not support motion detection. The MotionMote binds the funtions of game controllers and motion detectors, to create a virtual environment for PC simulation wirelessly.

The client (phone) and the server (PC) should be connected through a socket (ip address and port). Wi-Fi technology is used for the connection. Data is transmitted to the server via the phone, and then the server retransmitย  data to PPJoy for further processing.

PPJoy is a virtual joystick driver. The serverย  requires this to be installed on the PC. It acts as a bridge between the server and the gaming application.

All the executables can be downloaded fromhere.

Technologies used

  • Android SDK 2.1(Mobile App)
  • .Net Framework 3.5(Desktop Application)

References – DroidPad

Other team members

  • Pragaladan Sivakumar (team leader – it was his idea ๐Ÿ™‚ )
  • Rajeeva Uthayasankar
  • Irham Iqbal
  • Kreshan Rajendran

27 responses to this post.

  1. Posted by Nadun on February 25, 2012 at 1:01 pm

    good post ๐Ÿ™‚

    Reply

  2. Posted by Yash on February 27, 2012 at 12:53 pm

    wonderful bro!

    Reply

  3. Posted by Yash on February 27, 2012 at 1:09 pm

    from where do i get the apk? and i cant see the server you’ve shown in the screenhot ๐Ÿ˜ฆ

    Reply

    • It seems like the windows server app which we uploaded has disappeared all of a sudden ๐Ÿ˜ฆ . Thanks for pointing that out.
      I uploaded the sever app again to the repository at http://code.google.com/p/motionmote/downloads/list. You can also download the user manual there.

      You can get the apk by checking in the trunk using svn. The command would be “svn checkout http://motionmote.googlecode.com/svn/trunk/“. Once you check out you can find the apk at “Project MotionMote/bin” folder.

      If you still didn’t check in the trunk, I uploaded the apk file to the downloads page (the given link above) to make life easier. ๐Ÿ™‚

      Thanks for being interested about MotionMote. Would like to receive your feed back as well.

      Reply

  4. can you please suggest a good racing game for pc that i can control it from my android phone’s built in sensor?

    Reply

  5. Posted by kevin on December 3, 2012 at 4:29 am

    hello there bro. i cant seem to connect the phone to the pc. what did i miss??
    1.i installed the ppjoy on the pc, opened wireless
    2.run the motionmoteserver
    3.opened the wifi of the client, then open the app and configure the ip address and port
    4.clicked controller and then “start/stop”

    yet the log textbox on the server doesnt say “connected”

    what did i miss??

    Reply

  6. Posted by HelloMan on January 11, 2013 at 10:12 pm

    Look for “Steering Wheel for PC games” in Google Play.
    I use this!!
    It is verry professionally.

    Reply

  7. can you post the server code , please

    Reply

  8. how to control directx game from the server ,

    Reply

  9. I found this post , โ€œControl PC games from your Android Phone ซ My Tech Attemptsโ€, especially entertaining plus the post was in fact a terrific read.
    Thanks for your effort-Keisha

    Reply

  10. can you provide server code , it doesn’t uploaded in the trunk only found exe file in the
    download list but I need the code please ,
    Can you send the code for the serer
    gazatry@gmail.com

    Reply

  11. I will need this code for the server for my learning purpose only , it doesn’t uploaded

    Reply

  12. Client code found but server doesn’t found
    can you help me

    Reply

    • Posted by amindri udugala on March 3, 2013 at 3:35 am

      • I will run the server code and it run successfully,and when android app also it success work and say connected , but there is a problem no action be moved ,
        I asked the pop-joystick app when I create the new virtual success but when t mapping Is it restricted x -y-z and buttons also to any key when i mapping because the android app see A,b,c,d is it necessary to map to restricted keys and if yes what this keys
        i will run it on windows 7 if there is problem
        please , can help me in pop joystick configuration to motion droid app restriction
        i read the manual but it is not enough
        I’m really grateful to you your patience

  13. If you make small video for pop joystick configuration and demonstration
    for our program , uploaded it and put the link — if possible
    I ask to what windows is tested
    I WILL thanks to us for helping
    and for answering the questions

    Reply

  14. Connection between server and client works properly , but after that nothing does
    why
    I tested on code that was uploaded last comment
    what is the solution for it
    under windows 7 i was tested it

    Reply

  15. Hiโ€ฆ..
    This is a great idea and I
    have also been trying the
    same thing for quite some
    days now. But I canโ€™t get
    the socket programing to
    work with vb.net. Can you
    upload the source code or
    atleast can you upload the
    code you used to send/
    receive data.
    It will be very helpful.
    Thanks

    Reply

  16. the code uploaded above and here is the link
    http://www.mediafire.com/?702z5r6b37vo9bd
    please,if this code work with you,say how
    and if not ,what is the problems

    Reply

  17. Posted by dec on January 14, 2014 at 5:32 am

    can i use this app via blutooth cuz i dont have wifi in my pc, if doesnt so pls help me to use it via blutooth,

    Reply

  18. Posted by Divya G on April 25, 2014 at 12:23 am

    hi..
    can u upload any documentation part regarding this project
    Thanks

    Reply

Leave a comment