-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathwiiumote.php
More file actions
92 lines (89 loc) · 2.26 KB
/
wiiumote.php
File metadata and controls
92 lines (89 loc) · 2.26 KB
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
<!--
wiiumote.php
part of Quinn Ebert's "Pioneer Rebel" software project
PURPOSE:
Interface for selecting VSX-1022-K inputs optimally
from the Wii-U touchpad device's NetFront-based
web browser.
-->
<?php
require_once(dirname(__FILE__).'/ssCommon.php');
// Save this -- JS code needs it server-side integrated:
$ourFile = basename(__FILE__);
// Web page rendering code...
?>
<html>
<head>
<title>Pioneer Remote</title>
<script type="text/javascript" src="csCommon.php"></script>
<style type="text/css">
html {
background-color: #333;
color: #FFF;
}
body {
margin: 0px;
padding: 0px;
}
td {
font-size: 32pt;
font-family: sans-serif;
}
div {
display: inline-block;
width: 280px;
height: 120px;
line-height: 120px;
margin-top: 22px;
background-color: #111;
border: 2px #FFF solid;
}
.midpageColumn {
width: 240px;
}
#powerUpButton {
background-color: #0F0;
}
#powerDnButton {
background-color: #F00;
}
</style>
</head>
<body>
<table width="100%" height="80%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" valign="middle" align="center">
<div onClick="pvRebel_setSource('04')">DVD</div>
</td>
<td width="34%" valign="middle" align="center">
<div onClick="pvRebel_setPower('0')" id="powerDnButton" class="midpageColumn">Off</div>
</td>
<td width="33%" valign="middle" align="center">
<div onClick="pvRebel_setSource('06')">Sat/Cable</div>
</td>
</tr>
<tr>
<td width="33%" valign="middle" align="center">
<div onClick="pvRebel_setSource('25')">BD Player</div>
</td>
<td width="34%" valign="middle" align="center">
<div onClick="pvRebel_setPower('1')" id="powerUpButton" class="midpageColumn">On</div>
</td>
<td width="33%" valign="middle" align="center">
<div onClick="pvRebel_setSource('49')">Game Console</div>
</td>
</tr>
<tr>
<td width="33%" valign="middle" align="center">
<div onClick="pvRebel_setSource('15')">DVD/BD Rec.</div>
</td>
<td width="34%" valign="middle" align="center">
<div onClick="pvRebel_setSource('05')" class="midpageColumn">TV</div>
</td>
<td width="33%" valign="middle" align="center">
<div onClick="pvRebel_setSource('10')">Video In</div>
</td>
</tr>
</table>
</body>
</html>