Changeset 1285
- Timestamp:
- May 15, 2008, 3:06:52 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/merge/src/core/InputManager.cc
r1273 r1285 818 818 bool InputManager::addKeyHandler(KeyHandler* handler, const std::string& name) 819 819 { 820 if (!handler) 821 return false; 820 822 if (_getSingleton().keyHandlers_.find(name) == _getSingleton().keyHandlers_.end()) 821 823 { … … 944 946 bool InputManager::addMouseHandler(MouseHandler* handler, const std::string& name) 945 947 { 948 if (!handler) 949 return false; 946 950 if (_getSingleton().mouseHandlers_.find(name) == _getSingleton().mouseHandlers_.end()) 947 951 { … … 1071 1075 bool InputManager::addJoyStickHandler(JoyStickHandler* handler, const std::string& name) 1072 1076 { 1077 if (!handler) 1078 return false; 1073 1079 if (_getSingleton().joyStickHandlers_.find(name) == _getSingleton().joyStickHandlers_.end()) 1074 1080 {
Note: See TracChangeset
for help on using the changeset viewer.