BlisterUI.Input.MouseMotionEventArgs.MouseMotionEventArgs C# (CSharp) Method

MouseMotionEventArgs() public method

public MouseMotionEventArgs ( long lParam ) : System
lParam long
return System
        public MouseMotionEventArgs(long lParam)
        {
            x = (int)lParam & 0x0000ffff;
            if(x > 10000) {
                x = 0;
            }
            y = (int)(lParam >> 16) & 0x0000ffff;
            if(y > 10000) {
                y = 0;
            }
        }
MouseMotionEventArgs