File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -509,10 +509,10 @@ private int ProcessButtonsAndStick(byte[] report_buf) {
509509 }
510510
511511 if ( other != null ) {
512- buttons [ ( int ) ( ! swapButtons ? Button . B : Button . A ) ] = other . buttons [ ( int ) Button . DPAD_DOWN ] ;
513- buttons [ ( int ) ( ! swapButtons ? Button . A : Button . B ) ] = other . buttons [ ( int ) Button . DPAD_RIGHT ] ;
514- buttons [ ( int ) ( ! swapButtons ? Button . X : Button . Y ) ] = other . buttons [ ( int ) Button . DPAD_UP ] ;
515- buttons [ ( int ) ( ! swapButtons ? Button . Y : Button . X ) ] = other . buttons [ ( int ) Button . DPAD_LEFT ] ;
512+ buttons [ ( int ) ( Button . B ) ] = other . buttons [ ( int ) Button . DPAD_DOWN ] ;
513+ buttons [ ( int ) ( Button . A ) ] = other . buttons [ ( int ) Button . DPAD_RIGHT ] ;
514+ buttons [ ( int ) ( Button . X ) ] = other . buttons [ ( int ) Button . DPAD_UP ] ;
515+ buttons [ ( int ) ( Button . Y ) ] = other . buttons [ ( int ) Button . DPAD_LEFT ] ;
516516
517517 buttons [ ( int ) Button . STICK2 ] = other . buttons [ ( int ) Button . STICK ] ;
518518 buttons [ ( int ) Button . SHOULDER2_1 ] = other . buttons [ ( int ) Button . SHOULDER_1 ] ;
You can’t perform that action at this time.
0 commit comments