mirror of
https://github.com/RGBCube/serenity
synced 2025-10-29 04:22:33 +00:00
This patch adds an additional control to KeyboardSettings allowing the user to map Caps Lock to Ctrl. Previously, this was only possible by writing to /sys/kernel/variables/caps_lock_to_ctrl. Writing to /sys/kernel/variables/caps_lock_to_ctrl requires root privileges, but KeyboardSettings will not attempt to elevate the privilege of the user if they are not root. Instead, the checkbox is rendered as un-editable. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Keyboard.gml | ||
| KeyboardSettingsWidget.cpp | ||
| KeyboardSettingsWidget.h | ||
| KeymapDialog.gml | ||
| main.cpp | ||