| View previous topic :: View next topic |
| Author |
Message |
HaraDaya
Joined: 02 Jan 2010 Posts: 2 Location: Denmark
|
Posted: Sat Jan 02, 2010 4:17 pm Post subject: Key mimicking pressure sensivity? |
|
|
So I've been playing a few games with driving included, and I am sick of how when I press accelerate it presses the pedal to the bottom. There's no inbetween. Using a keyboard obviously.
So, my question is, would it be possible to somehow mimic an analog button by, for example, setting a keydelay on the accelerate key, and using the scroll button to decrease and increase the keydelay? Or a different method?
Goal is to be able to decrease and increase the speed of a car in a game by using wheel up and wheel down. |
|
| Back to top |
|
 |
Sergio
Joined: 16 Mar 2008 Posts: 160 Location: Brooklyn
|
Posted: Sun Jan 03, 2010 12:39 am Post subject: |
|
|
The short answer is no. If the game was programmed to work that way, then in all likelihood, that's the way it's going to work.
It may be possible to trick the game. Rather than holding the key down, to press it many times (very quickly) and see what happens. If the car shows a consistent speed (as opposed to a jerking motion) then you would be able to write a hotkey that presses the key with fewer pauses between each keypress as time increases.
Though I don't have much faith in this idea. I really do not think that it will result in the smooth transition that you are looking for. _________________
 |
|
| Back to top |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 3254 Location: Simi Valley, CA
|
Posted: Sun Jan 03, 2010 3:47 am Post subject: |
|
|
It may be possible to set up a virtual joystick using a 3rd party emulator and control the axes using AHK (and have the game read the virtual joystick axes as the accelerator/brake and steering). _________________ Ternary (a ? b : c) guide TSV Table Manipulation Library
Post code inside [code][/code] tags! |
|
| Back to top |
|
 |
HaraDaya
Joined: 02 Jan 2010 Posts: 2 Location: Denmark
|
Posted: Sun Jan 03, 2010 9:31 am Post subject: |
|
|
| [VxE] wrote: | | It may be possible to set up a virtual joystick using a 3rd party emulator and control the axes using AHK (and have the game read the virtual joystick axes as the accelerator/brake and steering). |
I searched the net and found these
PPJoy http://ppjoy.bossstation.dnsalias.org/
Let's you set up a virtual joystick
GlovePIE http://carl.kenner.googlepages.com/glovepie
Let's you remap pretty much any input device into anything. Works together with PPJoy's virtual joystick too.
They seem to be what I'm looking for. Now I just need to learn how to use GlovePIE.
So in the end I guess I won't be using AHK, but I got lead on the right track by asking here, thanks. |
|
| Back to top |
|
 |
|