-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdriver.xml
164 lines (164 loc) · 5.27 KB
/
driver.xml
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
<devicedata>
<copyright>Copyright 2022 Welton Cartel. All rights reserved.</copyright>
<creator>Welton Cartel</creator>
<manufacturer>Control4</manufacturer>
<name>WebView</name>
<model>Touchscreens / Mobile App</model>
<created>07/09/2021 12:00:00 AM</created>
<modified>06/28/2022 12:00:00 AM</modified>
<version>8</version>
<control>lua_gen</control>
<driver>DriverWorks</driver>
<minimum_os_version>3.0.0</minimum_os_version>
<small image_source="c4z">icons/device_sm.png</small>
<large image_source="c4z">icons/device_lg.png</large>
<proxies>
<proxy proxybindingid="5001" name="WebView" image_source="c4z" small_image="icons/device_sm.png" large_image="icons/device_lg.png">uibutton</proxy>
</proxies>
<events/>
<config>
<script file="driver.lua"/>
<documentation file="www/documentation/index.html"/>
<properties>
<property>
<name>Driver Information</name>
<type>LABEL</type>
<default>Driver Information</default>
</property>
<property>
<name>Driver Name</name>
<default/>
<type>STRING</type>
<readonly>true</readonly>
</property>
<property>
<name>Driver Version</name>
<default/>
<type>STRING</type>
<readonly>true</readonly>
</property>
<property>
<name>Debug Mode</name>
<type>LIST</type>
<items>
<item>Off</item>
<item>On</item>
</items>
<default>Off</default>
<readonly>false</readonly>
</property>
<property>
<name>URL</name>
<default/>
<type>STRING</type>
<readonly>false</readonly>
</property>
<property>
<name>Presets</name>
<type>LIST</type>
<items>
<item>None</item>
<item>Google</item>
<item>Google Calendar</item>
<item>Google News</item>
<item>Weather.com</item>
</items>
<default>None</default>
<readonly>false</readonly>
</property>
<property>
<name>Auto Rename Driver</name>
<type>LIST</type>
<items>
<item>Off</item>
<item>On</item>
</items>
<default>Off</default>
<readonly>false</readonly>
</property>
</properties>
<actions/>
<commands>
<command>
<name>Set URL</name>
<description>Set the URL on NAME to PARAM1</description>
<params>
<param>
<name>URL</name>
<type>STRING</type>
</param>
</params>
</command>
<command>
<name>Set Preset</name>
<description>Set the Preset on NAME to PARAM1</description>
<params>
<param>
<name>PRESET</name>
<type>LIST</type>
<items>
<item>None</item>
<item>Google</item>
<item>Google Calendar</item>
<item>Google News</item>
<item>Weather.com</item>
</items>
</param>
</params>
</command>
</commands>
</config>
<capabilities>
<web_view_url proxybindingid="5001">https://google.com</web_view_url>
<mobile_web_view_enabled>true</mobile_web_view_enabled>
<navigator_display_option proxybindingid="5001">
<Icon height="70" width="70">controller://driver/webview/icons/device/url_70.png</Icon>
<Icon height="90" width="90">controller://driver/webview/icons/device/url_90.png</Icon>
<Icon height="300" width="300">controller://driver/webview/icons/device/url_300.png</Icon>
<display_icons>
<state id="default">
<Icon height="70" width="70">controller://driver/webview/icons/device/url_70.png</Icon>
<Icon height="90" width="90">controller://driver/webview/icons/device/url_90.png</Icon>
<Icon height="300" width="300">controller://driver/webview/icons/device/url_300.png</Icon>
</state>
<state id="google">
<Icon height="70" width="70">controller://driver/webview/icons/device/google_70.png</Icon>
<Icon height="90" width="90">controller://driver/webview/icons/device/google_90.png</Icon>
<Icon height="300" width="300">controller://driver/webview/icons/device/google_300.png</Icon>
</state>
<state id="calendar">
<Icon height="70" width="70">controller://driver/webview/icons/device/google_calendar_70.png</Icon>
<Icon height="90" width="90">controller://driver/webview/icons/device/google_calendar_90.png</Icon>
<Icon height="300" width="300">controller://driver/webview/icons/device/google_calendar_300.png</Icon>
</state>
<state id="news">
<Icon height="70" width="70">controller://driver/webview/icons/device/google_news_70.png</Icon>
<Icon height="90" width="90">controller://driver/webview/icons/device/google_news_90.png</Icon>
<Icon height="300" width="300">controller://driver/webview/icons/device/google_news_300.png</Icon>
</state>
<state id="weather">
<Icon height="70" width="70">controller://driver/webview/icons/device/weather_70.png</Icon>
<Icon height="90" width="90">controller://driver/webview/icons/device/weather_90.png</Icon>
<Icon height="300" width="300">controller://driver/webview/icons/device/weather_300.png</Icon>
</state>
</display_icons>
</navigator_display_option>
</capabilities>
<connections>
<connection>
<id>5001</id>
<facing>6</facing>
<connectionname>UIBUTTON</connectionname>
<type>2</type>
<consumer>False</consumer>
<audiosource>False</audiosource>
<videosource>False</videosource>
<linelevel>False</linelevel>
<classes>
<class>
<classname>UIBUTTON</classname>
</class>
</classes>
</connection>
</connections>
</devicedata>