Same problem for me - one day the keyboard was working fine the next day it wasn't.
I tried everything I could think of to fix it and was about to take it in for repair when I saw this post.
Tried your method and it worked perfectly.
Great advice thanks for sharing your knowledge!!