Add: Added a "p"-button to the apps keyboard (required for selecting a player)
This commit is contained in:
1 parent
8f5a190ce9
commit
59b8fb5406
2 files changed
+9
No files matched your search
@@ -297,6 +297,9 @@
|
|||||||
<div class="ui-block-c">
|
<div class="ui-block-c">
|
||||||
<a data-role="button" id="keyboardButtonReturn" data-i18n="keyboardButtonReturn"></a>
|
<a data-role="button" id="keyboardButtonReturn" data-i18n="keyboardButtonReturn"></a>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="ui-block-c">
|
||||||
|
<a data-role="button" id="keyboardButtonP">P</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div style>
|
<!-- <div style>
|
||||||
<label for="keyboardButtonKeys" data-i18n="keyboardButtonKeys"></label>
|
<label for="keyboardButtonKeys" data-i18n="keyboardButtonKeys"></label>
|
||||||
|
|||||||
@@ -926,6 +926,12 @@ function initKeyboardPageHandler() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('#keyboardButtonP').click(function () {
|
||||||
|
request({
|
||||||
|
url: "sendKeyEvent?key=p"
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
$('#keyboardButtonKeys').keyup(function (e) {
|
$('#keyboardButtonKeys').keyup(function (e) {
|
||||||
var c = String.fromCharCode(e.keyCode);
|
var c = String.fromCharCode(e.keyCode);
|
||||||
if (c.match(/\w/)) {
|
if (c.match(/\w/)) {
|
||||||
|
|||||||
Reference in new issue
Block a user