Available Methods
- isKeyDown ( )
- enableRepeatEvents ( )
- KEY_ESCAPE
- KEY_RETURN
- KEY_SPACE
- getKeyName ( )
- getEventKey ( )
- getEventKeyState ( )
- KEY_TAB
- KEY_LEFT
- KEY_P
- KEY_T
- KEY_M
- KEY_RIGHT
- next ( )
- KEY_NONE
- getEventCharacter ( )
- KEY_BACK
- isRepeatEvent ( )
- KEY_UP
- KEY_G
- KEY_DOWN
- KEY_MINUS
- KEY_U
- isCreated ( )
- KEY_Y
- KEY_H
- poll ( )
- KEY_Q
- KEY_R
- getKeyIndex ( )
- KEY_LSHIFT
- KEY_Z
- KEY_C
- destroy ( )
- KEY_L
- KEY_W
- KEY_2 ( )
- KEY_HOME
- KEY_O
- KEY_X
- KEY_V
- KEY_INSERT
- KEY_F12 ( )
- KEY_END
- KEY_RMENU
- KEY_I
- KEY_N
- KEY_1 ( )
- KEY_3 ( )
- KEY_RSHIFT
- KEY_A
Related Classes
- java.io.BufferedReader
- java.util.LinkedList
- java.util.stream.Collectors
- java.util.Map.Entry
- com.google.gson.Gson
- java.awt.Toolkit
- javax.swing.SwingUtilities
- org.lwjgl.opengl.GL11
- net.minecraft.item.ItemStack
- net.minecraft.client.Minecraft
- net.minecraft.entity.player.EntityPlayer
- net.minecraft.client.gui.GuiScreen
- net.minecraft.client.gui.FontRenderer
- org.lwjgl.input.Mouse
- net.minecraftforge.fml.relauncher.Side
- net.minecraftforge.fml.common.eventhandler.SubscribeEvent
- net.minecraft.client.resources.I18n
- net.minecraftforge.fml.relauncher.SideOnly
- net.minecraft.client.gui.inventory.GuiContainer
- net.minecraft.inventory.Container
- net.minecraft.client.gui.GuiButton
- net.minecraft.inventory.Slot
- net.minecraftforge.fml.common.event.FMLInitializationEvent
- net.minecraft.client.renderer.GlStateManager
- net.minecraft.client.renderer.vertex.DefaultVertexFormats
Java Code Examples for org.lwjgl.input.Keyboard#KEY_INSERT
The following examples show how to use
org.lwjgl.input.Keyboard#KEY_INSERT .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: KeepContainer.java From LiquidBounce with GNU General Public License v3.0 | 5 votes |
@EventTarget public void onKey(final KeyEvent event) { if(event.getKey() == Keyboard.KEY_INSERT) { if(container == null) return; mc.displayGuiScreen(container); } }
Example 2
Source File: GameCamera.java From tribaltrouble with GNU General Public License v2.0 | 4 votes |
public final void keyPressed(KeyboardEvent event) { switch (event.getKeyCode()) { case Keyboard.KEY_HOME: case Keyboard.KEY_NUMPAD8: break; case Keyboard.KEY_END: case Keyboard.KEY_NUMPAD2: break; case Keyboard.KEY_INSERT: case Keyboard.KEY_NUMPAD6: viewer.getPicker().pickRotate(this); break; case Keyboard.KEY_DELETE: case Keyboard.KEY_NUMPAD4: viewer.getPicker().pickRotate(this); break; case Keyboard.KEY_PRIOR: case Keyboard.KEY_NUMPAD9: mouseScrolled(-2); break; case Keyboard.KEY_NEXT: case Keyboard.KEY_NUMPAD3: mouseScrolled(2); break; case Keyboard.KEY_UP: if (!scrollSpeedLocked(Keyboard.KEY_UP)) { scroll_acceleration_seconds = 0; setScrollSpeed(); } break; case Keyboard.KEY_DOWN: if (!scrollSpeedLocked(Keyboard.KEY_DOWN)) { scroll_acceleration_seconds = 0; setScrollSpeed(); } break; case Keyboard.KEY_LEFT: if (!scrollSpeedLocked(Keyboard.KEY_LEFT)) { scroll_acceleration_seconds = 0; setScrollSpeed(); } break; case Keyboard.KEY_RIGHT: if (!scrollSpeedLocked(Keyboard.KEY_RIGHT)) { scroll_acceleration_seconds = 0; setScrollSpeed(); } break; } }