Simple Keyboard control of a slider
This is a really dumb question. I’m trying to create a slider that is control via the arrow keys on a keyboard. I’ve managed to to increment the slider using the right arrow key, its subtracting from the slider using the left arrow key that is proving somewhat challenging for my (extremely) limited max skills.
Basically i’m trying to create a slider (say that goes between 0 and 10) that when the left arrow key is pressed 0.1 is subtracted from the slider value and when the right hand key is pressed 0.1 is added to the value. I would also like the slider to keep having its value changed with multiple presses of the same arrow key.
[110.keybutton] and [110.indec] will do this.
there is an 110 for everything.
Many Thanks for those… at the risk of sounding incompetent, how would these be implemented for my needs.
or using basic max objects:
----------begin_max5_patcher---------- 524.3ocyV1riaBCDG+L7TX4yoQXaHgza84nZUkC3MwcAaD3nlsq1285OfD1P XCPondHwxiGF+2+7LC7luGbu7LqBB9J36.Ou2787rlLF7pm6AyomSxnUV2fI x7blPAW4VSwNqb1OxRdAvEIorD8PUAKQIKab6YoPUw+My3JBuNn1bAUkbjKN 7iRs2NUrIRuJ.sYicffLC3f0AfmpeFwobtHiorxAUajmZEgb+O+x116ofla2 S32J4zL30PHOoZhQfw3699l+VMPJ7blTGjl34Bl50Bl6LXVlpQD.tmJN.uH8 gSALgzBCjvQSAxXo.dBTHmUUQOv5jKnSA5EMSgFn3XW1fkCD75H8j39nAtKM viFGnYDG5hhYEGXL5uDGnk.GtdAOnF4hlu24Lv0Dv0Rvj9Oxh.Tbytq0RIy1 2xTvuFMaGRA6W5cpyUdoNrL.NFf20+U+p5eSohXmKEHvBksiuKYzXy.HyGbd g8ZuPgKr8M6NLcHs03DHZmoLoeFEzkQgikQgSfQUY7TV4.5Ob4LGb4LaKgzO RwIU6q4O48I61bsTBENpZoG2XvFKXFWb6WTXEjw9G4Pk7TYRyAs9kVfqJJkU o3BphKEs7A8AeNxSSYh12e47zBoNgoVBfmt6cxrpn3EUR2rc2WSjEURgCPQQ KphhFfhvjEWRnGIokM6F+eX58MH3eflzSd2+O74H2CO -----------end_max5_patcher-----------
Excellent! That was exactly what i was looking for, knew it would be simple. Many Thanks Ergaster!