Exemple #1
0
        internal Pointer(uint id, PointerDeviceType type)
        {
            PointerId         = id;
            PointerDeviceType = type;

            UniqueId = new Windows.Devices.Input.PointerIdentifier((Windows.Devices.Input.PointerDeviceType)type, id);
        }
Exemple #2
0
        public Pointer(uint id, PointerDeviceType type, bool isInContact, bool isInRange)
        {
            PointerId         = id;
            PointerDeviceType = type;
            IsInContact       = isInContact;
            IsInRange         = isInRange;

            UniqueId = new Windows.Devices.Input.PointerIdentifier((Windows.Devices.Input.PointerDeviceType)type, id);
        }