I'm trying to use the DJ hero here with a wii mote adapter. It pretty much reads the i2c and forwards it to usb. Everything maps ok accept the effect knob. Looks like the way the wii did this was turning right counts 0-255 and then it hits 256 its back to 0 again, so it just roles the data over. Going left just counts in reverse. 255-0 and loops. Its is relative, so if you stop at 64, it stays there. then you can turn more. Like the arkanoid dial with no fixed edges. (endless turning)
Problem is if I use to use the emulated wii mote and attached the DJ hero, it wants left and right for the knob instead of just asking for 1 analog. So I can not use full slider 0 + for left and full slider 0 - for right because they both change simultaneously.
So I need essentially this.
var now = analog
if (now > old) its going right.
if (now < old) its going left.
var old= analog
but I can not use my own variables so that is out. Is there any way to have any motion in the positive full analog dirrection set to a right, and any motion in the negative set to left?
or is there a way to prevent full slider 0 + and full slider 0 - from changing simultaneously in some clever mathematical way.
update: More I think about it the cross fade, and the effect knob should all be absolute inputs. Looks like absolute is not an option.
Problem is if I use to use the emulated wii mote and attached the DJ hero, it wants left and right for the knob instead of just asking for 1 analog. So I can not use full slider 0 + for left and full slider 0 - for right because they both change simultaneously.
So I need essentially this.
var now = analog
if (now > old) its going right.
if (now < old) its going left.
var old= analog
but I can not use my own variables so that is out. Is there any way to have any motion in the positive full analog dirrection set to a right, and any motion in the negative set to left?
or is there a way to prevent full slider 0 + and full slider 0 - from changing simultaneously in some clever mathematical way.
update: More I think about it the cross fade, and the effect knob should all be absolute inputs. Looks like absolute is not an option.
![[Image: newLogo_white_small.png]](http://spawnlinux.ddns.net/Bliss-Box/images/newLogo_white_small.png)
main page
Working controllers
[url=http://spreadsheets.google.com/pub?key=tGD-U_eW1Rc7rNyqkpgJuIg&output=html][/url]