woot! Twist the knob right to turn up the volume, left to turn it down.. You will need to have certain definitions in your exeTBL and keyTBL files..
execTBL:
"SN_RT","RRNEXT"
"SN_LT","RRPREV"
"SN_UP","VOL+"
"SN_DN","VOL-"
keyTBL
6038,"SN_UP"
6040,"SN_DN"
6037,"SN_LT"
6039,"SN_RT"
and finally, the glovepie script for volume:
Code:
if MapRange(Joystick1.roll, -1,1, 0,1) > (var.roll + 0.10)
key.alt= 1
key.ctrl= 1
key.up= 1
key.alt= 0
key.ctrl= 0
key.up=0
wait 200ms
var.roll = MapRange(Joystick1.roll, -1,1, 0,1)
elseif MapRange(Joystick1.roll, -1,1, 0,1) < (var.roll - 0.10)
key.alt= 1
key.ctrl= 1
key.down= 1
key.alt= 0
key.ctrl= 0
key.down=0
wait 200ms
var.roll = MapRange(Joystick1.roll, -1,1, 0,1)
end if
seems im the first to control roadrunner with it :P
I'm going to keep workin on this tonight. i have some similar code for prev/next but it needs a bit of work on the debounce parts..