Changeset 1213 for code/branches/input/src/core/InputManager.cc
- Timestamp:
- May 1, 2008, 8:33:53 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/input/src/core/InputManager.cc
r1204 r1213 822 822 { 823 823 if ((*it) == (*mapIt).second) 824 { 825 _getSingleton().stateRequest_ = IS_CUSTOM; 824 826 return true; 827 } 825 828 } 826 829 _getSingleton().activeKeyHandlers_.push_back((*mapIt).second); 830 _getSingleton().stateRequest_ = IS_CUSTOM; 827 831 return true; 828 832 } … … 846 850 { 847 851 _getSingleton().activeKeyHandlers_.erase(it); 852 _getSingleton().stateRequest_ = IS_CUSTOM; 848 853 return true; 849 854 } 850 855 } 856 _getSingleton().stateRequest_ = IS_CUSTOM; 851 857 return true; 852 858 } … … 942 948 { 943 949 if ((*it) == (*mapIt).second) 950 { 951 _getSingleton().stateRequest_ = IS_CUSTOM; 944 952 return true; 953 } 945 954 } 946 955 _getSingleton().activeMouseHandlers_.push_back((*mapIt).second); 956 _getSingleton().stateRequest_ = IS_CUSTOM; 947 957 return true; 948 958 } … … 966 976 { 967 977 _getSingleton().activeMouseHandlers_.erase(it); 978 _getSingleton().stateRequest_ = IS_CUSTOM; 968 979 return true; 969 980 } 970 981 } 982 _getSingleton().stateRequest_ = IS_CUSTOM; 971 983 return true; 972 984 } … … 1071 1083 { 1072 1084 if ((*it) == (*handlerIt).second) 1085 { 1086 _getSingleton().stateRequest_ = IS_CUSTOM; 1073 1087 return true; 1088 } 1074 1089 } 1075 1090 _getSingleton().activeJoyStickHandlers_[id].push_back((*handlerIt).second); 1091 _getSingleton().stateRequest_ = IS_CUSTOM; 1076 1092 return true; 1077 1093 } … … 1101 1117 { 1102 1118 _getSingleton().activeJoyStickHandlers_[id].erase(it); 1119 _getSingleton().stateRequest_ = IS_CUSTOM; 1103 1120 return true; 1104 1121 } 1105 1122 } 1123 _getSingleton().stateRequest_ = IS_CUSTOM; 1106 1124 return true; 1107 1125 }
Note: See TracChangeset
for help on using the changeset viewer.