re-mapped emergency to Enter key
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -4,7 +4,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>de.srsoftware</groupId>
|
<groupId>de.srsoftware</groupId>
|
||||||
<artifactId>web4rail</artifactId>
|
<artifactId>web4rail</artifactId>
|
||||||
<version>0.11.26</version>
|
<version>0.11.27</version>
|
||||||
<name>Web4Rail</name>
|
<name>Web4Rail</name>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<description>Java Model Railway Control</description>
|
<description>Java Model Railway Control</description>
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ function heartbeat(data){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function keypress(ev){
|
function keypress(ev){
|
||||||
if (ev.key === " ") request({realm:"cu",action:"emergency"})
|
if (ev.code === 'Enter') request({realm:"cu",action:"emergency"});
|
||||||
}
|
}
|
||||||
|
|
||||||
function moveTile(x,y){
|
function moveTile(x,y){
|
||||||
|
|||||||
Reference in New Issue
Block a user