Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 03 Feb 2013
Offline Last Active Feb 04 2013 12:12 PM

Topics I've Started

To trigger a key or mouse button

03 February 2013 - 07:12 AM

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.