Shop OBEX P1 Docs P2 Docs Learn Events
BS2 and USB — Parallax Forums

BS2 and USB

ArchiverArchiver Posts: 46,084
edited 2000-06-29 04:09 in General Discussion
Hi All

has anybody out there interfaced a BS2 with the USB port on a MAC G4.
I need to send a "space bar" command to Adobe Premiere from a BS2.
On my old PowerMac I simply soldered in a plug to the spacebar switch
on the keyboard (old ADB style with pushbutton keys).
I don't have that luxury with the newer pressure contact USB
keyboards.
Any ideas no matter how obscure would be greatly appreciated.

cheers

daniel

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-06-27 17:13

    You wrote

    >has anybody out there interfaced a BS2 with the USB port on a MAC G4.
    >I need to send a "space bar" command to Adobe Premiere from a BS2.
    >On my old PowerMac I simply soldered in a plug to the spacebar switch
    >on the keyboard (old ADB style with pushbutton keys).
    >I don't have that luxury with the newer pressure contact USB
    >keyboards.
    >Any ideas no matter how obscure would be greatly appreciated.

    How about keeping the old ADB style keyboard and connect it to your G4
    via a USB to ADB converter.

    Jim
  • ArchiverArchiver Posts: 46,084
    edited 2000-06-29 04:09
    To be sure I understand, you want the Stamp to send something to the PC
    that looks to your application as if the user had pressed the Space bar on
    the keyboard? In other words, you want an electronically controlled Space bar?

    To send a signal that the USB host (Mac, PC, etc.) will interpret as a
    keypress, you need a USB controller chip programmed with code that makes
    the chip look like a keyboard to the operating system. The chip has to send
    the appropriate descriptors (data structures) to the host in response to
    requests, and must transfer data in the expected format. This is possible
    using just about any USB controller, but may be more trouble than you want
    to take!

    You can probably send data to the Mac using a USB-to-serial converter,
    Serout, and an application you write to receive the data, but you then need
    to figure out how to translate the Serout data into something that Premiere
    sees as a keypress. I'm not a Mac programmer and don't know if this is
    feasible.

    Jan Axelson
    http://www.lvr.com
    jan@l...

    >has anybody out there interfaced a BS2 with the USB port on a MAC G4.
    >I need to send a "space bar" command to Adobe Premiere from a BS2.
Sign In or Register to comment.