I just recently downloaded the Technic Launcher to Minecraft and I have been playing Hexxit. This morning I had nothing to do so I played for around 4 hours. Soon after I noticed I would stop sprinting after I had started. Then it got worse to the point where the S and W key ( The ones that I use to move forwards and backwards) copmpletely stopped working. My character froze and I couldn't move. I could go left and right and I could jump, but the S and W just wouldn't work. I opened the chat menu to type, and they still wouldn't work. Eventually I closed down Minecraft and went to google, nothing changed the keys still wouldn't work. After a while they worked again, so I hopped back on Minecraft and tried another time, It worked for about 10 minutes before they stopped again. I have tried everything I know how to do. I even launched normal Minecraft, and nothing changed. I have a Toshiba laptop so I can't go buy a new keyboard( Maybe I can, i'm not to sure) I've tried shutting it down, restarting it, removing the battery, and holding down the ON button. Nothing works. Sorry for the long paragraph but I really don't know what to do. Any help would be much appreciated. Thank you.
Added (1). Bb Major, yes they work fine outside of Minecraft. But, if I leave Minecraft right after it begins, then they won't work. Only after I hit SHIFT and CAPS LOCK does it return to normal.