Package arc.input

Enum Class KeyCode

All Implemented Interfaces:
KeyBinds.KeybindValue, Serializable, Comparable<KeyCode>, Constable

public enum KeyCode extends Enum<KeyCode> implements KeyBinds.KeybindValue
Enum for storing input codes of mouse, keyboard and controllers.
  • Enum Constant Details

    • controllerA

      public static final KeyCode controllerA
    • controllerB

      public static final KeyCode controllerB
    • controllerX

      public static final KeyCode controllerX
    • controllerY

      public static final KeyCode controllerY
    • controllerGuide

      public static final KeyCode controllerGuide
    • controllerLBumper

      public static final KeyCode controllerLBumper
    • controllerRBumper

      public static final KeyCode controllerRBumper
    • controllerBack

      public static final KeyCode controllerBack
    • controllerStart

      public static final KeyCode controllerStart
    • controllerLStick

      public static final KeyCode controllerLStick
    • controllerRStick

      public static final KeyCode controllerRStick
    • controllerdPadUp

      public static final KeyCode controllerdPadUp
    • controllerdPadDown

      public static final KeyCode controllerdPadDown
    • controllerdPadLeft

      public static final KeyCode controllerdPadLeft
    • controllerdPadRight

      public static final KeyCode controllerdPadRight
    • controllerLTrigger

      public static final KeyCode controllerLTrigger
    • controllerRTrigger

      public static final KeyCode controllerRTrigger
    • controllerLStickYAxis

      public static final KeyCode controllerLStickYAxis
    • controllerLStickXAxis

      public static final KeyCode controllerLStickXAxis
    • controllerRStickYAxis

      public static final KeyCode controllerRStickYAxis
    • controllerRStickXAxis

      public static final KeyCode controllerRStickXAxis
    • mouseLeft

      public static final KeyCode mouseLeft
    • mouseRight

      public static final KeyCode mouseRight
    • mouseMiddle

      public static final KeyCode mouseMiddle
    • mouseBack

      public static final KeyCode mouseBack
    • mouseForward

      public static final KeyCode mouseForward
    • scroll

      public static final KeyCode scroll
    • anyKey

      public static final KeyCode anyKey
    • num0

      public static final KeyCode num0
    • num1

      public static final KeyCode num1
    • num2

      public static final KeyCode num2
    • num3

      public static final KeyCode num3
    • num4

      public static final KeyCode num4
    • num5

      public static final KeyCode num5
    • num6

      public static final KeyCode num6
    • num7

      public static final KeyCode num7
    • num8

      public static final KeyCode num8
    • num9

      public static final KeyCode num9
    • a

      public static final KeyCode a
    • altLeft

      public static final KeyCode altLeft
    • altRight

      public static final KeyCode altRight
    • apostrophe

      public static final KeyCode apostrophe
    • at

      public static final KeyCode at
    • b

      public static final KeyCode b
    • back

      public static final KeyCode back
    • backslash

      public static final KeyCode backslash
    • c

      public static final KeyCode c
    • call

      public static final KeyCode call
    • camera

      public static final KeyCode camera
    • clear

      public static final KeyCode clear
    • comma

      public static final KeyCode comma
    • d

      public static final KeyCode d
    • del

      public static final KeyCode del
    • backspace

      public static final KeyCode backspace
    • forwardDel

      public static final KeyCode forwardDel
    • dpadCenter

      public static final KeyCode dpadCenter
    • dpadDown

      public static final KeyCode dpadDown
    • dpadLeft

      public static final KeyCode dpadLeft
    • dpadRight

      public static final KeyCode dpadRight
    • dpadUp

      public static final KeyCode dpadUp
    • center

      public static final KeyCode center
    • down

      public static final KeyCode down
    • left

      public static final KeyCode left
    • up

      public static final KeyCode up
    • e

      public static final KeyCode e
    • endcall

      public static final KeyCode endcall
    • enter

      public static final KeyCode enter
    • envelope

      public static final KeyCode envelope
    • equals

      public static final KeyCode equals
    • explorer

      public static final KeyCode explorer
    • f

      public static final KeyCode f
    • focus

      public static final KeyCode focus
    • g

      public static final KeyCode g
    • backtick

      public static final KeyCode backtick
    • h

      public static final KeyCode h
    • headsetHook

      public static final KeyCode headsetHook
    • home

      public static final KeyCode home
    • i

      public static final KeyCode i
    • j

      public static final KeyCode j
    • k

      public static final KeyCode k
    • l

      public static final KeyCode l
    • leftBracket

      public static final KeyCode leftBracket
    • m

      public static final KeyCode m
    • mediaFastForward

      public static final KeyCode mediaFastForward
    • mediaNext

      public static final KeyCode mediaNext
    • mediaPlayPause

      public static final KeyCode mediaPlayPause
    • mediaPrevious

      public static final KeyCode mediaPrevious
    • mediaRewind

      public static final KeyCode mediaRewind
    • mediaStop

      public static final KeyCode mediaStop
    • minus

      public static final KeyCode minus
    • mute

      public static final KeyCode mute
    • n

      public static final KeyCode n
    • notification

      public static final KeyCode notification
    • num

      public static final KeyCode num
    • o

      public static final KeyCode o
    • p

      public static final KeyCode p
    • period

      public static final KeyCode period
    • plus

      public static final KeyCode plus
    • pound

      public static final KeyCode pound
    • power

      public static final KeyCode power
    • q

      public static final KeyCode q
    • r

      public static final KeyCode r
    • rightBracket

      public static final KeyCode rightBracket
    • s

      public static final KeyCode s
    • semicolon

      public static final KeyCode semicolon
    • shiftLeft

      public static final KeyCode shiftLeft
    • shiftRight

      public static final KeyCode shiftRight
    • slash

      public static final KeyCode slash
    • softLeft

      public static final KeyCode softLeft
    • softRight

      public static final KeyCode softRight
    • space

      public static final KeyCode space
    • star

      public static final KeyCode star
    • sym

      public static final KeyCode sym
    • t

      public static final KeyCode t
    • tab

      public static final KeyCode tab
    • u

      public static final KeyCode u
    • unknown

      public static final KeyCode unknown
    • v

      public static final KeyCode v
    • volumeDown

      public static final KeyCode volumeDown
    • volumeUp

      public static final KeyCode volumeUp
    • w

      public static final KeyCode w
    • x

      public static final KeyCode x
    • y

      public static final KeyCode y
    • z

      public static final KeyCode z
    • metaAltLeftOn

      public static final KeyCode metaAltLeftOn
    • metaAltOn

      public static final KeyCode metaAltOn
    • metaAltRightOn

      public static final KeyCode metaAltRightOn
    • metaShiftLeftOn

      public static final KeyCode metaShiftLeftOn
    • metaShiftOn

      public static final KeyCode metaShiftOn
    • metaShiftRightOn

      public static final KeyCode metaShiftRightOn
    • metaSymOn

      public static final KeyCode metaSymOn
    • controlLeft

      public static final KeyCode controlLeft
    • controlRight

      public static final KeyCode controlRight
    • escape

      public static final KeyCode escape
    • end

      public static final KeyCode end
    • insert

      public static final KeyCode insert
    • pageUp

      public static final KeyCode pageUp
    • pageDown

      public static final KeyCode pageDown
    • pictSymbols

      public static final KeyCode pictSymbols
    • switchCharset

      public static final KeyCode switchCharset
    • buttonCircle

      public static final KeyCode buttonCircle
    • buttonA

      public static final KeyCode buttonA
    • buttonB

      public static final KeyCode buttonB
    • buttonC

      public static final KeyCode buttonC
    • buttonX

      public static final KeyCode buttonX
    • buttonY

      public static final KeyCode buttonY
    • buttonZ

      public static final KeyCode buttonZ
    • buttonL1

      public static final KeyCode buttonL1
    • buttonR1

      public static final KeyCode buttonR1
    • buttonL2

      public static final KeyCode buttonL2
    • buttonR2

      public static final KeyCode buttonR2
    • buttonThumbL

      public static final KeyCode buttonThumbL
    • buttonThumbR

      public static final KeyCode buttonThumbR
    • buttonStart

      public static final KeyCode buttonStart
    • buttonSelect

      public static final KeyCode buttonSelect
    • buttonMode

      public static final KeyCode buttonMode
    • numpad0

      public static final KeyCode numpad0
    • numpad1

      public static final KeyCode numpad1
    • numpad2

      public static final KeyCode numpad2
    • numpad3

      public static final KeyCode numpad3
    • numpad4

      public static final KeyCode numpad4
    • numpad5

      public static final KeyCode numpad5
    • numpad6

      public static final KeyCode numpad6
    • numpad7

      public static final KeyCode numpad7
    • numpad8

      public static final KeyCode numpad8
    • numpad9

      public static final KeyCode numpad9
    • colon

      public static final KeyCode colon
    • f1

      public static final KeyCode f1
    • f2

      public static final KeyCode f2
    • f3

      public static final KeyCode f3
    • f4

      public static final KeyCode f4
    • f5

      public static final KeyCode f5
    • f6

      public static final KeyCode f6
    • f7

      public static final KeyCode f7
    • f8

      public static final KeyCode f8
    • f9

      public static final KeyCode f9
    • f10

      public static final KeyCode f10
    • f11

      public static final KeyCode f11
    • f12

      public static final KeyCode f12
    • unset

      public static final KeyCode unset
    • application

      public static final KeyCode application
    • asterisk

      public static final KeyCode asterisk
    • capsLock

      public static final KeyCode capsLock
    • pause

      public static final KeyCode pause
    • printScreen

      public static final KeyCode printScreen
    • scrollLock

      public static final KeyCode scrollLock
  • Field Details

    • all

      public static final KeyCode[] all
    • numbers

      public static final KeyCode[] numbers
    • type

      public final KeyCode.KeyType type
    • value

      public final String value
    • axis

      public final boolean axis
  • Method Details

    • values

      public static KeyCode[] 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

      public static KeyCode valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • byOrdinal

      public static KeyCode byOrdinal(int id)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<KeyCode>