ParsecMessage

Generic input message that can represent any message type.

Passed to ParsecClientSendMessage or returned by ParsecHostPollInput while in HOST_GAME. The application can switch on the type member to see which Message struct should be evaluated. The Message structs are unioned.

Fields

TypeNameDescription
ParsecMessageTypetypeInput message type.
ParsecKeyboardMessagekeyboardKeyboard message.
ParsecMouseButtonMessagemouseButtonMouse button message.
ParsecMouseWheelMessagemouseWheelMouse wheel message.
ParsecMouseMotionMessagemouseMotionMouse motion message.
ParsecGamepadButtonMessagegamepadButtonGamepad button message.
ParsecGamepadAxisMessagegamepadAxisGamepad axis message.
ParsecGamepadUnplugMessagegamepadUnplugGamepad unplug message.