Skip to content

Question about possible fix for stuck keys #17

@cyberluke

Description

@cyberluke

Hi, I'm Lukas from Prague 10 (I guess we live close to each other).

I have a working solution with Teensy 3.2 + USB Host + 3.3/5V logic level shifter. I have modern USB keyboard connected to PC AT retro gaming machine thanks to your PS2DEV library and USBHID library. It works as active PS/2 converter.
386

I have currently tested this on: 386DX, 486DX4 and Pentium 133 MMX.

Each machine shows a similar issue and that is stuck key. Only those keys get stuck: CTRL, ALT, SHIFT, ARROW keys.

Which is mostly used in gaming. KeyDown event won't get delivered. On a second press and release, it gets fixed.

This is just my blind guesswork. Do you think that changing some type of delay (perhaps bigger delay for old AMIKEY keyboard PC controllers) would work? Or some solution with double checking these specific scan codes and sending KeyDown event twice as a workaround?

Here is a prototype of code based on some japanese guy, who made PS/2 converter. I bought an AT PC prototype from one smart Russian guy on E-Bay and now I'm trying to fix a few software bugs:
USBKBD2PS2_v3.zip

Because how easily you can get AT mechanical keyboard nowadays and how easily you can get USB mechanical keyboard, right?

Thank you for any tips!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions