Go Down

Topic: PS2Keyboard library (Read 62 times) previous topic - next topic

tonyjack

Hi Everyone,

I am using the PS2Keyboard library from this Link. I've used the last library (2.3-Ctrl-Enter).

The problem is that it cannot detect the HOME, End, NumLock and other key. I went through the "PS2Keyboard.h" file, provided in the library, then I found that all the keys which cannot be detected are set to 0.

The question is that how can I find their corresponding value? And is it the same for all types of keyboards?

Many thanks,

Tonyjack

pylon

Quote
The question is that how can I find their corresponding value? And is it the same for all types of keyboards?
This question was answered a few weeks ago.

Just use any value you like. The mentioned keys don't have an ASCII value associated, so there is no default value to insert. Choose one you think is appropriate and makes sense to you.

Go Up