From 988d62c0bb84aeda438a5975de114f0d1109986d Mon Sep 17 00:00:00 2001 From: Mark Cannon Date: Sun, 30 Mar 2008 09:27:33 +0000 Subject: [PATCH] Fixed 'P2 maps to P1' ITGIO bug git-svn-id: https://openitg.svn.sourceforge.net/svnroot/openitg@175 83fadc84-e282-4d84-a09a-c4228d6ae7e5 --- ToDo.txt | 1 - src/InputMapper.cpp | 16 ++++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/ToDo.txt b/ToDo.txt index ae3e72b8..d884f610 100644 --- a/ToDo.txt +++ b/ToDo.txt @@ -1,7 +1,6 @@ /* More-or-less in order of priority. */ /* Bug fixing */ -Make ITGIO map the 2P buttons to player 2 instead of player 1 Make "g_sInputType" and "GetInputType()" work properly /* Minor feature additions */ diff --git a/src/InputMapper.cpp b/src/InputMapper.cpp index a4495c7e..8833dbb3 100755 --- a/src/InputMapper.cpp +++ b/src/InputMapper.cpp @@ -84,14 +84,14 @@ const AutoJoyMapping g_AutoJoyMappings[] = { 0, IO_P1_MENU_RIGHT, DANCE_BUTTON_MENURIGHT, false }, /* Player 2 */ - { 1, IO_P2_LEFT, DANCE_BUTTON_LEFT, false }, - { 1, IO_P2_RIGHT, DANCE_BUTTON_RIGHT, false }, - { 1, IO_P2_UP, DANCE_BUTTON_UP, false }, - { 1, IO_P2_DOWN, DANCE_BUTTON_DOWN, false }, - { 1, IO_P2_SELECT, DANCE_BUTTON_SELECT, false }, - { 1, IO_P2_START, DANCE_BUTTON_START, false }, - { 1, IO_P2_MENU_LEFT, DANCE_BUTTON_MENULEFT, false }, - { 1, IO_P2_MENU_RIGHT, DANCE_BUTTON_MENURIGHT, false }, + { 1, IO_P2_LEFT, DANCE_BUTTON_LEFT, true }, + { 1, IO_P2_RIGHT, DANCE_BUTTON_RIGHT, true }, + { 1, IO_P2_UP, DANCE_BUTTON_UP, true }, + { 1, IO_P2_DOWN, DANCE_BUTTON_DOWN, true }, + { 1, IO_P2_SELECT, DANCE_BUTTON_SELECT, true }, + { 1, IO_P2_START, DANCE_BUTTON_START, true }, + { 1, IO_P2_MENU_LEFT, DANCE_BUTTON_MENULEFT, true }, + { 1, IO_P2_MENU_RIGHT, DANCE_BUTTON_MENURIGHT, true }, /* Other controls */ -- 2.11.0