Custom велосипед for mouse and touch input