Method

HsCorepoll_input

Declaration [src]

void
hs_core_poll_input (
  HsCore* self,
  HsInputState* input_state
)

Description [src]

Reads input from input_state.

Frontend will call this before Hs.CoreClass.run_frame. Cores must read the provided input from input_state here, corresponding to their current platform.

Note

Add-on platforms do not have their own input state and reuse the one from their base platform.

Parameters

input_state

Type: HsInputState

A snapshot of the current input state.

The data is owned by the caller of the method.