This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
OpenSource
/
dc-sdk
mirror of
https://github.com/dvt3d/dc-sdk
Watch
4
Star
0
Fork
0
Code
Issues
0
Releases
92
Wiki
Activity
Browse Source
fix the keyboard roaming issue
#88
tags/2.12.0
Caven Chen
3 years ago
parent
26b9dd7673
commit
30cdec6b03
1 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
2
0
modules/roaming/KeyboardRoaming.js
+ 2
- 0
modules/roaming/KeyboardRoaming.js
View File
@@ -112,9 +112,11 @@ class KeyboardRoaming {
}
break
case 'A'.charCodeAt(0):
case 37:
flag = 'moveLeft'
break
case 'D'.charCodeAt(0):
case 39:
flag = 'moveRight'
break
case 'Q'.charCodeAt(0):
Write
Preview
Loading…
Cancel
Save