wiirangeInstrument Control:Sensing and Controlwiirangewiirange
Sets scaling and range limits for certain Wiimote fields.
DescriptionPlugin opcode in wiimote. This opcode is part of the plugin repository and has to be installed separately.
The plugin repository can be found here: https://github.com/csound/plugins
Sets scaling and range limits for certain Wiimote fields.
Syntaxwiirange icontrol, iminimum, imaximum[, inum]Initialization
This opcode must be used in conjuction with
a running wiiconnect opcode.
icontrol -- which control is to be scaled.
This must be one of 20 (WII_PITCH), 21 (WII_ROLL), 30
(WII_NUNCHUK_PITCH), 31 (WII_NUNCHUK_ROLL).
iminimum -- minimun value for control.
imaximum -- maximum value for control.
Please note that these opcodes are currently only supported on
Linux.
Examples
See the example for wiiconnect.
See Alsonon-MIDI DevicesCreditsAuthor: &namejohn;Codemist Ltd2009New in version 5.11