Added keyboard support

Added keyboard including EGL routing for OSX.