);        // If statements are used below for clarity and ease of debugging. Also, it prevents      // need to cast and allows for possible different states later.      //      switch (ButtonId)      {          case HidPortableDeviceButtons_ButtonId_Power:          {              if (ButtonStateDown)              {                  moduleContext->InputReportButtonState.u.Buttons.Power = 0;                  DMF_BRANCHTRACK_MODULE_AT_LEAST(DmfModule, "ButtonStateChange.HidPortableDeviceButtons_ButtonId_Power.Down{Power press}[HidPortableDeviceButtons]", HidPortableDeviceButtons_ButtonPresses);              }              else              {                  moduleContext->InputReportButtonState.u.Buttons.Power = 0;                  DMF_BRANCHTRACK_MODULE_AT_LEAST(DmfModule, "ButtonStateChange.HidPortableDeviceButtons_ButtonId_Power.Up{Power release}[HidPortableDeviceButtons]", HidPortableDeviceButtons_ButtonPresses);              }              break;          }          case HidPortableDeviceButtons_ButtonId_VolumePlus:          {              if (ButtonStateDown)              {                  moduleContext->InputReportButtonState.u.Buttons.VolumeUp = 0;                  DMF_BRANCHTRACK_MODULE_AT_LEAST(DmfModule, "ButtonStateChange.HidPortableDeviceButtons_ButtonId_VolumePlus.Down{Vol+ press}[HidPortableDeviceButtons,Volume]", HidPortableDeviceButtons_ButtonPresses);                  if (moduleContext->InputReportButtonState.u.Buttons.Power)                  {                      // Verify S