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 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)

  2. #2
    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

  3. #3
    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.

  4. #4
    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

  5. #5
    Join Date
    Jun 2005
    Posts
    37


    Did you find this post helpful? Yes | No

    Smile Hid

    Thanks Luciano. I shall dive in.

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


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Windows XP will let you connect a PS2 and a USB keyboard at the same time.
    Connect a sandard PS2 keyboard and connect your device as USB keyboard.
    (XP will see them as one keyboard).

    There is no need to write special software on the PC
    if Windows XP sees your device as USB keyboard.

    See this link:
    http://www.mecanique.co.uk/products/usb/easyhid.html

    * * *

    Also possible with Windows XP

    SerialKeys: Use an Alternative Input Device Instead of a Keyboard or Mouse

    SerialKeys is accessibility feature designed for people who have difficulty using the computer's standard keyboard or mouse. SerialKeys provides support so that alternative input devices, such as single switch or puff and sip devices can be plugged into the computer's serial port.

    https://www.microsoft.com/windowsxp/...erialkeys.mspx

    How to Set Up and Use SerialKeys in Windows:
    http://support.microsoft.com/?kbid=260517

    Best regards,

    Luciano
    Last edited by Luciano; - 13th January 2006 at 09:17.

  7. #7
    Join Date
    Jun 2005
    Posts
    37


    Did you find this post helpful? Yes | No

    Default HID and Serial Keys

    Wow, that appears to be exactly what I was looking for. Although my music server is running Windows 98, I plan to replace the PC soon. We have another PC running XP in our den that I can test things on anyway. I'm surprised that XP has such a facility (serial keys). It can't get any easier than that. And I'll definately check out the HID application. These potentially make possible (for me) all kinds of interesting projects. Thanks again for all of your help.

    I did complete my Winamp RF Remote last night. Although the receiver is somewhat crude with respect to the hardware I used, the result is a high performance MP3 remote. It's very fast and easy to use.

    What you provided me will hopefully allow me to develope something that requires a lot less hardware and construction time so that I can build some more of these for freinds and family.
    Attached Images Attached Images  

Similar Threads

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