Key

public enum Key(source)

A constant of this enumeration represents a key registered by the InputHandler.

Entries

Link copied to clipboard

The Key representing the A key.

Link copied to clipboard

The Key representing the B key.

Link copied to clipboard

The Key representing the C key.

Link copied to clipboard

The Key representing the D key.

Link copied to clipboard

The Key representing the E key.

Link copied to clipboard

The Key representing the F key.

Link copied to clipboard

The Key representing the G key.

Link copied to clipboard

The Key representing the H key.

Link copied to clipboard

The Key representing the I key.

Link copied to clipboard

The Key representing the J key.

Link copied to clipboard

The Key representing the K key.

Link copied to clipboard

The Key representing the L key.

Link copied to clipboard

The Key representing the M key.

Link copied to clipboard

The Key representing the N key.

Link copied to clipboard

The Key representing the O key.

Link copied to clipboard

The Key representing the P key.

Link copied to clipboard

The Key representing the Q key.

Link copied to clipboard

The Key representing the R key.

Link copied to clipboard

The Key representing the S key.

Link copied to clipboard

The Key representing the T key.

Link copied to clipboard

The Key representing the U key.

Link copied to clipboard

The Key representing the V key.

Link copied to clipboard

The Key representing the W key.

Link copied to clipboard

The Key representing the X key.

Link copied to clipboard

The Key representing the Y key.

Link copied to clipboard

The Key representing the Z key.

Link copied to clipboard

The Key representing the SPACE key.

Link copied to clipboard

The Key representing the LEFT key.

Link copied to clipboard

The Key representing the RIGHT key.

Link copied to clipboard

The Key representing the UP key.

Link copied to clipboard

The Key representing the DOWN key.

Properties

Link copied to clipboard
public final int keyCode

Functions

Link copied to clipboard
public int getKeyCode()
Returns the key code as used in KeyEvent.
Link copied to clipboard
public static Key valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<Key> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.