HomeStoreForumsWikiiPhone Native AppsiPhone AppsiPhone Apps modmyifone Downloadsmodmyifone Links






Go Back   ModMyiFone.com - iPhone | iPod Touch forums, news, apps, themes. > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion
Register FAQ Members List READ THIS Today's Posts Mark Forums Read

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.


iPhone Optimized MMi | Browser Optimized MMi

Get more out of ModMyiFone by joining our free community. By registering you get privileges to download files from our downloads section and you may also post your questions in our forums! It's fast, free, and easy!

Opportunities at MMi | 1.1.4 Unlock|Jailbreak OS X / Win
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 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.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2 (permalink)  
Old 06-04-2008, 03:10 PM
timjack2's Avatar
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!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3 (permalink)  
Old 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...
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4 (permalink)  
Old 06-04-2008, 04:27 PM
NetMage's Avatar
Developer
 
Join Date: Aug 2007
Device + Firmware: iPhone 1.1.3
Operating System: Windows XP
Location: Virginia
Posts: 982
Thanks: 26
Thanked 161 Times in 134 Posts

If you could find the source, this would be useful, but if not, you could act as an add-on to this program:

PPJoy - Parallel Port Joystick driver for Windows 98, Me, 2000 and XP

Source for the keyboard->joystick emulator in PPJoy (last post):
http://www.mameworld.net/tigerheli/e...why%20not2.htm

Book chapter on programming HID device drivers:
http://www.microsoft.com/mspress/boo...chap/6262.aspx
__________________
Starlight Computer Wizardry
Pocket-sized Development

Last edited by NetMage : 06-04-2008 at 04:36 PM.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5 (permalink)  
Old 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!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6 (permalink)  
Old 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
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7 (permalink)  
Old 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 View Post
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.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8 (permalink)  
Old Yesterday, 03:17 PM
NetMage's Avatar
Developer
 
Join Date: Aug 2007
Device + Firmware: iPhone 1.1.3
Operating System: Windows XP
Location: Virginia
Posts: 982
Thanks: 26
Thanked 161 Times in 134 Posts

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)acceleratedInXfloat)x Yfloat)y Zfloat)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
__________________
Starlight Computer Wizardry
Pocket-sized Development

Last edited by NetMage : Yesterday at 03:20 PM.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9 (permalink)  
Old 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
Attached Thumbnails
 

Last edited by vaza : Today at 08:54 AM.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10 (permalink)  
Old Today, 05:15 AM
Apple iPie's Avatar
My iPhone is a Part of Me
 
Join Date: Mar 2008
Device + Firmware: 1 iPhone(8GB,1.1.4 FW),1 iPod Touch (16GB 1.1.4 firmware)
Operating System: MacOsx (Leopard)
Location: Switzerland
Posts: 940
Thanks: 118
Thanked 127 Times in 109 Posts
Send a message via Yahoo to Apple iPie

WOW! It will be an awesome app! But,plz do it for MAC.
__________________
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11 (permalink)  
Old 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.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  ModMyiFone.com - iPhone | iPod Touch forums, news, apps, themes. > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

ModMyMoto.com - ModMyGPhone.com - ModMyiFone.com - Managed Dedicated Servers by SingleHop - iPhone Wallpapers - Contact Us - Link to us - Archive - Privacy Statement - - Top
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