rsc3/doc/help/ugen/controls/mouse-button.help.scrbl

18 lines
294 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(mouse-button rate minval maxval lag)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
Report the status of the first pointer button. The button is
either pressed, or not pressed.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(audition
(out 0 (mul (sin-osc ar 800 0)
(mouse-button kr 0 0.1 0.1))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00