I have a HP QWERTZ (german) bluetooth keyboard but would like to remap a couple of buttons, would this be possible?

Basicly I would like to switch Y and Z and also one more key to make it behave like a swedish layout, any idea on how to do this? Could i just alter some file on my Touchpad or would that also affect the on-screen keybord?