internal GamepadsSampleData(PPGamepadsSampleData samplesData) { gamepadsSampelData = samplesData; Length = gamepadsSampelData.Length; Items = new GamepadSampleData[gamepadsSampelData.Length]; for (int x = 0; x < Length; x++) { Items[x] = new GamepadSampleData(gamepadsSampelData[x]); } }
/** * Samples the current state of the available gamepads. */ public static void Sample(PPInstance instance, out PPGamepadsSampleData data) { _Sample(instance, out data); }
extern static void _Sample(PPInstance instance, out PPGamepadsSampleData data);