Skip to content

Commit

Permalink
Remove trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
kimci86 committed Nov 12, 2022
1 parent 0534e4f commit f6a4ea1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/SFML/Window/OSX/HIDInputManager.mm
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@
case 0x4F: return Keyboard::Scan::F18;
case 0x50: return Keyboard::Scan::F19;
case 0x5A: return Keyboard::Scan::F20;

/* TODO Those are missing:
* case 0x: return Keyboard::Scan::F21;
* case 0x: return Keyboard::Scan::F22;
Expand Down Expand Up @@ -938,7 +938,7 @@
CFRelease(devices);
return NULL;
}

return devices;
}

Expand Down
2 changes: 1 addition & 1 deletion src/SFML/Window/OSX/SFOpenGLView+keyboard.mm
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ -(void)flagsChanged:(NSEvent*)theEvent
{
// The scancode always depends on the hardware keyboard, not some OS setting.
sf::Keyboard::Scancode code = sf::priv::HIDInputManager::nonLocalizedKey([event keyCode]);

// Get the corresponding key under the current keyboard layout.
sf::Keyboard::Key key = sf::Keyboard::localize(code);

Expand Down

0 comments on commit f6a4ea1

Please sign in to comment.