internal void LoadSpecificRingPref(int arrayIndex) { string prompt = RingPrefs.ringName + " " + (arrayIndex + 1) + "/"; LogitechGSDK.LogiLedGetConfigOptionBool(prompt + RingPrefs.activeName, ref RingPrefs.active[arrayIndex]); LogitechGSDK.LogiLedGetConfigOptionNumber(prompt + RingPrefs.lifeName, ref RingPrefs.life[arrayIndex]); LogitechGSDK.LogiLedGetConfigOptionNumber(prompt + RingPrefs.delayName, ref RingPrefs.delay[arrayIndex]); LogitechGSDK.LogiLedGetConfigOptionNumber(prompt + RingPrefs.sizeStartName, ref RingPrefs.sizeStart[arrayIndex]); LogitechGSDK.LogiLedGetConfigOptionNumber(prompt + RingPrefs.sizeEndName, ref RingPrefs.sizeEnd[arrayIndex]); int red = RingPrefs.color[arrayIndex].R; int green = RingPrefs.color[arrayIndex].G; int blue = RingPrefs.color[arrayIndex].B; LogitechGSDK.LogiLedGetConfigOptionColor(prompt + RingPrefs.colorName, ref red, ref green, ref blue); RingPrefs.color[arrayIndex].R = (byte)red; RingPrefs.color[arrayIndex].G = (byte)green; RingPrefs.color[arrayIndex].B = (byte)blue; LogitechGSDK.LogiLedGetConfigOptionNumber(prompt + RingPrefs.thicknessName, ref RingPrefs.thickness[arrayIndex]); LogitechGSDK.LogiLedGetConfigOptionNumber(prompt + RingPrefs.opacityStartName, ref RingPrefs.opacityStart[arrayIndex]); LogitechGSDK.LogiLedGetConfigOptionNumber(prompt + RingPrefs.opacityEndName, ref RingPrefs.opacityEnd[arrayIndex]); }