Permalink
Browse files

Fix RumbleType & 0.16 Prep

  • Loading branch information...
1 parent be54aaa commit 314bf4c39b6cf2b4042baf7693cf94cf93752266 @FranticRain FranticRain committed Apr 27, 2016
@@ -250,8 +250,7 @@ void Xbox360Peripheral::readSettings(void)
if (value != NULL) deadOffLeft = value->getValue();
value = OSDynamicCast(OSBoolean, dataDictionary->getObject("DeadOffRight"));
if (value != NULL) deadOffRight = value->getValue();
- // number = OSDynamicCast(OSNumber, dataDictionary->getObject("ControllerType")); // No use currently.
- number = OSDynamicCast(OSNumber, dataDictionary->getObject("rumbleType"));
+ number = OSDynamicCast(OSNumber, dataDictionary->getObject("RumbleType"));
if (number != NULL) rumbleType = number->unsigned8BitValue();
number = OSDynamicCast(OSNumber, dataDictionary->getObject("BindingUp"));
if (number != NULL) mapping[0] = number->unsigned32BitValue();
Oops, something went wrong.

0 comments on commit 314bf4c

Please sign in to comment.