Can you use the `ev.keyCode` approach for consistency?