I am using a 2015 15" MacBook Pro with 512 GB storage. There are a couple of issues that happened very quickly, so I will give you the comlete timeline:
I logged into macOS.
I noticed that Caps Lock is on, and doesn't respond; the same thing with the letter that is between o and q.
I panicked. I logged into Windows (using Boot Camp).
The same thing repeats.
Now when I try to get back to macOS (used Option, used Boot Camp in windows, even tried recovery mode to repair disk,) I boot into Windows, and there is no Mac image in Boot Camp.
I have upgraded to macOS Mojave. I have allotted 150 GB to Windows and 350 to macOS. When I see the storage in windows it is showing only 465 GB. I don't know what to make of it.
I don't use Time Machine.