ShadowBlip / InputPlumber

Open source input router and remapper daemon for Linux
GNU General Public License v3.0
101 stars 12 forks source link

[bug] Setting Dualsense multiple times registers multiple controllers #219

Open aarron-lee opened 1 month ago

aarron-lee commented 1 month ago

running the following command multiple times registers duplicate controllers:

busctl call org.shadowblip.InputPlumber /org/shadowblip/InputPlumber/CompositeDevice0 org.shadowblip.Input.CompositeDevice SetTargetDevices "as" 3 ds5 keyboard mouse

As far as I can tell, only ds5 is affected, couldn't replicate for other controller types.

replicated on:

most_recent

pastaq commented 1 month ago

From @uejji :

might've found an input plumber bug. could you test this real quick? run it multiple times, it'll register multiple ds5 controllers

busctl call org.shadowblip.InputPlumber /org/shadowblip/InputPlumber/CompositeDevice0 org.shadowblip.Input.CompositeDevice SetTargetDevices "as" 3 ds5 keyboard mouse
uejji commented 1 month ago

From @uejji :

might've found an input plumber bug. could you test this real quick? run it multiple times, it'll register multiple ds5 controllers

busctl call org.shadowblip.InputPlumber /org/shadowblip/InputPlumber/CompositeDevice0 org.shadowblip.Input.CompositeDevice SetTargetDevices "as" 3 ds5 keyboard mouse

This looks familiar!