separate lwjgl input code from nuit