I would rather to remove this `cases` from the switch and add directly like `this.fakePinInput.addEventListener('keypress', this.fakeInputValues.bind(this));` and modify `fakeInputValues` in order to receive directly the `event` and create `fakeInput, code` vars.