def test_reversed_controller(self): val = libretroControllers.writeIndexes(controllers4reversed) self.assertEquals(libretroSettings.load("input_player1_joypad_index"), "3") self.assertEquals(libretroSettings.load("input_player2_joypad_index"), "2") self.assertEquals(libretroSettings.load("input_player3_joypad_index"), "1") self.assertEquals(libretroSettings.load("input_player4_joypad_index"), "0")
def test_2_last_controllers(self): val = libretroControllers.writeIndexes(controllers2weird) self.assertEquals(libretroSettings.load("input_player2_joypad_index"), "2") self.assertEquals(libretroSettings.load("input_player3_joypad_index"), "3")