Only alphanumerics and some other keys work on magic keyboard My Magic keyboard is acting very weird.  The caps lock’s light is off and non-functioning. Mainly its alphabets + numbers, Enter , Cmmd work. But the tab, space and delete keys don’t work. The right arrow key works. But if I hit the left arrow key, then it produces the following single quote: '
Is it botched or mis-configured or is some accessibility feature? I already forgot the device and re-connected it. That didn’t do anything
It’s just this one magic keyboard. I have another which works fine. I’ve done a reboot.
Sticky keys are disabled.
When I use the keyboard viewer. Nothing gets highlighted for the space or delete button. Surprisingly when I click on the left arrow key, I got the left arrow and the single quote key highlighted 

I also followed most steps from here and here but not worked for me.
I'm starting to think that this is mainly due to the bashing my little one has done on my keyboard...
Likely the keyboard is physically damaged by my child or water damaged. I just tried it with my iPad and same symptoms.
Sounds like a good opportunity to do a keyboard teardown