I just did a "poor man's" repair to my laptop's keyboard.
Some keys were no longer responding normally to key presses. "R" was the worst.
I pulled the "R" keycap off the keyboard. I cleaned the switch underneath and put it back, but it was still not working well. If I tapped the switch directly without the keycap, it worked fine. I figured tolerances must have gone off somewhere, so I slapped 4 layers of masking tape under the keycap. It works much better now. I also did the "E". I have other keys to do, but I'm taking a break from the repair to consider my options, and see whether what I've done holds up.
I do welcome advice regarding the use of alternative material rather than masking tape for this fix.
I used this article:
https://www.ifixit.com/Troubleshooting/Dell_Laptop/Keyboard+Not+Working/482862
And this video:
https://youtu.be/ORL-uA9coGE
from @iFixit to have an idea of what it would entail.
My laptop is a Dell XPS 15 9530.