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.


ParsecMessageTypetypeInput message type.
ParsecKeyboardMessagekeyboardKeyboard message.
ParsecMouseButtonMessagemouseButtonMouse button message.
ParsecMouseWheelMessagemouseWheelMouse wheel message.
ParsecMouseMotionMessagemouseMotionMouse motion message.
ParsecGamepadButtonMessagegamepadButtonGamepad button message.
ParsecGamepadAxisMessagegamepadAxisGamepad axis message.
ParsecGamepadUnplugMessagegamepadUnplugGamepad unplug message.
ParsecGamepadStateMessagegamepadStateGamepad state message.
Parsec SDK on GitHubDiscuss on Discord

You are prepared.

Create an account now for free.

Sign Up
Parsec© 2020
Made with ❤️ in NYC