Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • (1.16.2) import org.lwjgl.input.Keyboard;
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
e2rifia

(1.16.2) import org.lwjgl.input.Keyboard;

By e2rifia, January 14 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

e2rifia    0

e2rifia

e2rifia    0

  • Tree Puncher
  • e2rifia
  • Members
  • 0
  • 23 posts
Posted January 14

lwjgl didn't have input.Keyboard. Did it change to something else?

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7610

diesieben07

diesieben07    7610

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7610
  • 55159 posts
Posted January 14

What are you using from that class? What are you trying to achieve?

  • Quote

Share this post


Link to post
Share on other sites

e2rifia    0

e2rifia

e2rifia    0

  • Tree Puncher
  • e2rifia
  • Members
  • 0
  • 23 posts
Posted January 14 (edited)

I want to use enum Keyboard.KEY.

I want to achieve making a new KeyBinding.

as: keybindTeleport = new KeyBinding("Teleport", Keyboard.KEY_X, "Teleports");

Edited January 14 by e2rifia
  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7610

diesieben07

diesieben07    7610

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7610
  • 55159 posts
Posted January 14

Use the GLFW.GLFW_KEY_XXX constants.

  • Like 1
  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • blubb
      My forge server wont make a mods folder

      By blubb · Posted 15 minutes ago

      I got it working Im not sure why but if I had to guess its because I cleaned up my desktop into 2 neat folders and suddenly it works
    • blubb
      My forge server wont make a mods folder

      By blubb · Posted 1 hour ago

      No
    • DaemonUmbra
      My forge server wont make a mods folder

      By DaemonUmbra · Posted 1 hour ago

      Are you renaming any files after reinstalling?
    • blubb
      My forge server wont make a mods folder

      By blubb · Posted 1 hour ago

      Also after that I looked and they where all gone and I tried again but still didn't work
    • blubb
      My forge server wont make a mods folder

      By blubb · Posted 1 hour ago

      Sorry for the late reply but I did that and it was the same thing for all of them
  • Topics

    • blubb
      36
      My forge server wont make a mods folder

      By blubb
      Started 4 hours ago

    • ZDOG22
      0
      [1.16.4] Remove Minecraft Pitch Limit

      By ZDOG22
      Started 3 hours ago

    • Eridani
      0
      Best way to create a new dye.

      By Eridani
      Started 3 hours ago

    • djsweely
      1
      SERVER CRASH

      By djsweely
      Started 4 hours ago

    • Luis_ST
      1
      [1.16.5] Help with custom Glass Block

      By Luis_ST
      Started Friday at 07:35 AM

  • Who's Online (See full list)

    • Protnore
    • blubb
    • SwiftServices
    • Gubipe
    • LuizRique899
    • ConsumerJunk
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • (1.16.2) import org.lwjgl.input.Keyboard;
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community