The online racing simulator
LfS Script For The DFP
(6 posts, started )
LfS Script For The DFP
Hi!

I want to map keys to my wheel. Logi profiler doesn't work anymore (I guess because of the LfS script?).

I think I can do that with the new script system but I don't know how.

For example I want to map F9 to button #8 of my wheel.

Help me please.
#2 - Renku
Quote from SladiVadi :Hi! Logi profiler doesn't work anymore (I guess because of the LfS script?).

Works here flawlessly, I haven't started using scripts fully yet.
Thanks!

Hm, it just stopped working I guess. I used do it via profiler.

Now it won't work and I get two additional usable buttons in LfS too.

Before, two button pairs of the wheel had the same function in LfS.

I didn't change anything except LfS patches.
I've stopped using the profiler altogether.

To map the F9 key you need to run a script file via the CTRL keys, then map the CTRL ket to your DFP.

1st click on Text Keys in the CONTROLS page of LFS
Select the Ctrl + F key you want to map the script to.
The write a script file to say press F9.
Map the Ctrl + F key to your button and hey presto.

Please forgive my bad explanation of this, its as simple as i can make it......
i think!!

All the best

Andrew

EDIT

Having said all that, i'm pretty sure Scawen mentioned he would try and assign the F keys directly, so you wouldn't have to write the script files, but i can't remember when that would be.
I'll expand a bit more.

the ctrl + f5 key calls a script file called cycle_1_f9.lfs
that file is:

press F9
ctrlf 5 /run cycle_2_f9

the /run cycle_2_f9 calls another script file called cycle_2_f9
that file is:

press F9
ctrlf 5 /run cycle_end_f9

the /run cycle_end_f9 calls another script file called cycle_end_f9
that filed is:

press F9
ctrlf 5 /run cycle_1_f9

basically the script files create a loop pressing the F9 once to turn it on, and again to turn it off!!

Then in the Controls you can set the button on the DFP to Ctrl F5

I really hope this helps!
Thanks!


edit:
Of course NOW it works in the profiler. :P

LfS Script For The DFP
(6 posts, started )
FGED GREDG RDFGDR GSFDG