Debian Codegraph @

opcodes/wiirange.xml

raw symbols SCIP
1
2 <refentry id="wiirange">
3 <indexterm id="Indexwiirange"><primary>wiirange</primary></indexterm>
4 <refentryinfo><title>Instrument Control:Sensing and Control</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>wiirange</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>wiirange</refname>
11 <refpurpose>
12 Sets scaling and range limits for certain Wiimote fields.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>Plugin opcode in wiimote. This opcode is part of the plugin repository and has to be installed separately.
19 The plugin repository can be found here: <ulink url="https://github.com/csound/plugins"><citetitle>https://github.com/csound/plugins</citetitle></ulink></para>
20 <para>
21 Sets scaling and range limits for certain Wiimote fields.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis> <command>wiirange</command> icontrol, iminimum, imaximum[, inum]</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Initialization</title>
32 <para>
33 This opcode must be used in conjuction with
34 a running <emphasis>wiiconnect</emphasis> opcode.
35 </para>
36 <para>
37 <emphasis>icontrol</emphasis> -- which control is to be scaled.
38 This must be one of 20 (WII_PITCH), 21 (WII_ROLL), 30
39 (WII_NUNCHUK_PITCH), 31 (WII_NUNCHUK_ROLL).
40 </para>
41 <para>
42 <emphasis>iminimum</emphasis> -- minimun value for control.
43 </para>
44 <para>
45 <emphasis>imaximum</emphasis> -- maximum value for control.
46 </para>
47
48 <note>
49 <para>
50 Please note that these opcodes are currently only supported on
51 Linux.
52 </para>
53 </note>
54 </refsect1>
55
56 <refsect1>
57 <title>Examples</title>
58 <para>
59 See the example for <link linkend="wiiconnect"><citetitle>wiiconnect</citetitle></link>.
60 </para>
61 </refsect1>
62
63 <refsect1>
64 <title>See Also</title>
65 <para><link linkend="nonMIDIdevices"><citetitle>non-MIDI Devices</citetitle></link></para>
66 </refsect1>
67
68 <refsect1>
69 <title>Credits</title>
70 <para>
71 <simplelist>
72 <member>Author: &namejohn;</member>
73 <member>Codemist Ltd</member>
74 <member>2009</member>
75 </simplelist>
76 </para>
77 <para>New in version 5.11</para>
78 </refsect1>
79 </refentry>