Struct
HsInputState
Description [src]
union HsInputState {
HsAtari2600InputState atari_2600;
HsAtari7800InputState atari_7800;
HsAtariLynxInputState atari_lynx;
HsGameBoyInputState game_boy;
HsGameBoyAdvanceInputState game_boy_advance;
HsGameGearInputState game_gear;
HsMasterSystemInputState master_system;
HsMegaDriveInputState mega_drive;
HsNeoGeoPocketInputState neo_geo_pocket;
HsNesInputState nes;
HsNintendo64InputState nintendo_64;
HsNintendoDsInputState nintendo_ds;
HsPcEngineInputState pc_engine;
HsPlayStationInputState psx;
HsSegaSaturnInputState saturn;
HsSg1000InputState sg1000;
HsSuperNesInputState super_nes;
HsVirtualBoyInputState virtual_boy;
HsWonderSwanInputState wonderswan;
}
A union of input states from the different platforms.
Cores should access it from Hs.CoreClass.poll_input, only for their current
platform. *
Note
Add-on platforms do not have their own input state and reuse the one from their base platform.
Structure members
atari_2600:HsAtari2600InputStateInput state for
HS_PLATFORM_ATARI_2600.atari_7800:HsAtari7800InputStateInput state for
HS_PLATFORM_ATARI_7800.atari_lynx:HsAtariLynxInputStateInput state for
HS_PLATFORM_ATARI_LYNX.game_boy:HsGameBoyInputStateInput state for
HS_PLATFORM_GAME_BOY.game_boy_advance:HsGameBoyAdvanceInputStateInput state for
HS_PLATFORM_GAME_BOY_ADVANCE.game_gear:HsGameGearInputStateInput state for
HS_PLATFORM_GAME_GEAR.master_system:HsMasterSystemInputStateInput state for
HS_PLATFORM_MASTER_SYSTEM.mega_drive:HsMegaDriveInputStateInput state for
HS_PLATFORM_MEGA_DRIVE.neo_geo_pocket:HsNeoGeoPocketInputStateInput state for
HS_PLATFORM_NEO_GEO_POCKET.nes:HsNesInputStateInput state for
HS_PLATFORM_NES.nintendo_64:HsNintendo64InputStateInput state for
HS_PLATFORM_NINTENDO_64.nintendo_ds:HsNintendoDsInputStateInput state for
HS_PLATFORM_NINTENDO_DS.pc_engine:HsPcEngineInputStateInput state for
HS_PLATFORM_PC_ENGINE.psx:HsPlayStationInputStateInput state for
HS_PLATFORM_PLAYSTATION.saturn:HsSegaSaturnInputStateInput state for
HS_PLATFORM_SEGA_SATURN.sg1000:HsSg1000InputStateInput state for
HS_PLATFORM_SG1000.super_nes:HsSuperNesInputStateInput state for
HS_PLATFORM_SUPER_NES.virtual_boy:HsVirtualBoyInputStateInput state for
HS_PLATFORM_VIRTUAL_BOY.wonderswan:HsWonderSwanInputStateInput state for
HS_PLATFORM_WONDERSWAN.