Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 28, 2011, 02:39 PM   #1
gilm
macrumors newbie
 
Join Date: Mar 2011
connect wifi mouse to my iphone

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
gilm is offline   0 Reply With Quote
Old Mar 28, 2011, 02:50 PM   #2
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
A WiFi Mouse? Got a link? Never seen such a thing. Sure it's not Bluetooth?
robbieduncan is offline   0 Reply With Quote
Old Mar 28, 2011, 02:55 PM   #3
gilm
Thread Starter
macrumors newbie
 
Join Date: Mar 2011
Quote:
Originally Posted by robbieduncan View Post
A WiFi Mouse? Got a link? Never seen such a thing. Sure it's not Bluetooth?
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?
gilm is offline   0 Reply With Quote
Old Mar 28, 2011, 03:05 PM   #4
Mlrollin91
macrumors 68020
 
Join Date: Nov 2008
Location: Ventura
Quote:
Originally Posted by gilm View Post
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?
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.
Mlrollin91 is offline   0 Reply With Quote
Old Mar 28, 2011, 11:35 PM   #5
mistergreen2011
macrumors member
 
Join Date: Mar 2011
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.
mistergreen2011 is offline   0 Reply With Quote
Old Mar 28, 2011, 11:38 PM   #6
AlphaDogg
macrumors 68040
 
AlphaDogg's Avatar
 
Join Date: May 2010
Location: Boulder, CO
Jailbreak your iPhone/iPad and install something called BTstack mouse. If you can, modify it to support your so-called wifi mouse.
__________________
15" 2.66GHz C2D uMBP | 13" 2.4GHz i5 MBP 500GB | '07 MacBook
iPhone 6 64GB | iPhone 5 32GB | iPhone 8GB
אין חשיש בקולורדו
AlphaDogg is offline   0 Reply With Quote
Old Mar 29, 2011, 03:21 PM   #7
gilm
Thread Starter
macrumors newbie
 
Join Date: Mar 2011
Quote:
Originally Posted by mistergreen2011 View Post
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.
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
gilm is offline   0 Reply With Quote
Old Mar 29, 2011, 04:04 PM   #8
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
As Mlrollin91 mentioned, iOS doesn't implement the mouse concept. So what, exactly, are you planning on controlling via the WiFi mouse?
__________________
dejo is offline   0 Reply With Quote
Old Mar 29, 2011, 04:13 PM   #9
gilm
Thread Starter
macrumors newbie
 
Join Date: Mar 2011
Quote:
Originally Posted by dejo View Post
As Mlrollin91 mentioned, iOS doesn't implement the mouse concept. So what, exactly, are you planning on controlling via the WiFi mouse?
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?
gilm is offline   0 Reply With Quote
Old Mar 29, 2011, 04:15 PM   #10
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
Quote:
Originally Posted by gilm View Post
I'd like to deign an app that receive mouse commands and behaves accordinglly
Well, since iOS has no concept of a cursor, what do you mean by "behaves accordingly"?
__________________
dejo is offline   0 Reply With Quote
Old Mar 29, 2011, 04:31 PM   #11
gilm
Thread Starter
macrumors newbie
 
Join Date: Mar 2011
Quote:
Originally Posted by dejo View Post
Well, since iOS has no concept of a cursor, what do you mean by "behaves accordingly"?
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?
gilm is offline   0 Reply With Quote
Old Mar 29, 2011, 04:57 PM   #12
Atothendrew24
macrumors member
 
Join Date: Jun 2010
Location: Arizona
Send a message via AIM to Atothendrew24
Quote:
Originally Posted by gilm View Post
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?
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.
__________________
15" MacBook Pro (Mid 2010), 2.53 GHz, 4 GB RAM, 500 GB HD; 32 GB Black iPhone 4; 64 GB White iPad 2.
Atothendrew24 is offline   0 Reply With Quote
Old Mar 29, 2011, 05:07 PM   #13
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
Quote:
Originally Posted by gilm View Post
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?
I'm pretty sure what you're trying to do is not possible, given what is stated in the Game Kit Programming Guide:
Quote:
Peer-to-peer connectivity allows your game to create an ad-hoc Bluetooth or local wireless network between multiple iOS-based devices.
__________________
dejo is offline   0 Reply With Quote
Old Mar 29, 2011, 06:37 PM   #14
gilm
Thread Starter
macrumors newbie
 
Join Date: Mar 2011
Quote:
Originally Posted by Atothendrew24 View Post
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.
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?

Quote:
Originally Posted by dejo View Post
I'm pretty sure what you're trying to do is not possible, given what is stated in the Game Kit Programming Guide:
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?

Last edited by dejo; Mar 29, 2011 at 06:58 PM. Reason: Consecutive posts. Please use multi-quote.
gilm is offline   0 Reply With Quote
Old Mar 29, 2011, 07:25 PM   #15
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
Quote:
Originally Posted by gilm View Post
...in tthat case how can my iphone comunicate with itune on my windows PC over wifi? isn't a pear to pear connection?
Which wireless communication between your iPhone and iTunes on your PC are you referring to?
__________________
dejo is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
when there s wifi,does iphone still try to connect to 3g? kanoute iPhone 20 Jan 22, 2014 12:24 AM
Iphone 5 on ios 7.0.3 cannot connect to wifi? GrannySmith123 iPhone 5 Jan 18, 2014 06:56 PM
Magic mouse drops connection and wifi slow to connect to network nealh OS X Mavericks (10.9) 0 Jan 13, 2014 09:43 AM
Weird WiFi issue (connect to Apple Store WiFi, but can't connect to home router) nicz888 iPad Tips, Help and Troubleshooting 0 Jul 29, 2013 08:47 AM
WiFi Mouse Pro - Transform iPhone into a wireless mouse, keyboard and trackpad lew0001 iPhone and iPod touch Apps 4 Jul 9, 2013 04:38 AM

Forum Jump

All times are GMT -5. The time now is 08:59 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC