microsoft / microsoft/WSL

Add uinput module to distro so we can use custom mouse mappings (ex: left mouse)

Open
#11,270 2 comments 4 reactions 0 assignees View on GitHub
feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

**Is your feature request related to a problem? Please describe.**
I would like to use a left mouse in the Ubuntu WSL Distribution
The inbuilt input-remapper in Ubuntu 22.04 does not work as the uinput module is not present in the out of box ubuntu for WSL2
The service fails to start with the error: not able to see uinput file

**Describe the solution you'd like**
I would like to use a left mouse in the Ubuntu WSL Distribution; Other users on the web are looking for custom mouse buttons (4th and 5th button for gaming, etc)

**Describe alternatives you've considered**
Custom ubuntu distribution for 22.04

**Additional context**
Any other way to get a left mouse to work inside Ubuntu for WSL? Please advice.

Contributor guide

Open the contributing guide

Research direction

Start by investigating how the Ubuntu WSL Distribution provides kernel modules and the reported missing uinput file, using the input-remapper failure described in the issue as the initial reproduction. Done means the WSL Ubuntu distribution exposes uinput so input-remapper and custom mouse mappings, including additional mouse buttons, can work.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, ubuntu
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.