Shop OBEX P1 Docs P2 Docs Learn Events
Wireless link for game controller — Parallax Forums

Wireless link for game controller

ArchiverArchiver Posts: 46,084
edited 2001-10-22 21:55 in General Discussion
I am using 2 BS2e's along with the TWS/RWS RF modules from
rentron.com to complete a wireless extension for a PC game
controller. The game controller data is basically just made up of a
group of digital switches. This will be my first time writing a full
program for a Stamp, so if any one has any advice or guidance as far
as code goes for code either the transmitting side or receiving side,
it would be greatly appreciated.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-10-22 17:10
    >I am using 2 BS2e's along with the TWS/RWS RF modules from
    >rentron.com to complete a wireless extension for a PC game
    >controller. The game controller data is basically just made up of a
    >group of digital switches. This will be my first time writing a full
    >program for a Stamp, so if any one has any advice or guidance as far
    >as code goes for code either the transmitting side or receiving side,
    >it would be greatly appreciated.


    Oddly, I'm doing the exact same thing right now. Do you need to use
    the BS2 at all? I'm sending the RF data to a keyboard encoder, which
    send the information to the pc as keyboard events. I'm sure there is
    a similar technique for a joystick etc.

    Here's a web site for keyboard encoders >

    http://www.hagstromelectronics.com/modules.html

    HTH,

    Mark
  • ArchiverArchiver Posts: 46,084
    edited 2001-10-22 21:55
    --- In basicstamps@y..., markallen <markallen@c...> wrote:
    > >I am using 2 BS2e's along with the TWS/RWS RF modules from
    > >rentron.com to complete a wireless extension for a PC game
    > >controller. The game controller data is basically just made up of
    a
    > >group of digital switches. This will be my first time writing a
    full
    > >program for a Stamp, so if any one has any advice or guidance as
    far
    > >as code goes for code either the transmitting side or receiving
    side,
    > >it would be greatly appreciated.
    >
    >
    > Oddly, I'm doing the exact same thing right now. Do you need to use
    > the BS2 at all? I'm sending the RF data to a keyboard encoder,
    which
    > send the information to the pc as keyboard events. I'm sure there
    is
    > a similar technique for a joystick etc.
    >
    > Here's a web site for keyboard encoders >
    >
    > http://www.hagstromelectronics.com/modules.html
    >
    > HTH,
    >
    > Mark

    I thought about that, but since I already had the 2 BS2e's, I thought
    I would use them. With the serial I/O from the RF modules, and the
    SERIN SEROUT commands on the BS2, I figure it shouldn't be too hard
    to "multiplex" 6 switches (which is all the game controller basically
    is) and then "demultiplex" the data on the receiving end.

    John
Sign In or Register to comment.