This is a common problem that HP knows about.
Go to this website http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01703941&lc=en&dlc=en&cc=us&lang=en&softwareitem=ob-68739-1&os=2100&ts=true&rule=4030&product=3851338
(Basically just turn off the computer, unplug the AC adapter it, take out the battery, hold the power button to the right for 30 seconds, put the battery back in, plug the AC adapter back in, turn it on).
This will make the keyboard type again. To prevent it from happening again, you have to download a driver from hp's drivers and downloads website and download the driver "WinFlash for HP Notebook System BIOS (for Notebooks with AMD Processors) - Microsoft Windows Vista-Based". http://www.hp.com/#Support
For HP Touchsmart Tx2Z, Vista 64-bit, the driver is located here: