summaryrefslogtreecommitdiff
path: root/wiitrack.xml.in
blob: cdecfab3ab696f45eb33490a66c23fe597f427fc (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
<?xml version="1.0" encoding="UTF-8"?>
<compiz>
	<plugin name="wiitrack" useBcop="true">
		<_short>WiiTrack</_short>
		<_long>Create a true 3d desktop with a Wiimote some IR-enabled shades.</_long>
		<category>Effects</category>
		<deps>
			<relation type="after">
			    <plugin>cube</plugin>
	        </relation>
	        <!-- 
	             We will not require wiimote,
	             but is definitely needed for
	             normal operation of the plugin
	        -->
	    </deps>
	<display>
		<group>
		<_short>WiiTrack</_short>
			<subgroup>
			<_short>Keybindings</_short>
			    <option type="key" name="manual_in">
				    <_short>Move Window Closer</_short>
				    <_long>Manually move a window closer. Z-depth is ignored</_long>
				    <default>&lt;Alt&gt;&lt;Super&gt;Page_Down</default>
			    </option>
			    <option type="key" name="manual_out">
				    <_short>Move Window Away</_short>
				    <_long>Manually move a window further out. Z-depth is ignored</_long>
				    <default>&lt;Alt&gt;&lt;Super&gt;Page_Up</default>
			    </option>
			    <option type="key" name="manual_reset">
				    <_short>Reset Window Depth</_short>
				    <_long>Reset the window's depth so it uses Z level</_long>
				    <default>&lt;Alt&gt;&lt;Super&gt;Home</default>
			    </option>
			</subgroup>
			<subgroup>
			<_short>Debugging</_short>
			    <option type="bool" name="debug_enabled">
				    <_short>Enable debugging keys</_short>
				    <_long>Enable the debugging key combinations</_long>
				    <default>false</default>
			    </option>
			    <option type="key" name="camera_up">
				    <_short>Camera up</_short>
				    <_long>Manually move camera up</_long>
				    <default>&lt;Alt&gt;&lt;Super&gt;w</default>
			    </option>
			    <option type="key" name="camera_down">
				    <_short>Camera down</_short>
				    <_long>Manually move camera down</_long>
				    <default>&lt;Alt&gt;&lt;Super&gt;s</default>
			    </option>
			    <option type="key" name="camera_left">
				    <_short>Camera left</_short>
				    <_long>Manually move camera left</_long>
				    <default>&lt;Alt&gt;&lt;Super&gt;a</default>
			    </option>
			    <option type="key" name="camera_right">
				    <_short>Camera right</_short>
				    <_long>Manually move camera right</_long>
				    <default>&lt;Alt&gt;&lt;Super&gt;d</default>
			    </option>
			    <option type="key" name="camera_in">
				    <_short>Camera in</_short>
				    <_long>Manually move camera closer to screen</_long>
				    <default>&lt;Alt&gt;&lt;Super&gt;e</default>
			    </option>
			    <option type="key" name="camera_out">
				    <_short>Camera out</_short>
				    <_long>Manually move camera away from screen</_long>
				    <default>&lt;Alt&gt;&lt;Super&gt;q</default>
			    </option>
			    <option type="key" name="camera_reset">
				    <_short>Camera reset</_short>
				    <_long>Reset camera to default head position</_long>
				    <default>&lt;Alt&gt;&lt;Super&gt;r</default>
			    </option>
			    <option type="key" name="toggle_mouse">
				    <_short>Toggle mouse tracking</_short>
				    <_long>Toggle mouse tracking on and off</_long>
				    <default>&lt;Alt&gt;&lt;Super&gt;t</default>
			    </option>
			</subgroup>
		</group>
	</display>
	<screen>
		<group>
		<_short>WiiTrack</_short>
			<option type="int" name="window_depth">
				<_short>Window depth</_short>
				<_long>How far apart windows are when stacked based on Z level</_long>
				<default>10</default>
				<min>0</min>
				<max>100</max>
			</option>
			<option type="int" name="stack_padding">
			    <_short>Stack Padding</_short>
			    <_long>Make your windows pop out this far from the screen. 100 is cube size</_long>
			    <default>0</default>
                <min>0</min>
                <max>1000</max>
            </option>
			<option type="bool" name="enable_tracking">
			    <_short>Enable Tracking</_short>
			    <_long>Enable tracking using JCL's algorithm. You must have wiimote enabled to use this.</_long>
			    <default>false</default>
			</option>
			<option type="int" name="fade_time">
			    <_short>Fade Time</_short>
			    <_long>Length of animation for 3d window stacking z-order changes</_long>
			    <default>20</default>
                <min>1</min>
                <max>200</max>
			</option>
			<subgroup>
			<_short>Calibration</_short>
			        <option type="bool" name="wiimote_above">
			            <_short>WiiMote Above Screen</_short>
			            <_long>Enable this if your Wiimote is above your screen.</_long>
			            <default>true</default>
			        </option>
			        <option type="int" name="wiimote_adjust">
			            <_short>Height adjustment</_short>
			            <_long>Use this to adjust the head height</_long>
			            <default>0</default>
			            <min>-100</min>
			            <max>100</max>
			        </option>
			        <option type="int" name="bar_width">
			            <_short>Sensor Bar Width</_short>
			            <_long>Use this to adjust your distance from the screen</_long>
			            <default>100</default>
			            <min>1</min>
			            <max>1000</max>
			        </option>
			        <option type="int" name="wiimote_vertical_angle">
			            <_short>Wiimote Vertical Angle</_short>
			            <_long>Angle of wiimote in radians * 100</_long>
			            <default>0</default>
			            <min>-100</min>
			            <max>100</max>
			        </option>
			</subgroup>
			<subgroup>
			<_short>Debugging</_short>
			    <option type="int" name="camera_move">
				    <_short>Camera move increment</_short>
				    <_long>How far to move the camera on one key press</_long>
				    <default>10</default>
				    <min>0</min>
				    <max>50</max>
			    </option>
			    <option type="int" name="screen_percent">
				    <_short>Mouse Screen Percentage</_short>
				    <_long>How much of the screen represents the actual screen. 100 is "exact"</_long>
				    <default>100</default>
				    <min>1</min>
				    <max>100</max>
			    </option>
			</subgroup>
		</group>
	</screen>
</plugin>
</compiz>