Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Keyboard Output Delay

Greetings,

I've been attempting to control Keyboard LEDs using various methods with some success (I intend to use the LED signals from a butchered USB keyboard as a serial output - details here: http://www.electronicspoint.com/pic-programmer-made-usb-keyboard-t260458.html )

Problems I've run into:
- The 'DefineDosDevice' method only works with PS2 keyboards
- DirectX methods including microsofts own example absolutely do not work
- the 'hid method' can just f*** right off! I dont even want to f***ing know!
- keybd_event and SendInput work, but there is a variable delay (at least in win7). The strange thing with this is that if the mouse is moving, the delay disappears. Can anyone tell me whats going on here? Is there some kind of output buffer and if so can I flush it? I wont get more than 2bps unless I can get round that.
Sign In or Register to comment.