Package net.lax1dude.eaglercraft.v1_8
Class Keyboard
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.Keyboard
-
public class Keyboard extends java.lang.ObjectCopyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Constructor Summary
Constructors Constructor Description Keyboard()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidenableRepeatEvents(boolean b)static chargetEventCharacter()static intgetEventKey()static booleangetEventKeyState()static java.lang.StringgetKeyName(int key)static booleanisCreated()static booleanisKeyDown(int key)static booleanisRepeatEvent()static booleannext()static voidsetFunctionKeyModifier(int key)
-
-
-
Method Detail
-
enableRepeatEvents
public static void enableRepeatEvents(boolean b)
-
isCreated
public static boolean isCreated()
-
next
public static boolean next()
-
getEventKeyState
public static boolean getEventKeyState()
-
getEventCharacter
public static char getEventCharacter()
-
getEventKey
public static int getEventKey()
-
setFunctionKeyModifier
public static void setFunctionKeyModifier(int key)
-
isKeyDown
public static boolean isKeyDown(int key)
-
getKeyName
public static java.lang.String getKeyName(int key)
-
isRepeatEvent
public static boolean isRepeatEvent()
-
-