diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/input_common/gcadapter/gc_poller.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input_common/gcadapter/gc_poller.cpp b/src/input_common/gcadapter/gc_poller.cpp index 65454cb42..f45983f3f 100644 --- a/src/input_common/gcadapter/gc_poller.cpp +++ b/src/input_common/gcadapter/gc_poller.cpp | |||
| @@ -263,7 +263,8 @@ Common::ParamPackage GCAnalogFactory::GetNextInput() { | |||
| 263 | if (analog_x_axis == -1) { | 263 | if (analog_x_axis == -1) { |
| 264 | analog_x_axis = axis; | 264 | analog_x_axis = axis; |
| 265 | controller_number = static_cast<int>(port); | 265 | controller_number = static_cast<int>(port); |
| 266 | } else if (analog_y_axis == -1 && analog_x_axis != axis && controller_number == port) { | 266 | } else if (analog_y_axis == -1 && analog_x_axis != axis && |
| 267 | controller_number == static_cast<int>(port)) { | ||
| 267 | analog_y_axis = axis; | 268 | analog_y_axis = axis; |
| 268 | } | 269 | } |
| 269 | } | 270 | } |