static int init_joyport_ports(void) { if (joyport_port_register(JOYPORT_3, &userport_joy_control_port_1) < 0) { return -1; } return joyport_port_register(JOYPORT_4, &userport_joy_control_port_2); }
static int init_joyport_ports(void) { if (joyport_port_register(JOYPORT_1, &control_port_1) < 0) { return -1; } return joyport_port_register(JOYPORT_2, &control_port_2); }
static int init_joyport_ports(void) { if (joyport_port_register(JOYPORT_1, &control_port_1) < 0) { return -1; } if (joyport_port_register(JOYPORT_3, &userport_joy_control_port_1) < 0) { return -1; } if (joyport_port_register(JOYPORT_4, &userport_joy_control_port_2) < 0) { return -1; } if (joyport_port_register(JOYPORT_5, &sidcard_port) < 0) { return -1; } return joyport_port_register(JOYPORT_2, &control_port_2); }