forked from fustyles/Arduino
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Leonarod_PPT_RC.html
54 lines (51 loc) · 1.82 KB
/
Leonarod_PPT_RC.html
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
<!doctype html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<center>
<table height="500">
<tr><td colspan="2" align="center">
<B>Remote control Powerpoint</B>
</td></tr>
<tr><td colspan="2">
IP: <input type="text" name="ip" id="ip" size="25" value="192.168.4.1">
</td></tr>
<tr><td>
<input type="button" onclick="sendkeys.src='http://'+document.getElementById('ip').value+'/?keyboardwrite=198';" value="F5">
</td>
<td>
<input type="button" onclick="sendkeys.src='http://'+document.getElementById('ip').value+'/?keyboardwrite=211';" value="PAGE UP">
</td></tr>
<tr><td>
<input type="button" onclick="sendkeys.src='http://'+document.getElementById('ip').value+'/?keyboardpress=133;198;;10';" value="SHIFT+F5">
</td>
<td>
<input type="button" onclick="sendkeys.src='http://'+document.getElementById('ip').value+'/?keyboardwrite=214';" value="PAGE DOWN">
</td></tr>
<tr><td>
<input type="button" onclick="sendkeys.src='http://'+document.getElementById('ip').value+'/?keyboardwrite=87';" value="W">
</td>
<td>
<input type="button" onclick="sendkeys.src='http://'+document.getElementById('ip').value+'/?keyboardwrite=177';" value="ESC">
</td></tr>
<tr><td>
<input type="button" onclick="sendkeys.src='http://'+document.getElementById('ip').value+'/?ip';" value="IP">
</td>
<td>
<input type="button" onclick="sendkeys.src='http://'+document.getElementById('ip').value+'/?keyboardwrite=66';" value="B">
</td></tr>
<tr><td colspan="2">
<iframe id="sendkeys" width="250" height="100"></iframe>
</td></tr>
</table>
</center>
</body>
</html>
<!--
Arduino Leonardo Code
https://github.com/fustyles/Arduino/blob/master/ESP01_Leonardo_MyFirmata.ino
keyboardPress, keyboardWrite
https://www.arduino.cc/en/Reference/KeyboardModifiers
-->