Cycling commands - G27

Discussion in 'General Discussion' started by Lefteris Axiotis, Dec 5, 2017.

  1. Lefteris Axiotis

    Lefteris Axiotis Registered

    Joined:
    Apr 19, 2016
    Messages:
    22
    Likes Received:
    4
    I participate in an f1 league and the current mod comes with 8 different fuel mixtures and 3 different boost settings. In addition with other settings it doesn leave many buttons available to me. So i was wondering if there is a way through cycling commands i could press one button ONCE and set the car to fuel mix6 and if i could press another button, or the same, ONCE and set it back to mixture 1 for example.

    I tried a few thing via the cycle commmands on logitech profiler but failed.
    Any help on this would me much appreciated guys.
     
    Alejandro1 likes this.
  2. Tech G

    Tech G Registered

    Joined:
    Jan 19, 2017
    Messages:
    58
    Likes Received:
    32
    Here you go. This is a similar method to what I have been using most of this year, with up to 18 unique functions from the G27s 6 buttons. AutoHotKey is quite straight forward to code, with plenty of help online.

    Credit: Bullet - https://pantheracingdivision.com/fo...ech-tips/4099-g27-virtual-buttons-v3#post4099

    [​IMG]


    This is a script that uses autohotkey language to add more function to the buttons on the wheel of the G27, by holding one button others work as another function.

    It listens to the buttons pressed on the wheel and type the keys on the keyboard, on the game you bind the actions to the letters

    Takes some getting used to, but it's worth having access to more stuff without taking hands off the wheel

    Installation

    - Download and install AutoHotKey: https://autohotkey.com/
    - Download the script: http://pantheracingdivision.com/down...al-buttons.rar
    - Double click g27-virtual-buttons.ahk to run
    - Bind the function on the game to the letters on the spreadsheet

    * The blinklights turns on and off the lights 4 times, you just need to bind the headlights to (r)

    To run the script on windows start put a shortcut of script on the startup folder
    http://www.howtogeek.com/208224/how-...n-windows-8.1/

    Troubleshooting

    The default script listen to Joystick 1
    If your wheel is detected as another number you need to run joystick2 or joystick3 version

    The JoystickTest.ahk show the joystick number that is been used: (#1)

    [​IMG]

    Customization

    This layout is what works best for me, for now, if you want anything different just bind other functions to the letters
    The spreadsheet is just a guide so you remember what you bind where

    Keep in mind that the key that you hold is activated for a millisecond until you press the second key, then the script releases the hold key.
    That's why I used the look and teamspeak as hold buttons, DRS for example, wouldn't work.

    To customize the letters that are pressed, open the script file with notepad and change the (;Key Bindings) section

    Tip

    Make a backup of default.sav before changing you key bindings so you can revert back easily
    C:\Program Files\Steam\userdata\STEAM-USER-ID\234630\local\project cars\profiles
     
  3. Alejandro1

    Alejandro1 Registered

    Joined:
    Aug 17, 2014
    Messages:
    75
    Likes Received:
    5
    When it comes to brake bias/etc the Autohotkey method is reasonable.
    But it would be nice to have the game itself giving the player the option to preset 3 or more positions that could be selected going up and down with just 2 keys.
    Just like in real life F1.
     
  4. Lefteris Axiotis

    Lefteris Axiotis Registered

    Joined:
    Apr 19, 2016
    Messages:
    22
    Likes Received:
    4
    Amazing!!! Thank you so much!!
     

Share This Page