You will need to provide considerably more information than you have - we are not psychic!
Try to either provide screenshots of your keyboard events, or better still, a .capx that we can test for ourselves. It is more than likely a problem with your events.
Have you done the platform tutorial?