iPhone / iPod Touch SDK | Development Discussion SDK questions. A place for iPhone developers to post code snippets, discuss creating iPhone apps, and any other iPhone developing. |
|
06-04-2008, 01:14 PM
|
What's Jailbreak?
|
|
Join Date: May 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Iphone as PC Steering Wheel
Iphone as PC Steering Wheel
im trying to find how to send keystrokes of a steering wheel in windows... much before developing the app in the iphone..
i serached for 2 hours in google and nothing!
after this, i can start developing the app and send from the iphone via wifi the acclerating values to the computer and use them to 'steer' the wheel..
does anyone know how to do it?
Amir.
|
|
06-04-2008, 03:10 PM
|
|
Green Apple
|
|
Join Date: Oct 2007
Posts: 42
Thanks: 3
Thanked 5 Times in 4 Posts
|
|
Not a clue.
Although I will be rooting for this app as it would be AMAZING.
Would the app acellerometerlogger be of any help?
|
__________________
If I helped, Please don't hesitate to hit the thanks button!
|
06-04-2008, 03:36 PM
|
What's Jailbreak?
|
|
Join Date: May 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
it can helps, yea... but first i have to find out how to control the wheel from the PC... the triggers will be easyer...
|
|
06-04-2008, 04:27 PM
|
|
Developer
|
|
|
|
Last edited by NetMage : 06-04-2008 at 04:36 PM.
|
06-04-2008, 05:00 PM
|
Green Apple
|
|
Join Date: Oct 2007
Posts: 40
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
Might want to research Wii controller PC interface as well... this could be very cool! Don't limit to just steering wheel, think user input (mouse, kb).
Good luck!
|
|
06-04-2008, 05:06 PM
|
What's Jailbreak?
|
|
Join Date: May 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
thanks... more ideas/helps will be great :P
|
|
Yesterday, 11:52 AM
|
What's Jailbreak?
|
|
Join Date: May 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by timjack2
Not a clue.
Although I will be rooting for this app as it would be AMAZING.
Would the app acellerometerlogger be of any help?
|
well, i made the PC program, now i need to write the iphone one, where can i find the accelerometer log source code? (is it open-source? :S)
i want to send the X Y Z to the PC every 0.01 seconds(or as fast as it can, the accelerometer is very fast..) by the WIFI... the function should be about 10-20 rows i believe...
Amir.
|
|
Yesterday, 03:17 PM
|
|
Developer
|
|
|
|
Check out the iApp-a-Day application Magic Eight Ball for reading the accelerometer at standard OS X speed:
iappaday - Google Code
Basically you need to add this to your Application class:
- (void)acceleratedInX float)x Y float)y Z float)z;
If you want to read faster, there is some code to speed up event reception from the accelerometer, but I don't have it bookmarked
Found it:
http://blog.medallia.com/2007/08/iph...source_co.html
|
Last edited by NetMage : Yesterday at 03:20 PM.
|
Today, 05:07 AM
|
What's Jailbreak?
|
|
Join Date: May 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
thanks, but i cant make it work, wired..
do you have any full source code of an app using it?
Thanks.
well, i have another problem.. i cant find out how to open a socket.. i just need to open a web page and close it.. i dont care whats is written in it..
i would love to get some help.. its the first iphone-app i build :s
|
Last edited by vaza : Today at 08:54 AM.
|
Today, 05:15 AM
|
|
My iPhone is a Part of Me
|
|
|
|
WOW! It will be an awesome app! But,plz do it for MAC.
|
__________________
|
Today, 10:17 AM
|
What's Jailbreak?
|
|
Join Date: May 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
It works!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
now how can i open and close a web page? i want to transfer it via GET and the job is done.
if someone knows how, tell me it will be fast :P
|
Last edited by vaza : Today at 10:52 AM.
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
Copyright © 2007-08 by ModMy, LLC. All rights reserved. You may not copy anything on this site unless you link to the original.
All times are GMT -6. The time now is 12:43 PM.
Powered by vBulletin® Version 3.6.10 Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
ModMyiFone.com is an independent
publication and has not been authorized, sponsored, or otherwise approved by Apple, Inc or Cisco Systems, Inc. The information contained on this site is for educational purposes only.
Forum skin by poetic_folly
| |
|
|