LWJGL Forum

Please login or register.

Login with username, password and session length

Author Topic: Importing org.lwjgl.input.Keyboard;  (Read 207 times)

MightyGarlic

  • Newbie
  • *
  • Offline Offline
  • Posts: 1
Importing org.lwjgl.input.Keyboard;
« on: October 10, 2017, 21:36:04 »

Just downloaded the LWJGL library, and tried to import org.lwjgl.input.Keyboard; but it can't be resolved. Importing org.lwjgl.*, works totally fine


Can anyone help?
Logged

quew8

  • Nerdus Imperius
  • *****
  • Offline Offline
  • Posts: 568
  • Because Square Eyes Look More Real
Re: Importing org.lwjgl.input.Keyboard;
« Reply #1 on: October 27, 2017, 14:16:39 »

I assume that you have downloaded LWJGL3 but are expecting LWJGL2. LWJGL3 has no org.lwjgl.input package. Input is handled through GLFW.
Logged