Added input related stuff in GLFWContext.