Consolidated some Keyboard methods, map key codes using KeyEvent

This commit is contained in:
Pazaz 2022-04-23 14:10:49 -04:00
parent 9701d3d1c8
commit 4532188a18
5 changed files with 163 additions and 56 deletions

View file

@ -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) {