Generate user pressing key board event

Hello guys ,

I am backed. I need some guide.
i want to write function in which user press event pressL .
How can i do that ?

One way is to get input user .. and i do't wanna do that. I want to generate user 's key board event for press "l" . How to do that ?
Any one can give idea or help . thanks

can you write out what you done so far?
Topic archived. No new replies allowed.