I regularly use an apple bluetooth keyboard with my Samsung tablet. When it was running the stock ROM (Android 7.0) the Esc key was mapped to the back action.
Now that I have installed LineageOS 16 (Android 9.0) the Esc key no longer mimics back. Instead I have to use cmd+backspace. This is annoying, because it is simpler to press a single keystroke.
Is it possible to remap the Esc key to the back action?