updated OS X port to support sf::Event::KeyEvent::System.
This commit is contained in:
parent
ede01df778
commit
becf51572f
@ -603,6 +603,7 @@ sf::Key::Code NonLocalizedKeys(unsigned short keycode);
|
||||
key.Alt = modifiers & NSAlternateKeyMask;
|
||||
key.Control = modifiers & NSControlKeyMask;
|
||||
key.Shift = modifiers & NSShiftKeyMask;
|
||||
key.System = modifiers & NSCommandKeyMask;
|
||||
|
||||
// State
|
||||
BOOL rightShiftIsDown = NO;
|
||||
@ -1018,6 +1019,7 @@ sf::Key::Code NonLocalizedKeys(unsigned short keycode);
|
||||
key.Alt = modifierFlags & NSAlternateKeyMask;
|
||||
key.Control = modifierFlags & NSControlKeyMask;
|
||||
key.Shift = modifierFlags & NSShiftKeyMask;
|
||||
key.System = modifierFlags & NSCommandKeyMask;
|
||||
|
||||
// Key code.
|
||||
key.Code = sf::Key::Count;
|
||||
|
Loading…
Reference in New Issue
Block a user