summaryrefslogtreecommitdiff
path: root/wiimote.xml.in
blob: 89c234e7da6e6f17bd17ab51a5689c24ef779d53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
<?xml version="1.0"?>
<compiz>
  <plugin name="wiimote" useBcop="true">
    <_short>Wii Remote</_short>
	<_long>Compiz interface for the Nintendo Wii Remote.</_long>
	<category>Utility</category>
    <display>
      <option name="abi" read_only="true"/>
      <option name="index" read_only="true"/>
      <group>
        <_short>Bindings</_short>
        <option name="toggle_key" type="key">
          <_short>Toggle status reporting</_short>
          <_long>Use this to enable status reporting from the Wii Remote. Remember to hold down (1)+(2).</_long>
          <default>&lt;Shift&gt;&lt;Super&gt;w</default>
        </option>
        <option name="disable_key" type="key">
          <_short>Disable status reporting</_short>
          <_long>Use this to disable status reporting from the Wii Remote.</_long>
          <default>&lt;Alt&gt;&lt;Super&gt;w</default>
        </option>
        <option name="report_key" type="key">
          <_short>Status reporting</_short>
          <_long>Togle status reporting from the Wii Remote.</_long>
          <default>&lt;Alt&gt;&lt;Super&gt;k</default>
        </option>
     </group>
     <group>
     <_short>Wiimote Setup</_short>
     <option name="poll_interval" type="int">
         <_short>Reporting Timeout</_short>
         <_long>The more often you call it, the higher the CPU usage will be, so be careful with this! The less you call it however, means the jerkier the reporting</_long>
         <default>25</default>
    </option>
     <option name="gesture_timeout" type="int">
         <_short>Gesture Timeout</_short>
         <_long>The more often you call it, the higher the CPU usage will be and the faster you have to move</_long>
         <default>25</default>
    </option>
     <option name="gesture_sens" type="float">
         <_short>Gesture Sensitvity</_short>
         <_long>How much the readings must differ between gesture checks</_long>
         <min>0.1</min>
	 <max>50.0</max>
	 <default>10.0</default>
    </option>
     <subgroup>
     <_short>Individual Setup</_short>
     <option name="x_calibration_mul" type="list">
         <_short>X Calibration Multiplier</_short>
         <_long>Change this depending on your screen size</_long>
         <type>float</type>
         <default>
         <value>1.0</value>
         </default>
     </option>
     <option name="y_calibration_mul" type="list">
         <_short>Y Calibration Multiplier</_short>
         <_long>Change this depending on your screen size</_long>
         <type>float</type>
         <default>
         <value>1.0</value>
         </default>
     </option>
     <option name="x_adjust" type="list">
         <_short>X Adjust</_short>
         <_long>Used to adjust to the position of your screen</_long>
         <type>float</type>
         <default>
         <value>0.0</value>
         </default>
     </option>
     <option name="y_adjust" type="list">
         <_short>Y Adjust</_short>
         <_long>Used to adjust to the position of your screen</_long>
         <type>float</type>
         <default>
         <value>0.0</value>
         </default>
     </option>
     </subgroup>
      </group>
      <group>
      <_short>Gesturing</_short>
      <subgroup>
      <_short>Gesture List</_short>
      <option name="gesture_wiimote_number" type="list">
         <_short>Wii Remote Number</_short>
         <_long>The number of the wii remote on the list (starts at 0)</_long>
         <type>int</type>
	 <min>0</min>
         <max>10</max>
     </option>
     <option name="gesture_type" type="list">
         <_short>Gesture Type</_short>
         <_long>Which gesture calls the action</_long>
         <type>int</type>
         <desc>
            <value>0</value><name>None</name>
         </desc>
         <desc>
            <value>1</value><name>A Button Pressed</name>
         </desc>
         <desc>
            <value>2</value><name>A Button Depressed</name>
         </desc>
         <desc>
            <value>3</value><name>B Button Pressed</name>
         </desc>
         <desc>
            <value>4</value><name>B Button Depressed</name>
         </desc>
         <desc>
            <value>5</value><name>Up Button Pressed</name>
         </desc>
         <desc>
            <value>6</value><name>Up Button Depressed</name>
         </desc>
         <desc>
            <value>7</value><name>Down Button Pressed</name>
         </desc>
         <desc>
            <value>8</value><name>Down Button Depressed</name>
         </desc>
         <desc>
            <value>9</value><name>Left Button Pressed</name>
         </desc>
         <desc>
            <value>10</value><name>Left Button Depressed</name>
         </desc>
         <desc>
            <value>11</value><name>Right Button Pressed</name>
         </desc>
         <desc>
            <value>12</value><name>Right Button Depressed</name>
         </desc>
         <desc>
            <value>13</value><name>Plus Button Pressed</name>
         </desc>
         <desc>
            <value>14</value><name>Plus Button Depressed</name>
         </desc>
         <desc>
            <value>15</value><name>Minus Button Pressed</name>
         </desc>
         <desc>
            <value>16</value><name>Minus Button Depressed</name>
         </desc>
         <desc>
            <value>17</value><name>Home Button Pressed</name>
         </desc>
         <desc>
            <value>18</value><name>Home Button Depressed</name>
         </desc>
         <desc>
            <value>19</value><name>1 Button Pressed</name>
         </desc>
         <desc>
            <value>20</value><name>1 Button Depressed</name>
         </desc>
         <desc>
            <value>21</value><name>2 Button Pressed</name>
         </desc>
         <desc>
            <value>22</value><name>2 Button Depressed</name>
         </desc>
         <desc>
            <value>23</value><name>C Button Pressed</name>
         </desc>
         <desc>
            <value>24</value><name>C Button Depressed</name>
         </desc>
         <desc>
            <value>25</value><name>Z Button Pressed</name>
         </desc>
         <desc>
            <value>26</value><name>Z Button Depressed</name>
         </desc>
         <desc>
            <value>27</value><name>Wii Remote Up</name>
         </desc>
         <desc>
            <value>28</value><name>Wii Remote Down</name>
         </desc>
         <desc>
            <value>29</value><name>Wii Remote Left</name>
         </desc>
         <desc>
            <value>30</value><name>Wii Remote Right</name>
         </desc>
         <desc>
            <value>31</value><name>Nunchuck Up</name>
         </desc>
         <desc>
            <value>32</value><name>Nunchuck Down</name>
         </desc>
         <desc>
            <value>33</value><name>Nunchuck Left</name>
         </desc>
         <desc>
            <value>34</value><name>Nunchuck Right</name>
         </desc>
         <desc>
            <value>35</value><name>Nunchuck Stick Up</name>
         </desc>
         <desc>
            <value>36</value><name>Nunchuck Stick Down</name>
         </desc>
         <desc>
            <value>37</value><name>Nunchuck Stick Left</name>
         </desc>
         <desc>
            <value>38</value><name>Nunchuck Stick Right</name>
         </desc>
     </option>
     <option type="list" name="gesture_plugin_name">
     <_short>Plugin Name</_short>
     <_long>Initiation Plugin Name</_long>
     <type>string</type>
     </option>
     <option type="list" name="gesture_action_name">
     <_short>Action Name</_short>
     <_long>Initiation Action Name</_long>
     <type>string</type>
     </option>
     <option type="list" name="gesture_sensitivity">
     <_short>Sensitivity</_short>
     <_long>How sensitive gestures should be</_long>
     <type>int</type>
     <min>1</min>
     <max>10</max>
     <default>
     <value>0</value>
     </default>
     </option>
     </subgroup>
     </group>
     <group>
     <_short>Reporting</_short>
     <subgroup>
     <_short>Reporter List</_short>
     <option type="list" name="report_wiimote_number">
     <_short>Wii Remote Number</_short>
     <_long>Wii Remote Number (In order of the wiimote settings list. Starts at 0)</_long>
     <type>int</type>
     <min>0</min>
     <max>10</max>
     </option>
     <option type="list" name="report_type">
     <_short>Report Type</_short>
     <_long>What to report</_long>
     <type>int</type>
     <desc>
        <value>0</value><name>None</name>
     </desc>
     <desc>
        <value>1</value><name>Wiimote IR Report</name>
     </desc>
     <desc>
        <value>2</value><name>Wiimote Accellerometer Report</name>
     </desc>
     <desc>
        <value>3</value><name>Nunchuck Accellerometer Report</name>
     </desc>
     <desc>
        <value>4</value><name>Nunchuck Stick Report</name>
     </desc>
     </option>
     <option type="list" name="report_plugin_name">
     <_short>Plugin Name</_short>
     <_long>Plugin to report to</_long>
     <type>string</type>
     </option>
     <option type="list" name="report_action_name">
     <_short>Action Name</_short>
     <_long>Action to report to</_long>
     <type>string</type>
     </option>
     <option type="list" name="report_x_argument">
     <_short>X Argument</_short>
     <_long>What option name the plugin expects for the X value</_long>
     <type>string</type>
     </option>
     <option type="list" name="report_y_argument">
     <_short>Y Argument</_short>
     <_long>What option name the plugin expects for the Y value</_long>
     <type>string</type>
     </option>
     <option type="list" name="report_z_argument">
     <_short>Z Argument</_short>
     <_long>What option name the plugin expects for the Z value</_long>
     <type>string</type>
     </option>
     <option type="list" name="report_data_type">
     <_short>Data Type</_short>
     <_long>What data type the plugin expects (Use the other one if the current one doesn't work)</_long>
     <type>int</type>
     <desc>
     <value>0</value><name>Decimal</name>
     </desc>
     <desc>
     <value>1</value><name>Interger</name>
     </desc>
     </option>
     <option type="list" name="report_sensitivity">
     <_short>Sensitivity</_short>
     <_long>How sensitive Wii Remote movements should be</_long>
     <type>int</type>
     <min>1</min>
     <max>10</max>
     <default>
     <value>0</value>
     </default>
     </option>
     </subgroup>
     </group>
      </display>
      <screen>
      <group>
      <_short>Notification</_short>
      <option name="title_font_size" type="int">
					<_short>Font Size</_short>
					<_long>Font size for the window title</_long>
					<default>16</default>
					<min>6</min>
					<max>96</max>
				</option>
	  <option name="title_font_color" type="color">
					<_short>Font Color</_short>
					<_long>Font color for the window title</_long>
	  <default>
						<red>0xffff</red>
						<green>0xffff</green>
						<blue>0xffff</blue>
						<alpha>0xffff</alpha>
	  </default>
	  </option>
	  </group>
	  </screen>
    </plugin>
</compiz>