Jump to content

Help - steering wheel pedals


Recommended Posts

Hello everybody,

I'm completely new to AutoIt, searched forums, but didn't find answer.

I would like to ask, if it is possible with AutoIt emulate pressing steering wheel pedals.

For example, after pressing key "A" on keyboard script will emulate pressing gas pedal on pedals. "B" - brake pedal, "C" - clutch pedal

If it is possible, can someone navigate me or provide example script?

Thank you,

-bubamara

Link to comment
Share on other sites

what r u trying to tell bobamaro, that the game cant b played with kboard and only with steering wheel?

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
Share on other sites

Well, yes and no. It's not really important right now, but with different keys I would like to assign percentage of given gas : 25%, 50%, ...

Of course in case, if its possible to emulate it in such way

Hope you understand me, sorry for my english

Link to comment
Share on other sites

Nope, you can only control it with steering wheel.

Steering can be emulated with jmouse. Well, foot pedals too, but only as digital 0/1 input. That's why I want to emulate gas/brake/clutch pedals with different "pressure"

Link to comment
Share on other sites

What volly said.

The game/software in question will have its own files it installs for controling the pedals and for starters you would most likely need all the games technical documentation.

Which is way out of my league.

If it were me, I would start by experimenting with the keys to see If I could emulate the accelerator pedal by tapping the corresponding key at different speeds and durations.

For example key down is going to be flat out, but a certain timed amount of key ups key downs could achieve the effect of leveling out your speed.

If that was the case then some sort of mathematical formula would ensue to create a function, and I would go back to my crayon drawing.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

One more thing... There's an application called PPJoy. It can create virtual joystick and game can recognize it without problems.

Can I set joystick's X,Y,Z axis via AutoIt? This should solve tapping problem...

Thanks,

-bubamara

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...