|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
One player JVS switch bank. More...
#include <mie.h>
Data Fields | ||
| union { | ||
| uint16_t raw | ||
| Raw 16-bit JVS switch word. More... | ||
| struct { | ||
| uint16_t sw9: 1 | ||
| Push switch 3 value. More... | ||
| uint16_t sw10: 1 | ||
| Push switch 4 value. More... | ||
| uint16_t sw11: 1 | ||
| Push switch 5 value. More... | ||
| uint16_t sw12: 1 | ||
| Push switch 6 value. More... | ||
| uint16_t sw13: 1 | ||
| Push switch 7 value. More... | ||
| uint16_t sw14: 1 | ||
| Push switch 8 value. More... | ||
| uint16_t sw15: 1 | ||
| Push switch 9 value. More... | ||
| uint16_t sw16: 1 | ||
| Push switch 10 value. More... | ||
| uint16_t sw1: 1 | ||
| Push switch 2 value. More... | ||
| uint16_t sw2: 1 | ||
| Push switch 1 value. More... | ||
| uint16_t right: 1 | ||
| Right switch (JVS SW3). More... | ||
| uint16_t left: 1 | ||
| Left switch (JVS SW4). More... | ||
| uint16_t down: 1 | ||
| Down switch (JVS SW5). More... | ||
| uint16_t up: 1 | ||
| Up switch (JVS SW6). More... | ||
| uint16_t service: 1 | ||
| Service switch (JVS SW7). More... | ||
| uint16_t start: 1 | ||
| Start switch (JVS SW8). More... | ||
| } | ||
| }; | ||
One player JVS switch bank.
A 1 bit indicates that the corresponding switch is active. See Input Masks for the usual arcade assignment of each switch.
| union { ... } mie_jvs_player_sw_t |
| uint16_t mie_jvs_player_sw_t::down |
Down switch (JVS SW5).
| uint16_t mie_jvs_player_sw_t::left |
Left switch (JVS SW4).
| uint16_t mie_jvs_player_sw_t::raw |
Raw 16-bit JVS switch word.
Referenced by ui_build().
| uint16_t mie_jvs_player_sw_t::right |
Right switch (JVS SW3).
| uint16_t mie_jvs_player_sw_t::service |
Service switch (JVS SW7).
| uint16_t mie_jvs_player_sw_t::start |
Start switch (JVS SW8).
| uint16_t mie_jvs_player_sw_t::sw1 |
Push switch 2 value.
| uint16_t mie_jvs_player_sw_t::sw10 |
Push switch 4 value.
| uint16_t mie_jvs_player_sw_t::sw11 |
Push switch 5 value.
| uint16_t mie_jvs_player_sw_t::sw12 |
Push switch 6 value.
| uint16_t mie_jvs_player_sw_t::sw13 |
Push switch 7 value.
| uint16_t mie_jvs_player_sw_t::sw14 |
Push switch 8 value.
| uint16_t mie_jvs_player_sw_t::sw15 |
Push switch 9 value.
| uint16_t mie_jvs_player_sw_t::sw16 |
Push switch 10 value.
| uint16_t mie_jvs_player_sw_t::sw2 |
Push switch 1 value.
| uint16_t mie_jvs_player_sw_t::sw9 |
Push switch 3 value.
| uint16_t mie_jvs_player_sw_t::up |
Up switch (JVS SW6).