Changeset 7516
- Timestamp:
- Oct 9, 2010, 4:12:02 PM (14 years ago)
- Location:
- code/branches/ois_update/src/external/ois
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ois_update/src/external/ois/changes_orxonox.diff
r7506 r7516 10 10 //Ignorable Dll interface warning... 11 11 # if !defined(OIS_MINGW_COMPILER) 12 13 12 14 --- linux/EventHelpers.cpp (revision 5668) 13 15 +++ linux/EventHelpers.cpp (working copy) … … 45 47 #if (defined (_DEBUG) || defined(OIS_WIN32_JOYFF_DEBUG)) 46 48 #include <iostream> 49 50 51 --- mac/MacHIDManager.cpp 52 +++ mac/MacHIDManager.cpp 53 @@ -406,6 +406,7 @@ 54 switch(iType) 55 { 56 case OISJoyStick: 57 + { 58 int totalDevs = totalDevices(iType); 59 int freeDevs = freeDevices(iType); 60 int devID = totalDevs - freeDevs; 61 @@ -413,6 +414,7 @@ 62 obj = new MacJoyStick((*it)->combinedKey, bufferMode, *it, creator, devID); 63 (*it)->inUse = true; 64 return obj; 65 + } 66 case OISTablet: 67 //Create MacTablet 68 break; -
code/branches/ois_update/src/external/ois/mac/MacHIDManager.cpp
r7506 r7516 407 407 { 408 408 case OISJoyStick: 409 { 409 410 int totalDevs = totalDevices(iType); 410 411 int freeDevs = freeDevices(iType); … … 414 415 (*it)->inUse = true; 415 416 return obj; 417 } 416 418 case OISTablet: 417 419 //Create MacTablet
Note: See TracChangeset
for help on using the changeset viewer.