• Advertisement
Sign in to follow this  

To trigger a key or mouse button

This topic is 1905 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Sign in to follow this  

  • Advertisement