InputSet

Package: Libraries.Game · Inherits from: Libraries.Language.Object

Variables

  • integer CONTROL
  • integer TOUCH_INPUT
  • integer TOUCH_MOVEMENT_INPUT
  • integer KEYBOARD_INPUT: KEYBOARD_INPUT: BEGIN: When the key is first pressed down. CONTINUE: Each frame that the key is held down. FINISH: When the key is released. FINISH_UNCAUGHT: When the key is released, if it wasn't used as part of a keypress combination. MOUSE_INPUT: BEGIN: When the mouse button is first clicked. CONTINUE: Each frame that the button is held down. FINISH: When the button is released. FINISH_UNCAUGHT: N/A MOUSE_WHEEL_INPUT: BEGIN: When the mouse wheel moves. (Wheel movement is non-continuous - each movement is registered, but there's typically no "smooth transition" as in begin/finish) CONTINUE: N/A FINISH: N/A FINISH_UNCAUGHT: N/A MOUSE_MOVEMENT_INPUT: BEGIN: When the mouse first moves onto an Item. CONTINUE: Each mouse movement, whether on the same Item or not. FINISH: When the mouse moves off of an Item. FINISH_UNCAUGHT: N/A TOUCH_INPUT: BEGIN: When a finger first presses down. CONTINUE: Each frame a finger is touching the screen. FINISH: When the finger is removed from the screen. FINISH_UNCAUGHT: N/A DRAG_INPUT: BEGIN: When the mouse begins to move while holding a button down. CONTINUE: Each frame where the mouse moves while still holding the button. FINISH: When the mouse button is released. DROP_INPUT: BEGIN: When the dragged element first moves over the drop target. CONTINUE: Each frame (including the first frame, after the BEGIN triggers) the dragged element moves over the target. FINISH: When the dragged element is dropped onto the target. FINISH_UNCAUGHT: When the dragged element is moved off of the target without dropping it.
  • integer MOUSE_MOVEMENT_INPUT
  • integer GESTURE_INPUT
  • integer DROP_ITEM_INPUT
  • integer TEXT_INPUT
  • integer ALT
  • integer MOUSE_INPUT
  • integer DRAG_ITEM_INPUT
  • integer MOUSE_WHEEL_INPUT
  • integer CONTINUE
  • integer BEGIN
  • integer FINISH
  • integer SHIFT
  • integer FINISH_UNCAUGHT
  • integer META: KEYBOARD_INPUT: BEGIN: When the key is first pressed down. CONTINUE: Each frame that the key is held down. FINISH: When the key is released. FINISH_UNCAUGHT: When the key is released, if it wasn't used as part of a keypress combination. MOUSE_INPUT: BEGIN: When the mouse button is first clicked. CONTINUE: Each frame that the button is held down. FINISH: When the button is released. FINISH_UNCAUGHT: N/A MOUSE_WHEEL_INPUT: BEGIN: When the mouse wheel moves. (Wheel movement is non-continuous - each movement is registered, but there's typically no "smooth transition" as in begin/finish) CONTINUE: N/A FINISH: N/A FINISH_UNCAUGHT: N/A MOUSE_MOVEMENT_INPUT: BEGIN: When the mouse first moves onto an Item. CONTINUE: Each mouse movement, whether on the same Item or not. FINISH: When the mouse moves off of an Item. FINISH_UNCAUGHT: N/A TOUCH_INPUT: BEGIN: When a finger first presses down. CONTINUE: Each frame a finger is touching the screen. FINISH: When the finger is removed from the screen. FINISH_UNCAUGHT: N/A DRAG_INPUT: BEGIN: When the mouse begins to move while holding a button down. CONTINUE: Each frame where the mouse moves while still holding the button. FINISH: When the mouse button is released. DROP_INPUT: BEGIN: When the dragged element first moves over the drop target. CONTINUE: Each frame (including the first frame, after the BEGIN triggers) the dragged element moves over the target. FINISH: When the dragged element is dropped onto the target. FINISH_UNCAUGHT: When the dragged element is moved off of the target without dropping it.

Actions

AddModifier(integer modifier)

Parameters

  • modifier integer

Copy()

This sets the raw bitmask. It intentionally has a nasty technical to warn the user that this action should not be used unless you really, really, know what you are doing.

Returns

Libraries.Game.InputSet

Empty()

EmptyModifiers()

Equals(Libraries.Game.InputSet set)

Parameters

Returns

boolean

Equals(Libraries.Language.Object o)

Parameters

Returns

boolean

GetDisplayName()

Returns

text

GetHashCode()

Returns

integer

GetInputTrigger()

Returns

integer

GetInputType()

Returns

integer

GetInputValue()

Returns

integer

GetModifiers()

Returns

Libraries.Containers.Array<integer>

HasModifier(integer modifier)

Parameters

  • modifier integer

Returns

boolean

RemoveModifier(integer modifier)

Parameters

  • modifier integer

Set(Libraries.Game.InputSet set)

Parameters

SetBitMask(integer value)

This sets the raw bitmask. It intentionally has a nasty technical to warn the user that this action should not be used unless you really, really, know what you are doing.

Parameters

  • value integer

SetDragItemInput()

SetDropItemInput()

SetEventCount(integer count)

Parameters

  • count integer

SetGestureInput(integer gestureType)

Parameters

  • gestureType integer

SetInputTrigger(integer type)

Parameters

  • type integer

SetInputType(integer type)

Parameters

  • type integer

SetInputValue(integer value)

Parameters

  • value integer

SetKeyboardInput(integer key)

Parameters

  • key integer

SetMouseInput(integer mouseButton)

Parameters

  • mouseButton integer

SetMouseMovementInput(integer mouseButton)

Parameters

  • mouseButton integer

ToText()

Returns

text

Inherited Actions

1 action from Libraries.Language.Object