Skip to content

Commit

Permalink
enabled relative mouse by default on all v2+ configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Mar 1, 2025
1 parent 9fdb861 commit ec9c12f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions configs/kvmd/main/v4mini-hdmi-rpi4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ kvmd:

hid:
type: otg
mouse_alt:
device: /dev/kvmd-hid-mouse-alt

atx:
type: gpio
Expand Down
2 changes: 0 additions & 2 deletions configs/kvmd/main/v4plus-hdmi-rpi4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ kvmd:

hid:
type: otg
mouse_alt:
device: /dev/kvmd-hid-mouse-alt

atx:
type: gpio
Expand Down
2 changes: 1 addition & 1 deletion kvmd/plugins/hid/otg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def get_plugin_options(cls) -> dict:
"horizontal_wheel": Option(True, type=valid_bool),
},
"mouse_alt": {
"device": Option("", type=valid_abs_path, if_empty="", unpack_as="device_path"),
"device": Option("/dev/kvmd-hid-mouse-alt", type=valid_abs_path, if_empty="", unpack_as="device_path"),
"select_timeout": Option(0.1, type=valid_float_f01),
"queue_timeout": Option(0.1, type=valid_float_f01),
"write_retries": Option(150, type=valid_int_f1),
Expand Down
4 changes: 2 additions & 2 deletions testenv/v2-hdmi-rpi4.override.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ kvmd:
mouse:
device: /dev/null
# absolute_win98_fix: true
# mouse_alt:
# device: /dev/null
mouse_alt:
device: /dev/null
noop: true

msd:
Expand Down
2 changes: 2 additions & 0 deletions testenv/v2-hdmiusb-rpi4.override.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ kvmd:
device: /dev/null
mouse:
device: /dev/null
mouse_alt:
device: /dev/null
noop: true

msd:
Expand Down

0 comments on commit ec9c12f

Please sign in to comment.