Jump to content
Sign in to follow this  
chris330

Capturing user input.

Recommended Posts

Hi! Is it possilble to capture user input from a joystick? I know Kegetys made a tool that enabled us to capture user input through key commands. I bought ArmA 2 (arrived today) to give me something to do and I want to look at improving the flight model as a personal hobby. I don't want to try to do anything with an existing vehicle type however as the game's built in flight model will start making planes re-act in relation to its own rules when the user inputs a joystick command.

This won't work, I need to capture user input from a joystick, run the changes to the control surfaces (ailerons, elevators) through my own flight model calc engine and produce a resultant change in the vehicles's pitch bank and heading using the vector commands.

Anyone any idea how this is done? I know it can be, just not sure how yet.

Thanks!

Share this post


Link to post
Share on other sites

if displaySetEventHandler works with joysticks you can use it..

sorry, i cant test that since i dont have a joystick.

Share this post


Link to post
Share on other sites

That's great thanks I'm not installing the game till tomorrow I'll try out that command then thnx for the heads up ;)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×