You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been struggling to undesrstand why i wasn't able to use write-events and grab-devices in place of grab.
The reason was I was using hotkey add twice with the same hotkey and netevent didn't processed the second one.
hotkey add DEVICE_NAME EVENT_X "COMMAND_1"
hotkey add DEVICE_NAME EVENT_X "COMMAND_2"
Then i realized that i could do something like:
hotkey add DEVICE_NAME EVENT_X "COMMAND_1 ; [..] ; COMMAND_N"
manpage didn't mention that :)
The text was updated successfully, but these errors were encountered:
Yeah, the examples also show using \;.
That should probably be in the manpage. (It also refers to "examples above", which is not actually true in the manpage, so that needs fixing as well.)
I suppose there could be an extended EXAMPLES section in the manpage, actually.
Also because it's useful for more than just sharing devices sometimes....
My current main use case (since I rarely have multiple devices next to each other currently), is working around flaky usb connections on a game pad, when games can't reconnect to the controller when it disconnects for a short second... the games use the cloned device and I let systemd start & stop the daemon together with the physical device, so if the connection drops, the games don't even notice it :-D
My current main use case (since I rarely have multiple devices next to each other currently), is working around flaky usb connections on a game pad, when games can't reconnect to the controller when it disconnects for a short second... the games use the cloned device and I let systemd start & stop the daemon together with the physical device, so if the connection drops, the games don't even notice it :-D
I've been struggling to undesrstand why i wasn't able to use write-events and grab-devices in place of grab.
The reason was I was using hotkey add twice with the same hotkey and netevent didn't processed the second one.
hotkey add DEVICE_NAME EVENT_X "COMMAND_1"
hotkey add DEVICE_NAME EVENT_X "COMMAND_2"
Then i realized that i could do something like:
hotkey add DEVICE_NAME EVENT_X "COMMAND_1 ; [..] ; COMMAND_N"
manpage didn't mention that :)
The text was updated successfully, but these errors were encountered: