scawp / Steam-Deck.Auto-Disable-Steam-Controller

Other
93 stars 14 forks source link

Can‘t add mouse and keyboard to list (script not working) #7

Open Patschen opened 1 year ago

Patschen commented 1 year ago

I followed the instrctions but adding the names from ‚lsusb‘ and ‚bluetoothctl devices‘, didn’t work. The script is just working with the default controller like the xbox controller but not with my mouse and keyboard. Is there any way, to find out the correct name? It‘s a mouse and keyboard from logitech with a dongle (one dongle for each)

I added both Logitech names and ‚Mx Keys‘ from ‚bluetoothctl devices‘ image

image

sigmaspread commented 1 year ago

I'm having the same issue with the 8BitDo USB receiver and the 8Bitdo Ultimate C 2.4g Wireless Controller. When adding these to the 'simple_device_list.txt' it doesn't not seem to disable the native steamdeck controls.

I have success with adding bluetooth devices, just not these USB devices. Maybe I'm not getting the correct name from lsusb ?

ArnoldSmith86 commented 8 months ago

I tried to improve the script a bit. Can you try if works with https://pastebin.com/PEvs3ghX as disable_steam_input.sh and this 99-disable-steam-input.rules:

# /etc/udev/rules.d/
KERNEL=="input*", SUBSYSTEM=="input", ACTION=="add", RUN+="/home/deck/.local/share/scawp/SDADSC/disable_steam_input.sh disable %E{NAME} %E{PRODUCT}"
KERNEL=="input*", SUBSYSTEM=="input", ACTION=="remove", RUN+="/home/deck/.local/share/scawp/SDADSC/disable_steam_input.sh enable %E{NAME} %E{PRODUCT}"

It should add newly detected devices to simple_device_list.txt automatically (disabled by a # initially).