Jump to content
  • Advertisement
Sign in to follow this  
power_of_learning

To trigger a key or mouse button

This topic is 2082 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.

Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!