Thanks took a bit of investigating
Just to Explain, first I looked at battlezone as an example, but both player one and two joystickcks are part of the same Binary (active low) word AT REST(CENTER) So the three values you would use for the "LH_Joystick_u.png" image has to account for the other joystick position. LH Joystick UP three values would be.
JRD JRU JLD JLU 1 1 1 1 1 1 1 0 =hexidecimal "e" LH Joystick UP 0 1 1 0 =hexidecimal "6" LH Joystick UP, RH Joystick Down 1 0 1 0 =hexidecimal "a" LH_Joystick UP, RH Hoystick UP Don't know if it was this or the crazy 0xc0 value fro button 2?? Hope this helps PORT_START("MONO.IP1") /* J2 10-13,15-18 */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_UP ) PORT_2WAY PORT_PLAYER(1) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_DOWN ) PORT_2WAY PORT_PLAYER(1) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_UP ) PORT_2WAY PORT_PLAYER(1) PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_DOWN ) PORT_2WAY PORT_PLAYER(1) PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1)
|