Advice on PS/2 Scan Codes


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Posts
    37


    Did you find this post helpful? Yes | No

    Default PS/2 Scan Codes

    Thanks Melanie. I'm trying to find a means to avoid the use of a keyboard encoder to receive keyboard commands. For example, if I purchased an RF receiver module that plugs into a USB port of a PC, do I have to develop an application that runs on the PC that would accept serial data and convert it into keyboard commands?

    I came accross this page that lists USB 16 bit keyboard positions at
    http://www.win.tue.nl/~aeb/linux/kbd/scancodes-13.html.

    Does this imply that a USB port can be used to receive keyboard commands directly without running a special application? Any advice would be appreciated.

  2. #2
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    http://tekgems.com/Products/tg-pbr.htm

    WinAmp Multimedia PC Remote

    $4.99 USD


  3. #3
    Join Date
    Jun 2005
    Posts
    37


    Did you find this post helpful? Yes | No

    Default The Packard Bell Remote

    Thanks Luciano. I've seen that Packard Bell remote before. That remote is IR, not RF howerver I could likely adapt it However, vertually every remote I have encountered has a very slow command repeat rate for some reason. Do you know if this remote is capable of trasmitting 50 to 100 commands per second? I see the software allows you to set how many times the command is repeated but I wonder about the repeat rate. The other thing I wanted to avoid is having lots buttons that are not used (like the mouse and curser buttons) and buttons whose native funtions are mapped for something else. Currently, my remote (although not exactly pretty) has 13 dedicated buttons for the following commands or macro commands;

    Volume Up (Keypad 8) - Fast Repeat Rate Required
    Volume Down (Keypad 2) - Fast Repeat Rate Required
    Scroll Up (Up Arrow) - Fast Repeat Rate Required
    Scroll Down (Down Arrow) - Fast Repeat Rate Required
    Queue Track (Q)
    Play/Select (Enter)
    Play Previous Track (Z)
    Play Next Track (B)
    Pause (C)
    Toggle Shuffle Mode (S)
    Sort Playlist By Title (CTRL + ShIFT + 1)
    Randomize Playlist (CTRL + SHIFT + R)
    Reverse Playlist (CTRL + R)

  4. #4
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Maybe I have a solution, but what's wrong with your current
    keyboard encoder? Why do you want to replace it?

    Best regards,

    Luciano

  5. #5
    Join Date
    Jun 2005
    Posts
    37


    Did you find this post helpful? Yes | No

    Default Encoder

    Hi Luciano. The use of the encoder was a work-around because I did not have a solution to feed data directly into a USB port. What I have done works perfectly, but it is a crude solution and I want to do this the best way possible. The keyboard encoder was meant to have various arcade buttons connected to it. My pics' software receives serial commands then translates those to simulate buttons being pressed by lowering various port pins connected to the button inputs of the keyboard encoder. I beleive there are serial keyboard encoders ICs but I would like a solution that feeds the commands directly into a USB port if possible. I need to understand a lot more about PC architecture I guess.

  6. #6
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    See this link.

    Human Interface Device (HID) class
    http://www.lvr.com/hidpage.htm

    Best regards,

    Luciano

  7. #7
    Join Date
    Jun 2005
    Posts
    37


    Did you find this post helpful? Yes | No

    Smile Hid

    Thanks Luciano. I shall dive in.

Similar Threads

  1. 16f877 and ps/2 keyboard error???
    By boraciner in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 5th July 2009, 09:14
  2. Need "PIC16F84A" Controler schematic Advice...
    By Kyo_89 in forum Schematics
    Replies: 1
    Last Post: - 28th May 2009, 00:03
  3. Your OTP advice?
    By truvahorse in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 28th June 2008, 17:37
  4. need help simulating PS/2 mouse
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 9th December 2007, 22:49
  5. ps/2 mouse
    By hamid in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 22nd June 2007, 10:04

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