forked from ris58h/exkeymo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomplex.html
More file actions
60 lines (55 loc) · 2.06 KB
/
Copy pathcomplex.html
File metadata and controls
60 lines (55 loc) · 2.06 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="Android external keyboard remapping without root">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Android external keyboard remapping without root</title>
<link rel="stylesheet" href="./common.css">
<style>
#status {
margin-top: 8px;
color: #c00;
}
</style>
</head>
<body>
<div class="container">
<a class="github-link" href="https://github.com/ris58h/exkeymo">
<picture>
<source srcset="img/github-mark-white.png" media="(prefers-color-scheme: dark)">
<img src="img/github-mark.png" alt="GitHub">
</picture>
</a>
<h1>Android external keyboard remapping without root</h1>
<nav>
<a href="simple.html">Simple</a>
<b>Complex</b>
<a href="docs.html">Docs</a>
</nav>
<p>
Enter Key Character Map file content in the form below,
download and install ExKeyMo app,
select ExKeyMo layout in physical keyboard settings.
</p>
<form id="build-form"></form>
<textarea id="layout" name="layout" aria-label="Layout" rows="20" required form="build-form">type OVERLAY</textarea>
<span>
<input type="checkbox" id="add-second-layout" onchange="showSecondLayout(this.checked)"/>
<label for="add-second-layout">Add Second Layout</label><br/>
</span>
<textarea id="layout2" name="layout2" aria-label="Second layout" rows="20" required disabled form="build-form">type OVERLAY</textarea>
<input type="submit" value="Download" form="build-form">
<div id="status" role="status" aria-live="polite"></div>
<script>
function showSecondLayout(show) {
const layout2 = document.getElementById("layout2")
layout2.disabled = !show
layout2.hidden = !show
}
showSecondLayout(document.getElementById("add-second-layout").checked)
</script>
<script type="module" src="js/app-complex.js"></script>
</div>
</body>
</html>