I was looking at this which answers if there is only one of the device names. The id's can change when unplugging the device and plugging it back in, this is why I need to get them by their names. I however have two:
SteelSeries Sensei Raw Gaming Mouse
How would I fix this in a script? I need the first one to have specific settings and the second one to have specific settings.
In other words how do I acquire both id's and in the order they appear? Some sort of for loop that checks the output or something.
xinput | grep "id=12"
to get the first one, andxinput | grep "id=14"
to get the second one, assuming that those id's don't change. – Daniel Sep 18 '15 at 16:45sensei raw
has a button which switches settings for the mouse (hence the two SteelSeries Sensei Raw Gaming Mouse pointers). Nothing to do with WiFi. It's a wired gaming mouse (not wireless). – Karl Morrison Sep 18 '15 at 17:12