Limit a parameter to max-min depending to the width ? and Midi assignment ?
in
Programming Questions
•
1 years ago
Hi,
I want to set the mouseX to control the value of something.
But,if my window is 400px width, i dont want the values to be from 0 to 400, instead i want it to send from 0 to and 1
0 being 0 and 1 being 400px.
How do i do this ?
And also how do i map this parameter o my midi controler ?
Thanx !
1