3#ifndef _GAMEPAD_CODEC_DATA_TYPE_H_
4#define _GAMEPAD_CODEC_DATA_TYPE_H_
8#include "gamepad_input_tracker.h"
14namespace gamepad::codec {
27#if __cplusplus >= 201703L
28constexpr inline size_t kGamepadInputStatePayloadSize =
sizeof(gamepad::input::State) + 1;
30static constexpr size_t kGamepadInputStatePayloadSize =
sizeof(gamepad::input::State) + 1;
DataType
Data type identifiers for the payload.
@ kGamepadInputState
Gamepad input state (buttons + axes).