wiirange — Sets scaling and range limits for certain Wiimote fields.
Plugin 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.
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.
Note | |
---|---|
Please note that these opcodes are currently only supported on Linux. |