Misplaced keys on Spanish keyboard layout
I have a Logitech MX Keys Spanish keyboard but the keys to not correspond to the keystrokes. For example, the ¿ and ? keys are shown on the top right of the keyboard but are actually produced by the bottom right keys. I'm running Mojave with the keyboard preferences set to European keyboard. Is there an easy way to solve this?
iMac 21.5″, macOS 10.13