USB keyboard emulator


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Posts
    29

    Default

    Finally I found a way. After I send a key code, I clear all the buffer bytes and do another send with all buffers to 0. I'm not sure this is the right way to do it but it work as expected. Naturally I did a little delay (as suggest by Dave) to make sure only 1 code is send. But since it's not the final use of my project the button will disapear. Thanks to everybody here.

  2. #2
    skimask's Avatar
    skimask Guest

    Default

    Is it really that easy to do a USB interface, such as what was done here with the keyboard emulator? PBP 2.46, a PIC w/ USB, and a few simple 'included' files and the required wiring to the connector?

    I've been using the FTDI chips all along and just switched over to the CP2103, but I've been wanting to get rid of the 'middle man' with a USB-PIC.
    I've been wanting to make some custom PCBs and enclosures for simulated aircraft controls (radios, heading bugs, ya know, front panel stuff) like you'd use with FS2K or whatever (Falcon 4, the list goes on).

    Thoughts?

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    It's not as this hard, but you may have to learn the PC side too. The hardware is pretty simple.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 13:43
  2. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 20:17
  3. AT/PS2 Keybord - PIC Interface?
    By Kamikaze47 in forum Code Examples
    Replies: 73
    Last Post: - 9th August 2009, 16:10
  4. One USB keyboard to Two USB Ports
    By picnaut in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th June 2009, 00:04
  5. Replies: 3
    Last Post: - 10th April 2008, 10:02

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts