Update KeyboardDevice.cpp

updated the control