Sign in to follow this  

To trigger a key or mouse button

Recommended Posts

Hello, everybody.

I am in a level between beginner and advanced and that is closer to beginner in using SDL as well as to be able to satisfy myself by dealing with certain sections of the library according to my needs. If we look at the perspective of using event, I can check events of keyboard, mouse and joystick for now but I don't know how to trigger a key or to click a right or left mouse button by any code. Is there a way of doing this with certain SDL functions and structures or code blocks which contain certain commands?

Not: My English knowledge may not be enough to express my problem. I am not right sure if these structures of sentence is suitable according to English grammar rules so I am sorry. I tried to write clear as best I can. I hope you understand it.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this