refactor: pointerMove

This commit is contained in:
cha0s 2022-05-10 16:12:54 -05:00
parent 91c24ac6d4
commit 661233c2ef

View File

@ -57,7 +57,7 @@ function Play() {
selfEntity.listenForInput(inputNormalizer);
selfEntity.actionRegistry.setTransformerFor('UseItem', (type, value) => {
switch (type) {
case 'joystick':
case 'joystickMove':
return value === 0 ? -1 : selfEntity.activeSlotIndex;
case 'buttonPress':
case 'keyDown':