USB PC Keyboard

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
Sparkoids
Posts: 267
Joined: Mon Sep 14, 2009 10:34 am
Has thanked: 30 times
Been thanked: 19 times
Contact:

USB PC Keyboard

Post by Sparkoids »

Many many moons ago I used an example of a PC keyboard Flowcode sample that worked with FC5 and ECIO28.

I cannot find it anywhere now and wonder if anyone has a link to it or is able to PM it to me.


Thanks in advance,

James :-}

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: USB PC Keyboard

Post by Steve001 »

Hi Mate,

I remember that post too .. :mrgreen: but thought it was a PS2 one ? not USB

Is this it ..

viewtopic.php?f=26&t=8870

Regards
Steve

:edit, just thinking are you wanting to make a keyboard or read a keyboard ?
Success always occurs in private and failure in full view.

Sparkoids
Posts: 267
Joined: Mon Sep 14, 2009 10:34 am
Has thanked: 30 times
Been thanked: 19 times
Contact:

Re: USB PC Keyboard

Post by Sparkoids »

Hi Steve,

It wasn't that one but that is good to study regardless.

I am trying to build a keyboard where the keys are pre-set so I press a button on an E-Block button bank and it sends an ascii code to the PC mimicking a keyboard.

I have the HID thing sorted and a variation that Ben R helped with back in the day but want to start from scratch and build from there.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: USB PC Keyboard

Post by Benj »

Hello,

The HID Keyboard section here should help. It has a Flowcode example and an Excel file showing the various byte combinations for different keys.

https://www.matrixtsl.com/wiki/index.ph ... 7a31b97c2a

Sparkoids
Posts: 267
Joined: Mon Sep 14, 2009 10:34 am
Has thanked: 30 times
Been thanked: 19 times
Contact:

Re: USB PC Keyboard

Post by Sparkoids »

Does anyone have any idea why the keyboard isn't recognised here please?

It does not recognise the HID as a keyboard for some reason and it's driving me bonkers!

Thanks in advance...
Attachments
USB_Prober_and_Windows_7__1_.jpg
USB_Prober_and_Windows_7__1_.jpg (159.88 KiB) Viewed 5564 times

Post Reply