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    7706

diesieben07

diesieben07    7706

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7706
  • 56515 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    7706

diesieben07

diesieben07    7706

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7706
  • 56515 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

    • Aviator737
      [1.16.5] Apply transformation to obj model

      By Aviator737 · Posted 11 minutes ago

      Edited the post, made the question clearer as it seems to me.
    • GenElectrovise
      [Answered, not solved] Automated testing in Forge

      By GenElectrovise · Posted 40 minutes ago

      There'd also be a small startup time tradeoff but I don't know how much of a difference that would make. Interesting idea with running tests later on... I hadn't thought of that... Might try that out just to satisfy curiosity!
    • troublemaker_47
      Custom Ore Generation help

      By troublemaker_47 · Posted 1 hour ago

      now i get it. Tank you so much you have really made my day  
    • samjviana
      Custom Ore Generation help

      By samjviana · Posted 1 hour ago

      As from the integer "6" you asked ... it represent the vein size that the ore will try to generate.
    • troublemaker_47
      Custom Ore Generation help

      By troublemaker_47 · Posted 1 hour ago

      Thank you so much
  • Topics

    • Aviator737
      1
      [1.16.5] Apply transformation to obj model

      By Aviator737
      Started Friday at 02:43 PM

    • GenElectrovise
      3
      [Answered, not solved] Automated testing in Forge

      By GenElectrovise
      Started Thursday at 08:34 AM

    • troublemaker_47
      17
      Custom Ore Generation help

      By troublemaker_47
      Started Yesterday at 12:31 PM

    • CommandCore
      3
      Projectile Entity is Invisible

      By CommandCore
      Started February 26

    • ChocoCookies33
      1
      Description: Exception in server tick loop

      By ChocoCookies33
      Started 3 hours ago

  • Who's Online (See full list)

    • Danebi
    • samjviana
    • Abrynos
    • Ababoude
    • desht
    • Aecht_Rob
    • Aviator737
    • diesieben07
  • 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