X and Y values are treated as 16-bit 2's complement signed integers in the range -32768 to 32767.
Hysteresis values are unsigned integers in the range 0 - 65535.
Hysteresis values required should be expressed in terms of the hysteresis value (in X, Y coordinate system units) multiplied by 1000.