KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
mie_jvs_inputs_t Struct Reference

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).
 

Detailed Description

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.

See also
mie_state_t

Field Documentation

◆ [union]

union { ... } mie_jvs_inputs_t

◆ accel

uint16_t mie_jvs_inputs_t::accel

Accelerator pedal analog channel.

Referenced by ui_build().

◆ analog

uint16_t mie_jvs_inputs_t::analog[MIE_JVS_ANALOG_CHANNELS]

Raw analog channel values.

◆ brake

uint16_t mie_jvs_inputs_t::brake

Brake pedal analog channel.

Referenced by ui_build().

◆ ch3

uint16_t mie_jvs_inputs_t::ch3

Analog channel 3.

◆ ch4

uint16_t mie_jvs_inputs_t::ch4

Analog channel 4.

◆ ch5

uint16_t mie_jvs_inputs_t::ch5

Analog channel 5.

◆ ch6

uint16_t mie_jvs_inputs_t::ch6

Analog channel 6.

◆ ch7

uint16_t mie_jvs_inputs_t::ch7

Analog channel 7.

◆ coin

mie_jvs_coin_slot_t mie_jvs_inputs_t::coin[MIE_JVS_COIN_SLOTS]

Coin slot meters.

Referenced by ui_build().

◆ coin_fault

uint8_t mie_jvs_inputs_t::coin_fault

Fault flags (bit N = slot N, raw & BUSY).

◆ coin_pulse

uint8_t mie_jvs_inputs_t::coin_pulse

One-shot insert flags (bit N = slot N).

◆ p1

mie_jvs_player_sw_t mie_jvs_inputs_t::p1

Player 1 switch bank.

Referenced by ui_build().

◆ p2

mie_jvs_player_sw_t mie_jvs_inputs_t::p2

Player 2 switch bank.

Referenced by ui_build().

◆ panel

mie_jvs_panel_t mie_jvs_inputs_t::panel

Cabinet panel switches.

Referenced by ui_build().

◆ system

mie_jvs_system_t mie_jvs_inputs_t::system

JVS SWINP system switch byte.

Referenced by ui_build().

◆ wheel

uint16_t mie_jvs_inputs_t::wheel

Steering wheel analog channel.

Referenced by ui_build().


The documentation for this struct was generated from the following file: