Skip to content

Commit 934bd24

Browse files
fixing gamepad
1 parent ab019bf commit 934bd24

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

gamepad_controller.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export class GamepadController{
33
constructor(gamepad){
44
this.actions = null
55
this.actions_time = null
6-
this.k_omega = 0.001;
6+
this.k_omega = 1.0;
77
gamepad.addListener((output) => {
88
this.actions = output
99
this.actions_time = performance.now()
@@ -71,6 +71,9 @@ export class GamepadController{
7171
return rpms_clipped.map(x => x * 2 - 1)
7272
})
7373
}
74+
get_reference(states){
75+
return null
76+
}
7477
reset() {
7578
}
7679
}

0 commit comments

Comments
 (0)