Analog stick distance --> turbo speed

Post Reply
Stupidspencer
Posts: 2
Joined: 05 Jan 2014, 20:05
Location: Torrance, CA

Analog stick distance --> turbo speed

Post by Stupidspencer »

I'm trying to get my PS3 controller using Motionjoy to work in Grid 2 with the analog sticks. The problem is that throttle and steering in the game use WSAD, so to steer a certain amount you have to tap the keys at a certain rate. Its all or nothing control, so I want to make Xpadder change the keypress hold-time depending on how far the analog stick is moved: In electronics design, this is called PWM or Pulse-Width-Modulation.
For example:
Turbo speed set at .1s (duty cycle)
Analog stick at 10%: Key held for .01s, off for .09s
Analog stick at 20%: Key held for .02s, off for .08s
Analog stick at 30%: Key held for .03s, off for .07s
etc etc -->
Analog stick at 100%: Key held for .1s, off for 0s (key held for full repeat time = key held constantly)

I've been messing with advanced macro assignments in Xpadder, but so far haven't had any luck.
I realize that the "duty cycle" or key-press repeat speed needs to be tuned to how quickly the game registers key-presses. I think this game should be able to handle .1s such as in the example above.

If anybody thinks they know how to make this happen, please help.
Thanks

Oke_Doke
Xpadder Xpert
Posts: 327
Joined: 21 Dec 2009, 16:17
Location: jupiter
Contact:

Re: Analog stick distance --> turbo speed

Post by Oke_Doke »

I haven't dabbled with modulation tricks myself but here is what I found.

This thread has some helpfull examples.

Primal fear's example appears to use long repeating sequences within distance zones to create the pulse width modulation effect your looking for.

Post Reply

Return to “How do I do this combo/sequence?”