#2544
Anonymous
Inactive

@petrockblog,

I found this section of SNES-Dev…

if (get_rpi_revision()==1)
{
gpads[0].port = 1;
gpads[0].pin_clock = RPI_GPIO_P1_19;
gpads[0].pin_strobe = RPI_GPIO_P1_23;
gpads[0].pin_data = RPI_GPIO_P1_05;
gpads[0].type = GPAD_TYPE_SNES;
gpads[1].port = 1;
gpads[1].pin_clock = RPI_GPIO_P1_19;
gpads[1].pin_strobe = RPI_GPIO_P1_23;
gpads[1].pin_data = RPI_GPIO_P1_07;
gpads[1].type = GPAD_TYPE_SNES;
} else {
gpads[0].port = 1;
gpads[0].pin_clock = RPI_V2_GPIO_P1_19;
gpads[0].pin_strobe = RPI_V2_GPIO_P1_23;
gpads[0].pin_data = RPI_V2_GPIO_P1_05;
gpads[0].type = GPAD_TYPE_SNES;
gpads[1].port = 1;
gpads[1].pin_clock = RPI_V2_GPIO_P1_19;
gpads[1].pin_strobe = RPI_V2_GPIO_P1_23;
gpads[1].pin_data = RPI_V2_GPIO_P1_07;
gpads[1].type = GPAD_TYPE_SNES;
}

Is this the only place that I would need to make changes for clock and latch for player 2? Thanks!