libmame
Public Attributes
LibMame_SharedControlsState Struct Reference

#include <libmame.h>

List of all members.

Public Attributes

int shared_buttons_state
int special_buttons_state
int ui_input_state

Detailed Description

This describes all of the controller values that can be polled by MAME for controls that are shared by all players. Not all values provided in this structure are used for every game.


Member Data Documentation

These are the current states of each shared button input; the flag for an input being set here means that the input is currently triggered, not being set means that the input is currently not triggered. Each is represented as a flag within this value, by the bit numbered (1 << LibMame_SharedButtonType_XXX). These are not duplicated per player but instead have only one set of buttons shared across all players.

These are the current states of each special button input; the flag for an input being set here means that the input is currently triggered, not being set means that the input is currently not triggered. Each is represented as a flag within this value, by the bit numbered (1 << LibMame_SpecialButtonType_XXX). These are not duplicated per player but instead have only one set of buttons shared across all players.

This is the current UI input. libmame allows only one UI input at a time. Its value is one of the LibMame_UiButtonType_XXX values.


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines