QUESTION Wheel inputs and ext_isButtonPressed

Discussion in 'Apps' started by lipman, Mar 30, 2022.

  1. lipman

    lipman New Member

    Joined:
    Mar 19, 2022
    Messages:
    2
    Likes Received:
    0
    Hello,

    I want to check if a button is pressed on a steering wheel attached. I see there is
    ext_isButtonPressed function
    ext_isJoystickButtonPressed
    but I'm not sure how to identify the controller Id and the specific key that needs to be the parameter.

    Also - is there a way to add a button that will be configurable through the settings menu of AC?

    Thanks in advance
     
  2. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,117
    Likes Received:
    379
    Every joystick gets assigned the first number available, starting with 0, so in 75% of the times you will use 0.

    In ContentManager you can see numbers of buttons pressed (right side, window must be wide enough):
    upload_2022-3-31_15-0-50.png

    Other than that try this AutoHotKey script (copied from AHK's own help file)
    remove ".txt" and have AHK installed:
    upload_2022-3-31_15-2-35.png
     

    Attached Files:

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice