1. Hey! Guest! The 32nd GMC Jam will take place between Feb 22nd, 12:00 UTC (Friday noon) and Feb 25th, 12:00 UTC (Monday noon). Why not join in! Click here to find out more!
    Dismiss Notice

Question - IDE gp_shoulderrb not registering on right trigger

Discussion in 'GameMaker Studio 2 Community Tech Support' started by boymakesnoise, Feb 11, 2019 at 11:09 PM.

  1. boymakesnoise

    boymakesnoise Member

    Joined:
    Feb 9, 2017
    Posts:
    2
    draw_text(10, 20, string(gamepad_axis_value(0, gp_shoulderrb))) gives me no result (0) when pressing the right trigger, but does print a value when I press the left joystick to the left or right.
    Same goes for gp_shoulderlb.
    My Xbox360 controller registers all buttons and axes fine in the windows diagnostic window for game controllers.
    Does anyone know where my problem lies?
     
  2. IndianaBones

    IndianaBones Member

    Joined:
    Jul 5, 2016
    Posts:
    1,866
    What version of GMS 2 (IDE and Runtime) are you using?
     
  3. boymakesnoise

    boymakesnoise Member

    Joined:
    Feb 9, 2017
    Posts:
    2
    My bad.
    IDE: v2.2.1.375
    Runtime: v2.2.1.291
     
  4. IndianaBones

    IndianaBones Member

    Joined:
    Jul 5, 2016
    Posts:
    1,866
    There was a bug in an earlier version of GMS2 where the buttons werent mapped correctly.

    Im on my phone and cant seem to check the release notes page for 2.2.1

    If you are on the latest then Im not sure what the problem is, they seem to be working for me.
     

Share This Page

  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