mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-23 05:54:19 +02:00
Improve naming convention
This commit is contained in:
parent
d017f53a25
commit
8660346f76
2 changed files with 3 additions and 3 deletions
|
|
@ -186,7 +186,7 @@ definekey top <key> mode root
|
|||
Enable or disable send_events for specified input device -
|
||||
Disabling send_events disables the input device.
|
||||
|
||||
*keybindings [enable|disable]*
|
||||
*keybindings [enabled|disabled]*
|
||||
Enable or disable keybinding interpretation for a specific keyboard.
|
||||
|
||||
*left_handed enabled|disabled*
|
||||
|
|
|
|||
4
parse.c
4
parse.c
|
|
@ -341,9 +341,9 @@ parse_input_config(char **saveptr, char **errstr) {
|
|||
goto error;
|
||||
}
|
||||
} else if(strcmp(setting, "keybindings") == 0) {
|
||||
if(strcmp(value, "enable") == 0) {
|
||||
if(strcmp(value, "enabled") == 0) {
|
||||
cfg->enable_keybindings = true;
|
||||
} else if(strcmp(value, "disable") == 0) {
|
||||
} else if(strcmp(value, "disabled") == 0) {
|
||||
cfg->enable_keybindings = false;
|
||||
} else {
|
||||
*errstr = log_error(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue