From 6a73bc5b009a41167a27a153daf82e0b3d83a4e9 Mon Sep 17 00:00:00 2001 From: Nelli Skogman Date: Sun, 9 Nov 2025 20:31:17 +0100 Subject: [PATCH] Give the super key a name distinct from the meta key --- src/main/scala/introprog/PixelWindow.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/introprog/PixelWindow.scala b/src/main/scala/introprog/PixelWindow.scala index 939ec06..7038219 100644 --- a/src/main/scala/introprog/PixelWindow.scala +++ b/src/main/scala/introprog/PixelWindow.scala @@ -13,7 +13,7 @@ object PixelWindow: import java.awt.event.KeyEvent._ Map( VK_META -> "Meta", - VK_WINDOWS -> "Meta", + VK_WINDOWS -> "Super", VK_CONTROL -> "Ctrl", VK_ALT -> "Alt", VK_ALT_GRAPH -> "Alt Gr", @@ -362,4 +362,4 @@ class PixelWindow( frame.pack() frame.setVisible(true) } -} \ No newline at end of file +}