mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-13 18:10:20 -07:00
Consolidated some Keyboard methods, map key codes using KeyEvent
This commit is contained in:
parent
9701d3d1c8
commit
4532188a18
5 changed files with 163 additions and 56 deletions
|
|
@ -370,8 +370,8 @@ public final class client extends GameShell {
|
|||
if ((SignLink.anInt5928 == 3 && Static83.modeWhere != 2) || GlobalConfig.SELECT_DEFAULT_WORLD) {
|
||||
Static125.worldId = Static187.worldListId;
|
||||
}
|
||||
Static156.init(); // keyboard
|
||||
Static19.start(GameShell.canvas); // keyboard
|
||||
Keyboard.init(); // keyboard
|
||||
Keyboard.start(GameShell.canvas); // keyboard
|
||||
Static88.start(GameShell.canvas); // mouse
|
||||
Static71.mouseWheel = Static44.create();
|
||||
if (Static71.mouseWheel != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue