Skip to content

Commit

Permalink
joystick/wiiu: minor style nits
Browse files Browse the repository at this point in the history
  • Loading branch information
ashquarky committed Jul 5, 2020
1 parent 0b872ac commit d1e8507
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/joystick/wiiu/SDL_wiiujoystick.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@ static void WIIU_JoystickUpdate(SDL_Joystick *joystick)
}

/* touchscreen */
window = SDL_GetFocusWindow();
if (window != NULL) {
window = SDL_GetFocusWindow();
if (window != NULL) {
VPADGetTPCalibratedPoint(VPAD_CHAN_0, &tpdata, &vpad.tpNormal);
if (tpdata.touched) {
/* Send an initial touch */
Expand Down Expand Up @@ -531,7 +531,7 @@ SDL_JoystickDriver SDL_WIIU_JoystickDriver =
WIIU_JoystickDetect,
WIIU_JoystickGetDeviceName,
WIIU_JoystickGetDevicePlayerIndex,
WIIU_JoystickSetDevicePlayerIndex,
WIIU_JoystickSetDevicePlayerIndex,
WIIU_JoystickGetDeviceGUID,
WIIU_JoystickGetDeviceInstanceID,
WIIU_JoystickOpen,
Expand Down

0 comments on commit d1e8507

Please sign in to comment.