view multi_game.h @ 1608:419a0a133b5c

Allow a gamepad mapping to apply to all controllers, controllers of a particular type (i.e.e 6-button PS4 controllers) or specific controllers (based on SDL2 GUID) in addition to the controller in a certain slot
author Michael Pavone <pavone@retrodev.com>
date Fri, 03 Aug 2018 19:32:21 -0700
parents 14a2834d010c
children
line wrap: on
line source

#ifndef MULTI_GAME_H_
#define MULTI_GAME_H_
#include "serialize.h"

void *write_multi_game_b(uint32_t address, void *context, uint8_t value);
void *write_multi_game_w(uint32_t address, void *context, uint16_t value);
void multi_game_serialize(genesis_context *gen, serialize_buffer *buf);
void multi_game_deserialize(deserialize_buffer *buf, genesis_context *gen);
#endif //MULTI_GAME_H_