Universal external input for iPod Touch

Discussion in 'iOS Jailbreak & Cydia' started by anthony.pray, Apr 28, 2009.

  1. anthony.pray

    anthony.pray New Member

    Joined:
    Jan 25, 2009
    Messages:
    2
    Likes Received:
    0
    Hello,

    First off I would like to introduce myself and explain my project. My name is Anthony, from Portland OR. I was reading about wireless keyboards for the iPhone and saw that some great input devices could be made using this technology, mainly for use with some of the emulators; that are out there for the iPod Touch and iPhone.

    What I have.
    1). Installed Veency (To handle local-host VNC connection).
    2). Installed LibVNCClient (A C back-end for making connection to VNC servers).
    3. Coded a custom LibVNCClient to handle keyboard and mouse input from iPod's serial port.
    4). Coded AT89C2051 to handle input from keyboard, mouse, PS1 and NES controllers and pass to iPod's serial port.

    What I need,
    1). Code Clean up /make file. The code works, its just in need of cleanup.(I just put my code in to an example and ran the default make file, I do not know how the Make File works ??)

    Commands I have so far:
    1). Commands are sent over the iPod's serial port at 19200 baud.
    2). Keyboard commands are sent in Ascii.
    3). Mouse commands are sent in 9 Byte.
    |1|2|3|4|5|6|7|8|9|
    |*|*|X|X|X|Y|Y|Y|u/d|

    Examples,
    1). To send the letter X send X to iPod's serial port.
    2). To Click at 100x300 on the screen. Send **1003001 , **1003000.
    3). To drag from 100x300 to 100x350. Send **1003001 , **1003501, **1003500.

    Will post code and all schematics they as they are available.

    Bata iPod Touch Client.
    Code:
    
    

    The code for the AT89C2051 for the Examples
  2. johonto

    johonto New Member

    Joined:
    Mar 17, 2009
    Messages:
    162
    Likes Received:
    0
    Device:
    2G iPod touch
  3. anthony.pray

    anthony.pray New Member

    Joined:
    Jan 25, 2009
    Messages:
    2
    Likes Received:
    0
    Umm, AKA, with this you can use a Play Station 1 controller with the Play Station games on your Ipod touch. Or an NES controller to play NES games. With this you can add any external device to control any onscreen or keyboard input on the iPod Touch.
  4. jeeab

    jeeab Member

    Joined:
    Apr 28, 2009
    Messages:
    95
    Likes Received:
    4
    Device:
    2G iPod touch
    this is awesome

    Please Register or Log in to view images

    I've been waiting for somebody to do something like this.
  5. Appman

    Appman Community Development Staff Member

    Joined:
    Jul 9, 2009
    Messages:
    4,034
    Likes Received:
    56
    Device:
    4G iPod touch
    Wow, good job. keep it up
  6. Retro349

    Retro349 New Member

    Joined:
    Jan 18, 2009
    Messages:
    355
    Likes Received:
    0
    Device:
    iPhone 4 (Black)
    I see what this is, but how would I make hardware for this? Or will a female-female USB adapter work?

Share This Page