Make and model keyboard? Age? Condition? History of heavy gaming use?
Try another known working keyboard on your computer.
Try your keyboard on another known working computer.
Determine if the problem follows the keyboard or stays with your computer.
Manually download the keyboard drivers directly from the manufacturer's website. Reinstall the drivers and reconfigure.