F1 2022 SimHub SpeedTrap

Apps F1 2022 SimHub SpeedTrap 1.0

Login or Register an account to download this content
Hi, this is allways displayed, but you can modify it to make it ON/OFF by pressing a key. Here's what I did:
- Edit widget on SimHub.
- Create a New Layer called Live Speed.
- Move all layers to this one you create it.
- On Live Speed layer -> visible click on fx icon.
- Click on Computed Value and check Use Javascript.
- Paste this code:
Code:
var Lkey = $prop('InputStatus.KeyboardReaderPlugin.L')
var vis = 0

if(root["count"] == null){root["count"] = 0}

{
if (Lkey == 1){root["count"] = root["count"] + 1}
}

{
if (root["count"] == 1){vis = 1}
if (root["count"] == 2){vis = 0 ; root["count"] = 0}
}

return vis
- Press OK and save Widget.
- Now on SimHub - Settings - Plugins check ON "Keyboard Emulator" and "Keyboard Input".
- Restart SimHub and Speedtrap widget can be turn ON/OFF by pressing L on your keyboard.
 
Here how it looks to me (ON). Pressing L key I can turn Speedtrap OFF.
 

Attachments

  • Screenshot_gp_2022_a522_ks_barcelona_1-6-122-12-4-4.jpg
    Screenshot_gp_2022_a522_ks_barcelona_1-6-122-12-4-4.jpg
    885.4 KB · Views: 59

Latest News

To join the OverTake Racing Club races I want them to be: (multiple choice)

  • Free to access

    Votes: 143 86.1%
  • Better structured events

    Votes: 27 16.3%
  • Better structured racing club forum

    Votes: 25 15.1%
  • More use of default game content

    Votes: 21 12.7%
  • More use of fixed setups

    Votes: 50 30.1%
  • No 3rd party registration pages

    Votes: 58 34.9%
  • Less casual events

    Votes: 15 9.0%
  • More casual events

    Votes: 55 33.1%
  • Other, specify in thread

    Votes: 10 6.0%
Back
Top