Page 1 of 1

USB PC Keyboard

Posted: Thu Jun 13, 2019 12:35 pm
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 :-}

Re: USB PC Keyboard

Posted: Thu Jun 13, 2019 12:41 pm
by Steve001
Hi Mate,

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

Is this it ..

https://www.matrixtsl.com/mmforums/viewtopic.php?f=26&t=8870

Regards
Steve

:edit, just thinking are you wanting to make a keyboard or read a keyboard ?

Re: USB PC Keyboard

Posted: Thu Jun 13, 2019 1:37 pm
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.

Re: USB PC Keyboard

Posted: Fri Jun 14, 2019 3:48 pm
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.php?title=Component:_ID_06a0a9b3_dd23_4592_a781_537a31b97c2a

Re: USB PC Keyboard

Posted: Sat Jun 15, 2019 11:38 am
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...