Hardware keyboard layout (outside of Kodi)

If still relevant, my solution here: https://discourse.osmc.tv/t/bug-report-danish-hardware-keyboard-layout-not-working/3507/61?u=hvitrebrithil