Implementing raw input [SOLVED]

I want to add raw gamepad input to my game and allow the player to define button actions. Presently the ‘pressed’, ‘released’ and ‘repeated’ flags are always false. Do I have to implement this myself?

Also on the off-chance has anyone already done this sort of thing and made a native extension?


Yes, I believe you need to look at transitions of the action.value from 0 to 1 and vice versa for pressed and released. I’ll take a look at the code to confirm.

1 Like

Yes, you need to implement this yourself. Nothing is applied to the raw input as far as I can tell.

1 Like

Ok, great - thanks.