diff options
author | Devaev Maxim <[email protected]> | 2021-05-06 19:38:49 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-05-06 19:38:49 +0300 |
commit | 3aa92a87d4df60d7a0fcc09bf3091e2110a48458 (patch) | |
tree | c76f96b9ca917dbebb0e76601f81c27ba84c164b /kvmd/apps/__init__.py | |
parent | e35aa1199b0a8756a43ec77c64058bd5ebf0d934 (diff) |
option to ignore some keys
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r-- | kvmd/apps/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index 1e54dfa3..30992f33 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -370,12 +370,12 @@ def _get_config_scheme() -> Dict: "type": Option("", type=valid_stripped_string_not_empty), "keymap": Option("/usr/share/kvmd/keymaps/en-us", type=valid_abs_file), + "ignore_keys": Option([], type=functools.partial(valid_string_list, subval=valid_hid_key)), "mouse_x_range": { "min": Option(MouseRange.MIN, type=valid_hid_mouse_move), "max": Option(MouseRange.MAX, type=valid_hid_mouse_move), }, - "mouse_y_range": { "min": Option(MouseRange.MIN, type=valid_hid_mouse_move), "max": Option(MouseRange.MAX, type=valid_hid_mouse_move), |