From 8850944f83c365c2ba233fc085cd9ad1db9727c2 Mon Sep 17 00:00:00 2001 From: Elias Daler Date: Tue, 3 Apr 2018 00:11:31 +0300 Subject: [PATCH] Changed getDescription output: Alt -> Meta, System -> Super --- src/SFML/Window/Unix/KeyboardImpl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SFML/Window/Unix/KeyboardImpl.cpp b/src/SFML/Window/Unix/KeyboardImpl.cpp index 7f70e588..5f89d617 100644 --- a/src/SFML/Window/Unix/KeyboardImpl.cpp +++ b/src/SFML/Window/Unix/KeyboardImpl.cpp @@ -527,12 +527,12 @@ String KeyboardImpl::getDescription(Keyboard::Scancode code) case Keyboard::ScanLControl: return "Control (Left)"; case Keyboard::ScanLShift: return "Shift (Left)"; - case Keyboard::ScanLAlt: return "Alt (Left)"; - case Keyboard::ScanLSystem: return "Meta (Left)"; + case Keyboard::ScanLAlt: return "Meta (Left)"; + case Keyboard::ScanLSystem: return "Super (Left)"; case Keyboard::ScanRControl: return "Control (Right)"; case Keyboard::ScanRShift: return "Shift (Right)"; - case Keyboard::ScanRAlt: return "Alt (Right)"; - case Keyboard::ScanRSystem: return "Meta (Right)"; + case Keyboard::ScanRAlt: return "Meta (Right)"; + case Keyboard::ScanRSystem: return "Super (Right)"; } return "Unknown Scancode"; // no guess good enough possible.