Keep small snippet for future reference

This commit is contained in:
Travis Nickles 2017-05-26 20:14:48 -07:00
parent de8f1ae354
commit 05fd7316cf

View File

@ -760,6 +760,7 @@ namespace DS4Windows
int tempBattery = (inputReport[30] & 0x0f) * 100 / maxBatteryValue;
battery = Math.Min((byte)tempBattery, (byte)100);
cState.Battery = (byte)battery;
//System.Diagnostics.Debug.WriteLine("CURRENT BATTERY: " + (inputReport[30] & 0x0f) + " | " + tempBattery + " | " + battery);
if (inputReport[30] != priorInputReport30)
{
priorInputReport30 = inputReport[30];