|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Decoded JVS input state. More...
#include <mie.h>
Data Fields | ||
| mie_jvs_system_t | system | |
| JVS SWINP system switch byte. | ||
| mie_jvs_panel_t | panel | |
| Cabinet panel switches. | ||
| mie_jvs_player_sw_t | p1 | |
| Player 1 switch bank. | ||
| mie_jvs_player_sw_t | p2 | |
| Player 2 switch bank. | ||
| union { | ||
| uint16_t analog [MIE_JVS_ANALOG_CHANNELS] | ||
| Raw analog channel values. More... | ||
| struct { | ||
| uint16_t wheel | ||
| Steering wheel analog channel. More... | ||
| uint16_t accel | ||
| Accelerator pedal analog channel. More... | ||
| uint16_t brake | ||
| Brake pedal analog channel. More... | ||
| uint16_t ch3 | ||
| Analog channel 3. More... | ||
| uint16_t ch4 | ||
| Analog channel 4. More... | ||
| uint16_t ch5 | ||
| Analog channel 5. More... | ||
| uint16_t ch6 | ||
| Analog channel 6. More... | ||
| uint16_t ch7 | ||
| Analog channel 7. More... | ||
| } | ||
| }; | ||
| mie_jvs_coin_slot_t | coin [MIE_JVS_COIN_SLOTS] | |
| Coin slot meters. | ||
| uint8_t | coin_pulse | |
| One-shot insert flags (bit N = slot N). | ||
| uint8_t | coin_fault | |
| Fault flags (bit N = slot N, raw & BUSY). | ||
Decoded JVS input state.
Full native JVS input snapshot for two players, the cabinet panel, analog channels, and coin slots. Analog channel names follow the default racing layout; use the analog array for generic access.
| union { ... } mie_jvs_inputs_t |
| uint16_t mie_jvs_inputs_t::accel |
Accelerator pedal analog channel.
Referenced by ui_build().
| uint16_t mie_jvs_inputs_t::analog[MIE_JVS_ANALOG_CHANNELS] |
Raw analog channel values.
| uint16_t mie_jvs_inputs_t::brake |
Brake pedal analog channel.
Referenced by ui_build().
| uint16_t mie_jvs_inputs_t::ch3 |
Analog channel 3.
| uint16_t mie_jvs_inputs_t::ch4 |
Analog channel 4.
| uint16_t mie_jvs_inputs_t::ch5 |
Analog channel 5.
| uint16_t mie_jvs_inputs_t::ch6 |
Analog channel 6.
| uint16_t mie_jvs_inputs_t::ch7 |
Analog channel 7.
| mie_jvs_coin_slot_t mie_jvs_inputs_t::coin[MIE_JVS_COIN_SLOTS] |
Coin slot meters.
Referenced by ui_build().
| uint8_t mie_jvs_inputs_t::coin_fault |
Fault flags (bit N = slot N, raw & BUSY).
| uint8_t mie_jvs_inputs_t::coin_pulse |
One-shot insert flags (bit N = slot N).
| mie_jvs_player_sw_t mie_jvs_inputs_t::p1 |
Player 1 switch bank.
Referenced by ui_build().
| mie_jvs_player_sw_t mie_jvs_inputs_t::p2 |
Player 2 switch bank.
Referenced by ui_build().
| mie_jvs_panel_t mie_jvs_inputs_t::panel |
Cabinet panel switches.
Referenced by ui_build().
| mie_jvs_system_t mie_jvs_inputs_t::system |
JVS SWINP system switch byte.
Referenced by ui_build().
| uint16_t mie_jvs_inputs_t::wheel |
Steering wheel analog channel.
Referenced by ui_build().