1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 03:57:40 +00:00
serenity/Userland/Applications/KeyboardSettings
sbcohen2000 9e21b3f216 KeyboardSettings: Add checkbox to enable Caps Lock mapping to Ctrl
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.
2023-03-31 12:45:21 -04:00
..
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
Keyboard.gml KeyboardSettings: Add checkbox to enable Caps Lock mapping to Ctrl 2023-03-31 12:45:21 -04:00
KeyboardSettingsWidget.cpp KeyboardSettings: Add checkbox to enable Caps Lock mapping to Ctrl 2023-03-31 12:45:21 -04:00
KeyboardSettingsWidget.h KeyboardSettings: Add checkbox to enable Caps Lock mapping to Ctrl 2023-03-31 12:45:21 -04:00
KeymapDialog.gml KeyboardSettings: Improve KeymapDialog layout 2022-07-15 12:34:25 +02:00
main.cpp KeyboardSettings: Add checkbox to enable Caps Lock mapping to Ctrl 2023-03-31 12:45:21 -04:00