Changeset 7677 in orxonox.OLD for trunk/src/lib/event
- Timestamp:
- May 18, 2006, 12:42:31 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/event/key_mapper.cc
r7661 r7677 148 148 while( iniParser->getCurrentName() != "" ) 149 149 { 150 PRINTF(3)("Keys: Parsing %s, %s now.\n", iniParser->getCurrentName() , iniParser->getCurrentValue());150 PRINTF(3)("Keys: Parsing %s, %s now.\n", iniParser->getCurrentName().c_str(), iniParser->getCurrentValue().c_str()); 151 151 // map the name to an sdl index 152 152 index = nameToIndex (iniParser->getCurrentValue()); … … 229 229 { 230 230 *map[i].pValue = index[1]; 231 PRINTF(4)("Mapping %s to '%s' (id %i)\n", name , SDLKToKeyname(index[1]), index[1]);231 PRINTF(4)("Mapping %s to '%s' (id %i)\n", name.c_str(), SDLKToKeyname(index[1]).c_str(), index[1]); 232 232 break; 233 233 } 234 234 else { 235 235 *map[i].pValue = index[1]; 236 PRINTF(4)("Mapping %s to '%s' (id %i)\n", name , SDLBToButtonname(index[1]), index[1]);236 PRINTF(4)("Mapping %s to '%s' (id %i)\n", name.c_str(), SDLBToButtonname(index[1]).c_str(), index[1]); 237 237 break; 238 238 }
Note: See TracChangeset
for help on using the changeset viewer.