Connect wifi mouse to iphone 4

Discussion in 'iPhone/iPad Programming' started by gilm, Mar 28, 2011.

  1. macrumors newbie

    Joined:
    Mar 28, 2011
    #1
    Hi,
    I am trying to control my iphone 4 with a simple mouse using wifi connection (not Bluetooth).
    For this purpose I am writing an iphone app that should receive the inputs from the mouse.
    Can you advice how to implement the part that receives the inputs (from the mouse) via the wifi interface? Can you point me to related documentation about the wifi api?

    Regards
    Gil
     
  2. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    A WiFi Mouse? Got a link? Never seen such a thing. Sure it's not Bluetooth?
     
  3. thread starter macrumors newbie

    Joined:
    Mar 28, 2011
    #3
    yes, I know it is not something you expect to see... anyway, it is part of a final project I am doing to my studies. I really need to know how to make this mouse control my iphone - any idea?
     
  4. macrumors 68020

    Mlrollin91

    Joined:
    Nov 20, 2008
    Location:
    Ventura
    #4
    iPhones and iPads don't support mice. They don't have a curser and that's the point of a touchscreen. especially over wifi. Never heard of a wifi mouse.
     
  5. macrumors member

    Joined:
    Mar 23, 2011
    #5
    I'm just a newbie but I've seen iphone apps control wifi enabled devices and those devices send back data like video from a web cam.

    Look around for a wi-fi class in the manual.
     
  6. macrumors 68040

    AlphaDogg

    Joined:
    May 20, 2010
    Location:
    Boulder, CO
    #6
    Jailbreak your iPhone/iPad and install something called BTstack mouse. If you can, modify it to support your so-called wifi mouse.
     
  7. thread starter macrumors newbie

    Joined:
    Mar 28, 2011
    #7
    Thanks a lot,
    I have reviewed Air Cam app – and as you said, it transfers video using your home Wi-Fi networks. It encorages me to believe that I can transfer data to the iphone using wifi connection.
    I still wonder whether apple limits the aplication to receive known formats such as video and blocks ‘row data’ receiving such as mouse commands.
    I am quite new in this area – can you be more specific about “wifi class manual”?
    How can I find it?
    Regards
    Gil
     
  8. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #8
    As Mlrollin91 mentioned, iOS doesn't implement the mouse concept. So what, exactly, are you planning on controlling via the WiFi mouse?
     
  9. thread starter macrumors newbie

    Joined:
    Mar 28, 2011
    #9
    I'd like to deign an app that receive mouse commands and behaves accordinglly -
    Do you know how to connect between iphone and wifi mouse without router around?
     
  10. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #10
    Well, since iOS has no concept of a cursor, what do you mean by "behaves accordingly"?
     
  11. thread starter macrumors newbie

    Joined:
    Mar 28, 2011
    #11
    Well, at first stage I'd llike to understand if I can have this direct connection - Can you please help me here? any ideas? documentatons?
     
  12. macrumors member

    Joined:
    Jun 30, 2010
    Location:
    Arizona
    #12
    Do you wan't to control the iPhone in a specific app or the entire system? I'm 99.9999% sure that controlling the entire system is impossible without jailbreaking.
     
  13. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #13
    I'm pretty sure what you're trying to do is not possible, given what is stated in the Game Kit Programming Guide:
     
  14. gilm, Mar 29, 2011
    Last edited by a moderator: Mar 29, 2011

    thread starter macrumors newbie

    Joined:
    Mar 28, 2011
    #14
    I am trying to control a specific app - maybe I was't clear about it.
    The app should only receive comands from the mouse - as I start to suspect - pear to pear connection over wifi can established only between two iOS, right?
    In case it is true - can I emulate such a connection when wifi network is available? wouldn't it have long delay in such a solution?


    Are you suggesting that jailbroken iOS would enable me to creat pear to pear connection between iOS and non OS device?

    OK - I read it - It looks like you right - in tthat case how can my iphone comunicate with itune on my windows PC over wifi? isn't a pear to pear connection?
     
  15. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #15
    Which wireless communication between your iPhone and iTunes on your PC are you referring to?
     

Share This Page