public static TValue ReadUnprocessedValueFromEvent <TValue>(this InputControl <TValue> control, InputEventPtr eventPtr)
            where TValue : struct
        {
            if (control == null)
            {
                throw new ArgumentNullException(nameof(control));
            }

            var result = default(TValue);

            control.ReadUnprocessedValueFromEvent(eventPtr, out result);
            return(result);
        }