added extern-C guards for integration in c++ projects and added more tolerance to the keyboard driver (some keyboards report undefined but work just as they should)
Update types.h

Added missing include guard definition.
Merge pull request #8 from Chadderz121/patch-1

Patch 1