InputSet
Package: Libraries.Game · Inherits from: Libraries.Language.Object
Variables
integer CONTROLinteger TOUCH_INPUTinteger TOUCH_MOVEMENT_INPUTinteger 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_INPUTinteger GESTURE_INPUTinteger DROP_ITEM_INPUTinteger TEXT_INPUTinteger ALTinteger MOUSE_INPUTinteger DRAG_ITEM_INPUTinteger MOUSE_WHEEL_INPUTinteger CONTINUEinteger BEGINinteger FINISHinteger SHIFTinteger FINISH_UNCAUGHTinteger 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
modifierinteger
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
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
HasModifier(integer modifier)
Parameters
modifierinteger
Returns
boolean
RemoveModifier(integer modifier)
Parameters
modifierinteger
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
valueinteger
SetDragItemInput()
SetDropItemInput()
SetEventCount(integer count)
Parameters
countinteger
SetGestureInput(integer gestureType)
Parameters
gestureTypeinteger
SetInputTrigger(integer type)
Parameters
typeinteger
SetInputType(integer type)
Parameters
typeinteger
SetInputValue(integer value)
Parameters
valueinteger
SetKeyboardInput(integer key)
Parameters
keyinteger
SetMouseInput(integer mouseButton)
Parameters
mouseButtoninteger
SetMouseMovementInput(integer mouseButton)
Parameters
mouseButtoninteger
ToText()
Returns
text