libmame
|
#include <libmame.h>
Public Attributes | |
int | controller_flags |
int | normal_button_flags |
const char * | normal_button_names [LibMame_NormalButtonTypeCount] |
int | mahjong_button_flags |
int | hanafuda_button_flags |
int | gambling_button_flags |
This describes a player's control inputs for a game. This is a set of individual controllers comprising the entire set of control inputs that a player would use to play a game. All players are assumed to use the same type and number of controls during a multiplayer game.
These flags identify which controllers are present, each is indicated in this as (1 << LibMame_ControllerType_XXX).
These flags identify which gambling buttons are present, each is indicated in this as (1 << LibMame_GamblingButtonType_XXX).
These flags identify which hanafuda buttons are present, each is indicated in this as (1 << LibMame_HanafudaButtonType_XXX).
These flags identify which Mahjong buttons are present, each is indicated in this as (1 << LibMame_MahjongButtonType_XXX).
These are all of the general purpose buttons which are present, each is indicated in this as (1 << LibMame_NormalButtonType_XXX).
const char* LibMame_PerPlayerControllers::normal_button_names[LibMame_NormalButtonTypeCount] |
These are the names of the normal buttons, or NULL if the button has no name, one per button type.