-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpresets.html
39 lines (31 loc) · 1.24 KB
/
presets.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
---
feature_name: BlueRetro Presets config
icon_url: icon.png
index: index.html
---
{% include_relative _includes/intro.html %}
<p align="center"><a href="https://blueretro.com/products/brx"><img src="brx_banner.png"/></a></p><br>
Please consult the documentation found on the wiki:<br>
<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#3---presets-page" target="_blank">3 - Presets page</a><br><br>
<div id="divBtConn">
<button id="btConn">Connect BlueRetro</button><br>
<small><i>Disconnect all controllers from BlueRetro before connecting for configuration.</i></small>
</div>
<div id="divInfo" style="display:none;margin-bottom:1em;"></div>
<div id="divCfgSel" style="display:none;margin-bottom:1em;"></div>
<div id="divInputCfg" style="display:none;margin-bottom:1em;">
<h2 style="margin:0;">Mapping Config</h2>
<p id="desc"></p>
</div>
{% include output_helper.html %}
<script src='sql.js/sql-wasm.js'></script>
<script type="module">
import { btConn } from './presets.js';
document.getElementById("btConn").addEventListener('click', function() {
if (isWebBluetoothEnabled()) {
ChromeSamples.clearLog();
btConn();
}
});
</script>
{% include_relative _includes/utils.html %}