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_F12
The following examples show how to use
org.lwjgl.input.Keyboard#KEY_F12 .
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: Utils.java From opsu-dance with GNU General Public License v3.0 | 4 votes |
public static boolean isValidGameKey(int key) { return (key != Keyboard.KEY_ESCAPE && key != Keyboard.KEY_SPACE && key != Keyboard.KEY_UP && key != Keyboard.KEY_DOWN && key != Keyboard.KEY_F7 && key != Keyboard.KEY_F10 && key != Keyboard.KEY_F12); }
Example 2
Source File: Options.java From opsu with GNU General Public License v3.0 | 4 votes |
/** * Checks if the given key is a valid game key. * @param key the keyboard key * @return {@code true} if valid, {@code false} otherwise */ private static boolean isValidGameKey(int key) { return (key != Keyboard.KEY_ESCAPE && key != Keyboard.KEY_SPACE && key != Keyboard.KEY_UP && key != Keyboard.KEY_DOWN && key != Keyboard.KEY_F7 && key != Keyboard.KEY_F10 && key != Keyboard.KEY_F12); }