Added comments to keyboard.cpp