public static object Transform_WiimoteLib_WiimoteState_WiimoteLib_Proxy_WiimoteState(object transformObj)
 {
     WiimoteLib.Proxy.WiimoteState target = new WiimoteLib.Proxy.WiimoteState();
     WiimoteLib.WiimoteState       from   = transformObj as WiimoteLib.WiimoteState;
     target.CalibrationInfo        = (WiimoteLib.Proxy.CalibrationInfo)Transform_WiimoteLib_CalibrationInfo_WiimoteLib_Proxy_CalibrationInfo(from.CalibrationInfo);
     target.ButtonState            = (WiimoteLib.Proxy.ButtonState)Transform_WiimoteLib_ButtonState_WiimoteLib_Proxy_ButtonState(from.ButtonState);
     target.AccelState             = (WiimoteLib.Proxy.AccelState)Transform_WiimoteLib_AccelState_WiimoteLib_Proxy_AccelState(from.AccelState);
     target.IRState                = (WiimoteLib.Proxy.IRState)Transform_WiimoteLib_IRState_WiimoteLib_Proxy_IRState(from.IRState);
     target.Battery                = from.Battery;
     target.Rumble                 = from.Rumble;
     target.Extension              = from.Extension;
     target.ExtensionType          = (WiimoteLib.Proxy.ExtensionType)((System.Byte)from.ExtensionType);
     target.NunchukState           = (WiimoteLib.Proxy.NunchukState)Transform_WiimoteLib_NunchukState_WiimoteLib_Proxy_NunchukState(from.NunchukState);
     target.ClassicControllerState = (WiimoteLib.Proxy.ClassicControllerState)Transform_WiimoteLib_ClassicControllerState_WiimoteLib_Proxy_ClassicControllerState(from.ClassicControllerState);
     target.LEDs = (WiimoteLib.Proxy.LEDs)Transform_WiimoteLib_LEDs_WiimoteLib_Proxy_LEDs(from.LEDs);
     return(target);
 }
 public static object Transform_WiimoteLib_WiimoteState_TO_WiimoteLib_Proxy_WiimoteState(object transformFrom)
 {
     WiimoteLib.Proxy.WiimoteState target = new WiimoteLib.Proxy.WiimoteState();
     WiimoteLib.WiimoteState from = transformFrom as WiimoteLib.WiimoteState;
     target.AccelCalibrationInfo = (WiimoteLib.Proxy.AccelCalibrationInfo)Transform_WiimoteLib_AccelCalibrationInfo_TO_WiimoteLib_Proxy_AccelCalibrationInfo(from.AccelCalibrationInfo);
     target.ButtonState = (WiimoteLib.Proxy.ButtonState)Transform_WiimoteLib_ButtonState_TO_WiimoteLib_Proxy_ButtonState(from.ButtonState);
     target.AccelState = (WiimoteLib.Proxy.AccelState)Transform_WiimoteLib_AccelState_TO_WiimoteLib_Proxy_AccelState(from.AccelState);
     target.IRState = (WiimoteLib.Proxy.IRState)Transform_WiimoteLib_IRState_TO_WiimoteLib_Proxy_IRState(from.IRState);
     target.Battery = from.Battery;
     target.Rumble = from.Rumble;
     target.Extension = from.Extension;
     target.ExtensionType = (WiimoteLib.Proxy.ExtensionType)((System.Byte)from.ExtensionType);
     target.NunchukState = (WiimoteLib.Proxy.NunchukState)Transform_WiimoteLib_NunchukState_TO_WiimoteLib_Proxy_NunchukState(from.NunchukState);
     target.ClassicControllerState = (WiimoteLib.Proxy.ClassicControllerState)Transform_WiimoteLib_ClassicControllerState_TO_WiimoteLib_Proxy_ClassicControllerState(from.ClassicControllerState);
     target.LEDState = (WiimoteLib.Proxy.LEDState)Transform_WiimoteLib_LEDState_TO_WiimoteLib_Proxy_LEDState(from.LEDState);
     return target;
 }
 public static object Transform_WiimoteLib_Proxy_WiimoteState_TO_WiimoteLib_WiimoteState(object transformFrom)
 {
     WiimoteLib.WiimoteState       target = new WiimoteLib.WiimoteState();
     WiimoteLib.Proxy.WiimoteState from   = transformFrom as WiimoteLib.Proxy.WiimoteState;
     target.AccelCalibrationInfo = (WiimoteLib.AccelCalibrationInfo)Transform_WiimoteLib_Proxy_AccelCalibrationInfo_TO_WiimoteLib_AccelCalibrationInfo(from.AccelCalibrationInfo);
     target.AccelState           = (WiimoteLib.AccelState)Transform_WiimoteLib_Proxy_AccelState_TO_WiimoteLib_AccelState(from.AccelState);
     target.ButtonState          = (WiimoteLib.ButtonState)Transform_WiimoteLib_Proxy_ButtonState_TO_WiimoteLib_ButtonState(from.ButtonState);
     target.IRState                = (WiimoteLib.IRState)Transform_WiimoteLib_Proxy_IRState_TO_WiimoteLib_IRState(from.IRState);
     target.BatteryRaw             = from.BatteryRaw;
     target.Battery                = from.Battery;
     target.Rumble                 = from.Rumble;
     target.Extension              = from.Extension;
     target.ExtensionType          = (WiimoteLib.ExtensionType)((System.Int32)from.ExtensionType);
     target.NunchukState           = (WiimoteLib.NunchukState)Transform_WiimoteLib_Proxy_NunchukState_TO_WiimoteLib_NunchukState(from.NunchukState);
     target.ClassicControllerState = (WiimoteLib.ClassicControllerState)Transform_WiimoteLib_Proxy_ClassicControllerState_TO_WiimoteLib_ClassicControllerState(from.ClassicControllerState);
     target.GuitarState            = (WiimoteLib.GuitarState)Transform_WiimoteLib_Proxy_GuitarState_TO_WiimoteLib_GuitarState(from.GuitarState);
     target.LEDState               = (WiimoteLib.LEDState)Transform_WiimoteLib_Proxy_LEDState_TO_WiimoteLib_LEDState(from.LEDState);
     return(target);
 }