Input System Issues(Gamepads specifically)

Comments

2 comments

  • Kenneth Burkhart

    About the POV hats...I'm testing a device.  The function gamepad_hat_value() seems to indeed take a hat index as the second argument, and it is currently returning a bit mask.  So the syntax and the example part of that document page would seem accurate, but the part in the first section about supplying the bit mask to the function and the function returning an analog(like an axis) value between 0 and 1 would be incorrect.

    This actually makes the most sense to me, as I always had it understood that POVs by design don't support analog values, and I understood that some devices do have multiple POV hats.  So it seems the function was coded correctly going by my understanding, and it is just the documentation that is off.  Note that my #3 point still stands though, that I think it would be nice if internally you were making POV hats work like another group of buttons, but since they are so different I understand if you don't.

    0
    Comment actions Permalink
  • Kenneth Burkhart

    FYI, Yal had already reported the inconsistencies with Linux back from version 2.2.  The ticket number is 173118.

    0
    Comment actions Permalink

Please sign in to leave a comment.