As per usual, I'm sure this is a very basic question, I'm just wondering if someone can recommend the easiest way to accomplish something.
I am working on a patch that uses controller input from a Wiimote. However, the Wiimote is very sensitive, and I want to find an easy way to reduce the incoming information. To be more specific, even if I'm holding the Wiimote as still as possible, it still sends streams of controller data, even when the value hasn't changed.
Is there an easy way to fix this? My thought would be that I only want values to be passed when they CHANGE. I don't need "94, 94, 94, 94, 93, 93, 93, 93, 92, 92, 92...", I just want "94, 93, 92". I guess what I'm looking for is an easy way to "thin" the data.
I've been playing with the 'if' object, also 'zl change', but nothing seems to work as I want it to. If there were an object similar to '!=' that didn't output a 1 or 0 but instead let the value pass, I suppose that would work.
Any ideas? I know this is simple, but I don't know how to do it!