📚
Library of Isaac
  • Library of Isaac
  • Get Started
  • F.A.Q.
  • Custom Enums
    • AmbushType
    • AngelVariant
    • BabyLongLegsVariant
    • BabyVariant
    • BeastVariant
    • BegottenVariant
    • BigBonyVariant
    • BigHornVariant
    • BloodClotSubType
    • BloodExplosionSubType
    • BloodPuppyVariant
    • BlueFlySubType
    • BoilVariant
    • BonyVariant
    • BoomFlyVariant
    • BossID
    • CallbackOptionalArgType
    • CallbackReturnMode
    • CanaryVariant
    • Charger2Variant
    • ChargerSubType
    • ChargerVariant
    • ChimeraVariant
    • ChubVariant
    • ClottyVariant
    • ClutchVariant
    • ConjoinedFattyVariant
    • ConstantStoneShooterSubType
    • ConstantStoneShooterVariant
    • ConversionHeartSubType
    • CopyableIsaacAPIClassType
    • CrawlSpaceVariant
    • CrazyLongLegsVariant
    • CultistVariant
    • CustomCallback
    • CustomReviveType
    • DaddyLongLegsVariant
    • DannyVariant
    • DarkEsauVariant
    • DeathsHeadVariant
    • DeathVariant
    • DebugMode
    • DiceFloorSubType
    • Dimension
    • DingleVariant
    • DipFamiliarSubType
    • DipVariant
    • DogmaVariant
    • DopleVariant
    • DukeVariant
    • DumpVariant
    • EnvyVariant
    • EvisVariant
    • ExorcistVariant
    • EyeVariant
    • FacelessVariant
    • FallenVariant
    • FattyVariant
    • FireplaceVariant
    • FistulaVariant
    • FlyBombVariant
    • Gaper2Variant
    • GaperVariant
    • GeminiVariant
    • GenericPropVariant
    • GibSubType
    • GlobinVariant
    • GluttonyVariant
    • GoatVariant
    • GreedVariant
    • GridEntityXMLType
    • GrimaceVariant
    • GrubVariant
    • GurgleVariant
    • GurglingVariant
    • GusherVariant
    • GutsVariant
    • GuttedFattyVariant
    • GyroVariant
    • HauntVariant
    • HealthType
    • HeartVariant
    • HeavenLightDoorSubType
    • HiveVariant
    • HomunculusVariant
    • HopperVariant
    • HostVariant
    • InventoryType
    • IsaacVariant
    • ItemConfigTag
    • KnifeVariant
    • KnightVariant
    • LambVariant
    • LarryJrVariant
    • LeaperVariant
    • LeechVariant
    • LeperVariant
    • LittleHornVariant
    • LockState
    • LokiVariant
    • LustVariant
    • MamaGurdyVariant
    • MaskVariant
    • MawVariant
    • MegaSatanVariant
    • MembrainVariant
    • MoleVariant
    • MomsHeartVariant
    • MomVariant
    • Monstro2Variant
    • MotherSubType
    • MotherVariant
    • MoveableTNTVariant
    • MrMawVariant
    • MrMineVariant
    • MulliganVariant
    • NeedleVariant
    • NerveEndingVariant
    • ParaBiteVariant
    • PeeperFattyVariant
    • PeepVariant
    • PickupNullSubType
    • PillEffectType
    • PinVariant
    • PitfallVariant
    • PitState
    • PitVariant
    • PokyVariant
    • PoltyVariant
    • PolycephalusVariant
    • PoofSubType
    • PoopEntityVariant
    • PoopGridEntityVariant
    • PoopState
    • PooterVariant
    • PortalVariant
    • PressurePlateVariant
    • PreyVariant
    • PrideVariant
    • ProjectilesMode
    • PurgatorySubType
    • RageCreepVariant
    • RaglichVariant
    • RaglingVariant
    • RagManVariant
    • RagMegaVariant
    • RevenantVariant
    • RockSpiderVariant
    • RockState
    • RockVariant
    • RotgutVariant
    • RoundWormVariant
    • SatanVariant
    • ScourgeVariant
    • SerializationBrand
    • SerializationType
    • ShockwaveSoundMode
    • ShopKeeperVariant
    • SingeVariant
    • SirenVariant
    • SkinnyVariant
    • SlothVariant
    • SlotVariant
    • SpiderWebState
    • SpittyVariant
    • SquirtVariant
    • StageID
    • StatueVariant
    • StoneyVariant
    • SubHorfVariant
    • SuckerVariant
    • SwingerVariant
    • TallLadderSubType
    • TNTState
    • TrapdoorVariant
    • TumorVariant
    • UltraCoinVariant
    • UltraGreedVariant
    • VariablePersistenceMode
    • VisageVariant
    • VisFattyVariant
    • VisVariant
    • WalkingBoilVariant
    • WallCreepVariant
    • WarVariant
    • WhipperVariant
    • WidowVariant
    • WrathVariant
  • CustomCallback
  • Modules
    • Ambush
    • Benchmark
    • BitSet128
    • Bombs
    • Bosses
    • Charge
    • Collectibles
    • Color
    • CustomItemPools
    • Debug
    • Dimensions
    • Direction
    • Doors
    • Effects
    • Entities
    • EntitySpecific
    • Familiars
    • GridEntities
    • GridIndexes
    • GridSpecific
    • Input
    • IsaacAPIClass
    • ItemPool
    • JSON
    • Log
    • Pause
    • Pickups
    • PickupSpecific
    • Pills
    • Players
    • Random
    • RNG
    • Rooms
    • RoomSpecific
    • Run
    • SaveManager
    • Serialize
    • ShockWaves
    • Sprites
    • Stage
    • Trinkets
    • UI
    • Utils
      • DeepCopy
      • Easings
      • Flags
      • Functions
      • Math
      • String
      • Tables
    • Vector
