Commit fb786854 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Vout: Correctly handle the mousewheeling

Close #3262
parent 9fa5b7ae
......@@ -79,6 +79,12 @@ static inline void vout_SendEventMousePressed(vout_thread_t *vout, int button)
case MOUSE_BUTTON_RIGHT:
var_SetBool(vout->p_libvlc, "intf-popupmenu", true);
break;
case MOUSE_BUTTON_WHEEL_UP:
vout_SendEventKey(vout, KEY_MOUSEWHEELUP);
break;
case MOUSE_BUTTON_WHEEL_DOWN:
vout_SendEventKey(vout, KEY_MOUSEWHEELDOWN);
break;
}
}
static inline void vout_SendEventMouseReleased(vout_thread_t *vout, int button)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment