From 8720a1a183f4054612c8aea48bc069ded2b73cc0 Mon Sep 17 00:00:00 2001 From: shenleban tongying Date: Tue, 12 Nov 2024 07:13:32 -0500 Subject: [PATCH] comment --- src/macos/machotkeywrapper.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/macos/machotkeywrapper.mm b/src/macos/machotkeywrapper.mm index 8752c138..5773da3b 100644 --- a/src/macos/machotkeywrapper.mm +++ b/src/macos/machotkeywrapper.mm @@ -39,8 +39,7 @@ std::vector mapping; /// * https://github.com/libsdl-org/SDL/blob/fc12cc6dfd859a4e01376162a58f12208e539ac6/src/video/cocoa/SDL_cocoakeyboard.m#L345 /// * https://github.com/qt/qtbase/blob/922369844fcb75386237bca3eef59edd5093f58d/src/gui/platform/darwin/qapplekeymapper.mm#L449 /// -/// Known flaw: -/// * UCKeyTranslate doesn't handle modifiers at all. +/// Known possible flaws 1) UCKeyTranslate doesn't handle modifiers at all 2) Handling keyboard switching void createMapping() { if (mapping.empty()) {