diff options
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r-- | kvmd/apps/__init__.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index ed6a3101..aa724979 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -363,7 +363,19 @@ def _get_config_scheme() -> Dict: "hid": { "type": Option("", type=valid_stripped_string_not_empty), + "keymap": Option("/usr/share/kvmd/keymaps/en-us", type=valid_abs_file), + + "mouse_x_range": { + "min": Option(-32768, type=valid_hid_mouse_move), + "max": Option(32767, type=valid_hid_mouse_move), + }, + + "mouse_y_range": { + "min": Option(-32768, type=valid_hid_mouse_move), + "max": Option(32767, type=valid_hid_mouse_move), + }, + # Dynamic content }, |