Enumeration of all supported keyboard keys.
Remapped Keys
The following keystrokes are automatically re-mapped:
CTRL+H
is mapped to CPKeyboardKey.KEY_BACKSPACE.CTRL+I
is mapped to CPKeyboardKey.KEY_TAB.CTRL+M
is mapped to CPKeyboardKey.KEY_ENTER.
NOTE: CTRL+H
, CTRL+I
and CTRL+M
will not be detected as-is, and you should use their conversions instead. Note that even-though this enumeration provides constants for CTRL+H
, CTRL+I
and CTRL+M
they will never be returned to the scene objects since they would always be automatically remapped. This is the limitation of the ANSI terminals, i.e. CTRL+M
generates the same ANSI code as Enter
key press.
Reserved Keys
There are three reserved key strokes that are used by the game engine itself and therefore NOT available to the game. These keystrokes are intercepted before frame update and not propagated to the scene object context:
CTRL+Q
- toggles in-game FPS overlayCTRL+L
- opens GUI-based loc viewer & debuggerF12
- saves current frame screenshot as REXPaint *.xp image to the current working folder.
Attributes
- See also
-
CPKeyboardEvent.key
- Companion
- object
- Source
- CPKeyboardKey.scala
- Graph
-
- Supertypes
-
trait Enumtrait Productclass HashMap[String, AnyRef]trait Serializabletrait StrictOptimizedMapOps[String, AnyRef, HashMap, HashMap[String, AnyRef]]trait StrictOptimizedIterableOps[(String, AnyRef), Iterable, HashMap[String, AnyRef]]class AbstractMap[String, AnyRef]trait Map[String, AnyRef]trait MapOps[String, AnyRef, HashMap, HashMap[String, AnyRef]]trait Shrinkable[String]trait Builder[(String, AnyRef), HashMap[String, AnyRef]]trait Growable[(String, AnyRef)]trait Clearabletrait Cloneable[HashMap[String, AnyRef]]trait Cloneabletrait Iterable[(String, AnyRef)]class AbstractMap[String, AnyRef]trait Map[String, AnyRef]trait Equalstrait MapFactoryDefaults[String, AnyRef, HashMap, Iterable]trait MapOps[String, AnyRef, HashMap, HashMap[String, AnyRef]]trait PartialFunction[String, AnyRef]trait String => AnyRefclass AbstractIterable[(String, AnyRef)]trait Iterable[(String, AnyRef)]trait IterableFactoryDefaults[(String, AnyRef), Iterable]trait IterableOps[(String, AnyRef), Iterable, HashMap[String, AnyRef]]trait IterableOnceOps[(String, AnyRef), Iterable, HashMap[String, AnyRef]]trait IterableOnce[(String, AnyRef)]class Objecttrait Matchableclass AnyShow all
Members list
Type members
Enum entries
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
'&'
key press.
'@'
key press.
Attributes
- Source
- CPKeyboardKey.scala
'
' key press.
'\\'
key press.
'^'
key press.
':'
key press.
','
key press.
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
'$'
key press.
Attributes
- Source
- CPKeyboardKey.scala
'"'
key press.
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
'='
key press.
Attributes
- Source
- CPKeyboardKey.scala
'!'
key press.
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
'>'
key press.
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
'['
key press.
'{'
key press.
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
'('
key press.
'<'
key press.
'-'
key press.
'*'
key press.
'#'
key press.
'%'
key press.
'.'
key press.
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
'+'
key press.
'?'
key press.
']'
key press.
'}'
key press.
Attributes
- Source
- CPKeyboardKey.scala
')'
key press.
';'
key press.
'/'
key press.
Attributes
- Source
- CPKeyboardKey.scala
''''
key press.
Attributes
- Source
- CPKeyboardKey.scala
'~'
key press.
'_'
key press.
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
Attributes
- Source
- CPKeyboardKey.scala
'|'
key press.