Skip to content

Commit

Permalink
Fix RumbleType & 0.16 Prep
Browse files Browse the repository at this point in the history
  • Loading branch information
Drewbadour committed Apr 27, 2016
1 parent be54aaa commit 314bf4c
Show file tree
Hide file tree
Showing 5 changed files with 91 additions and 50 deletions.
3 changes: 1 addition & 2 deletions 360Controller/_60Controller.cpp
Expand Up @@ -250,8 +250,7 @@ void Xbox360Peripheral::readSettings(void)
if (value != NULL) deadOffLeft = value->getValue(); if (value != NULL) deadOffLeft = value->getValue();
value = OSDynamicCast(OSBoolean, dataDictionary->getObject("DeadOffRight")); value = OSDynamicCast(OSBoolean, dataDictionary->getObject("DeadOffRight"));
if (value != NULL) deadOffRight = value->getValue(); 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(); if (number != NULL) rumbleType = number->unsigned8BitValue();
number = OSDynamicCast(OSNumber, dataDictionary->getObject("BindingUp")); number = OSDynamicCast(OSNumber, dataDictionary->getObject("BindingUp"));
if (number != NULL) mapping[0] = number->unsigned32BitValue(); if (number != NULL) mapping[0] = number->unsigned32BitValue();
Expand Down

0 comments on commit 314bf4c

Please sign in to comment.