Skip to content

Commit

Permalink
Update ray-controller.js
Browse files Browse the repository at this point in the history
  • Loading branch information
borismus committed Sep 14, 2017
1 parent fb6e0fc commit 65f312f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ray-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default class RayController extends EventEmitter {

this.gamepad = gamepad;
if (gamepad) {
if(gamepad.hand){
if(gamepad.hand) {
this.isLeftHanded = (gamepad.hand === 'left');
}
let pose = gamepad.pose;
Expand Down

0 comments on commit 65f312f

Please sign in to comment.