@substring
That´s what I ended up doing, after a lot of trying I successfully got what I wanted by editing gamecon_gpio_rpi.c and rebuilding the driver.
So now I have 4 gamecon gpio controllers, POWER, RESET and LED!
- PIN01 | 5V
- PIN06 | GROUND
- PIN19 | CLOCK
- PIN23 | LATCH
- PIN07 | DATA3 (NES1)
- PIN26 | DATA4 (NES2)
- PIN29 | DATA5 (SNES1)
- PIN31 | DATA6 (SNES2)
The code replace in gamecon_gpio_rpi.c:
/* GPIO pins 0, 1, 4, 7, 29, 31 */
static const int gc_status_bit[] = { 0x01, 0x02, 0x10, 0x80, 0x20, 0x40 };
static const int gc_gpio_ids[] = { 0, 1, 4, 7, 29, 31 };