hello friends
i have a hard time processing the data received by a mouse, maybe you can help me? I understand from the hid help file the mousedata is relative. So it should give us the amount of units it has moved since the last value was returned in axe X&Y.
so basically when the mouse stopped moving, in my understanding this value should be 0 or it shouldn't bang information at all. but when i connect an usb-mouse or use my internal trackpad, it keeps banging the last received input before i stopped moving the mouse. this is mostly a 1 or -1, but not always. it can be any value.
do you guys got an idea to filter this datanoise away? my first thought was to install a sort a counter connected to a gate so after an amount of the same values, the gate would block the received data. but this would basically say you can't move in a constant speed, or otherwhise the data would be zero.
or do i maybe interpret the data completely wrong ?
thanks a lot