diff --git a/CursorLang/CursorLang.csproj b/CursorLang/CursorLang.csproj index 3e9d2d1..f48608b 100644 --- a/CursorLang/CursorLang.csproj +++ b/CursorLang/CursorLang.csproj @@ -6,6 +6,7 @@ enable enable true + app.manifest diff --git a/CursorLang/app.manifest b/CursorLang/app.manifest new file mode 100644 index 0000000..d18a88f --- /dev/null +++ b/CursorLang/app.manifest @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + true + + + diff --git a/README.md b/README.md index 51f1f92..459b03f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ # cursor-lang -The WPF application displays the keyboard layout at the cursor \ No newline at end of file +The WPF application displays the keyboard layout at the cursor + +The app requests administrator rights on startup. Windows does not deliver +keyboard input to a low-level hook while an app of a higher integrity level +holds the focus, so without elevation the Caps Lock hotkey would silently stop +working in Task Manager, Registry Editor and anything else started as +administrator. Note that a plain shortcut in the startup folder cannot launch an +elevated app — use a Task Scheduler task with the "highest privileges" flag. \ No newline at end of file