Package net.lax1dude.eaglercraft.v1_8
Class Keyboard
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.Keyboard
-
public class Keyboard extends java.lang.Object
Copyright (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 void
enableRepeatEvents(boolean b)
static char
getEventCharacter()
static int
getEventKey()
static boolean
getEventKeyState()
static java.lang.String
getKeyName(int key)
static boolean
isCreated()
static boolean
isKeyDown(int key)
static boolean
isRepeatEvent()
static boolean
next()
static void
setFunctionKeyModifier(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()
-
-