Does your keyboard work during POST, or when your PC is booting up? (So can you press F8 to get into Windows Boot Options, or the key to get into BIOS settings?)
If your keyboard works during boot, then it's not a hardware issue, but is likely to be a driver issue. Try booting into safe mode and see if your keyboard works.
|Desktop PC| |Macbook Air 13" (Mid 2013)|
|Windows 8.1 Pro (x64)| |AMD FX 4100 Black Edition 3.6 GHz @ 4.0 GHz OC| |Arctic Cooling Freezer 13 PRO| |Gigabyte Nvidia GeForce GTX 560 Super Overclock 1GB| |ASUS M5A78L-M/USB3 Motherboard| |Samsung 840 Pro 256GB SSD SATA III HDD| |Kingston HyperX 8GB PC3-14900 DDR3-1866| |OCZ ModXStream Pro 700W Modular PSU| |NZXT Vulcan Micro ATX Case|