Powered by GitBook
On this page
  • Overview
  • Functions
  • GetMoveActions()
  • GetPressedModifier()
  • GetShootActions()
  • IsActionPressedOnAnyInput()
  • IsActionTriggeredOnAnyInput()
  • IsKeyboardPressed()
  • IsMoveAction()
  • IsMoveActionPressedOnAnyInput()
  • IsMoveActionTriggeredOnAnyInput()
  • IsShootAction()
  • IsShootActionPressedOnAnyInput()
  • IsShootActionTriggeredOnAnyInput()
  • KeyboardToString()
  1. Modules

Input

PreviousGridSpecificNextIsaacAPIClass

Last updated 2 years ago

Overview

Return Value
Function

boolean

boolean

boolean

boolean

boolean

boolean

boolean

boolean

boolean

string

Functions

GetMoveActions()

[] GetMoveActions()

Helper function to get all the values of the ButtonAction enum that correspond to movement.

GetPressedModifier()

Helper function to get the modifier key that is being pressed in the keyboard A modifier key is defined as shift, control, alt, or Windows.

GetShootActions()

Helper function to get all the values of the ButtonAction enum that correspond to shooting.

IsActionPressedOnAnyInput()

Helper function to check if a given Button Action is being pressed in any controller.

IsActionTriggeredOnAnyInput()

Helper function to check if a given Button Action is being triggered in any controller.

IsKeyboardPressed()

Helper function to see if any of the given keys are being pressed in the keyboard.

IsMoveAction()

Helper function to check if a given Button Action corresponds to movement.

IsMoveActionPressedOnAnyInput()

boolean IsMoveActionPressedOnAnyInput()

Helper function to check if a move action is being pressed in any controller.

IsMoveActionTriggeredOnAnyInput()

boolean IsMoveActionTriggeredOnAnyInput()

Helper function to check if a move action is being triggered in any controller.

IsShootAction()

Helper function to check if a given Button Action corresponds to shooting.

IsShootActionPressedOnAnyInput()

boolean IsShootActionPressedOnAnyInput()

Helper function to check if a shoot action is being pressed in any controller.

IsShootActionTriggeredOnAnyInput()

boolean IsShootActionTriggeredOnAnyInput()

Helper function to check if a shoot action is being triggered in any controller.

KeyboardToString()

Helper function to get the string that would be typed if someone pressed the corresponding key.

[]

()

?

()

[]

()

( action)

( action)

( ...)

( buttonAction)

()

()

( buttonAction)

()

()

( key, boolean shiftPressed)

? GetPressedModifier()

[] GetShootActions()

boolean IsActionPressedOnAnyInput( action)

boolean IsActionTriggeredOnAnyInput( action)

boolean IsKeyboardPressed( ...)

boolean IsMoveAction( buttonAction)

boolean IsShootAction( buttonAction)

string KeyboardToString( key, boolean shiftPressed)

ButtonAction
Keyboard
ButtonAction
ButtonAction
ButtonAction
Keyboard
ButtonAction
ButtonAction
Keyboard
ButtonAction
Keyboard
ButtonAction
GetMoveActions
GetPressedModifier
GetShootActions
ButtonAction
IsActionPressedOnAnyInput
ButtonAction
IsActionTriggeredOnAnyInput
Keyboard
IsKeyboardPressed
ButtonAction
IsMoveAction
IsMoveActionPressedOnAnyInput
IsMoveActionTriggeredOnAnyInput
ButtonAction
IsShootAction
IsShootActionPressedOnAnyInput
IsShootActionTriggeredOnAnyInput
Keyboard
KeyboardToString