Xarthor this is pretty good, i assume this is from my post about how to do this. I didn't think of doing it this way, but the problem is that str_for_key doesn't support mouse functions it's keyboard exclusive. i will be starting on one that will support mouse and joystick all in one, but it will take some time because i have to use the key numbers and then tell it to convert it to the key name "ie 1 = esc".
thanks for the keyboard controls

this would be very helpful for a puzzle game or any game that requires keyboard