Skip to content

Commit bd40c78

Browse files
authored
Merge pull request phaserjs#3377 from jmcriat/patch-1
set default gamepad button threshold to 1
2 parents 588b8f7 + 128691b commit bd40c78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/input/gamepad/Button.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ var Button = new Class({
6969
* @default 0
7070
* @since 3.0.0
7171
*/
72-
this.threshold = 0;
72+
this.threshold = 1;
7373

7474
/**
7575
* Is the Button being pressed down or not?

0 commit comments

Comments
 (0)