Package arc.input
Enum Class KeyCode
- All Implemented Interfaces:
KeyBinds.KeybindValue
,Serializable
,Comparable<KeyCode>
,Constable
Enum for storing input codes of mouse, keyboard and controllers.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
-
Method Summary
-
Enum Constant Details
-
controllerA
-
controllerB
-
controllerX
-
controllerY
-
controllerGuide
-
controllerLBumper
-
controllerRBumper
-
controllerBack
-
controllerStart
-
controllerLStick
-
controllerRStick
-
controllerdPadUp
-
controllerdPadDown
-
controllerdPadLeft
-
controllerdPadRight
-
controllerLTrigger
-
controllerRTrigger
-
controllerLStickYAxis
-
controllerLStickXAxis
-
controllerRStickYAxis
-
controllerRStickXAxis
-
mouseLeft
-
mouseRight
-
mouseMiddle
-
mouseBack
-
mouseForward
-
scroll
-
anyKey
-
num0
-
num1
-
num2
-
num3
-
num4
-
num5
-
num6
-
num7
-
num8
-
num9
-
a
-
altLeft
-
altRight
-
apostrophe
-
at
-
b
-
back
-
backslash
-
c
-
call
-
camera
-
clear
-
comma
-
d
-
del
-
backspace
-
forwardDel
-
dpadCenter
-
dpadDown
-
dpadLeft
-
dpadRight
-
dpadUp
-
center
-
down
-
left
-
right
-
up
-
e
-
endcall
-
enter
-
envelope
-
equals
-
explorer
-
f
-
focus
-
g
-
backtick
-
h
-
headsetHook
-
home
-
i
-
j
-
k
-
l
-
leftBracket
-
m
-
mediaFastForward
-
mediaNext
-
mediaPlayPause
-
mediaPrevious
-
mediaRewind
-
mediaStop
-
minus
-
mute
-
n
-
notification
-
num
-
o
-
p
-
period
-
plus
-
pound
-
power
-
q
-
r
-
rightBracket
-
s
-
search
-
semicolon
-
shiftLeft
-
shiftRight
-
slash
-
softLeft
-
softRight
-
space
-
star
-
sym
-
t
-
tab
-
u
-
unknown
-
v
-
volumeDown
-
volumeUp
-
w
-
x
-
y
-
z
-
metaAltLeftOn
-
metaAltOn
-
metaAltRightOn
-
metaShiftLeftOn
-
metaShiftOn
-
metaShiftRightOn
-
metaSymOn
-
controlLeft
-
controlRight
-
escape
-
end
-
insert
-
pageUp
-
pageDown
-
pictSymbols
-
switchCharset
-
buttonCircle
-
buttonA
-
buttonB
-
buttonC
-
buttonX
-
buttonY
-
buttonZ
-
buttonL1
-
buttonR1
-
buttonL2
-
buttonR2
-
buttonThumbL
-
buttonThumbR
-
buttonStart
-
buttonSelect
-
buttonMode
-
numpad0
-
numpad1
-
numpad2
-
numpad3
-
numpad4
-
numpad5
-
numpad6
-
numpad7
-
numpad8
-
numpad9
-
colon
-
f1
-
f2
-
f3
-
f4
-
f5
-
f6
-
f7
-
f8
-
f9
-
f10
-
f11
-
f12
-
unset
-
application
-
asterisk
-
capsLock
-
pause
-
printScreen
-
scrollLock
-
-
Field Details
-
all
-
numbers
-
type
-
value
-
axis
public final boolean axis
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
byOrdinal
-
toString
-