logiops icon indicating copy to clipboard operation
logiops copied to clipboard

Feature request: Allow multiple actions at the same time

Open chermnyx opened this issue 2 years ago • 2 comments

There are actions "ToggleSmartShift" and "ToggleHiresScroll". I want to be able to trigger both of them on a button click to switch between the following options:

  • smooth hires scrolling without ticks (SmartShift off & HiresScroll on)
  • precise scrolling with physical ticks (SmartShift on & HiresScroll off)

chermnyx avatar May 18 '23 12:05 chermnyx

config suggestion with multiple actions

devices = ({

	name = "Wireless Mouse MX Master 3"

	dpi = 1600

	buttons = (
		{
			### Toggle SmartShift
			cid = 0xC4
			actions = {
				{
					action = {
						type = "ToggleHiresScroll"
					}
				},
				{
					action = {
						type = "ToggleSmartShift"
					}
				},
			}
		},
	)

})

roshal avatar Jul 21 '23 14:07 roshal

repeated actions would be nice as well. example:

devices = ({

	name = "Wireless Mouse MX Master 3"
	dpi = 1600
	buttons = (
                       {
			cid = 0xC4
			actions = {
				{       
				        mode: "OnHold";
					action = {
						       type: "Keypress";
                                                       keys: ["KEY_DOWN"];
                                                       repeat_each: 10 #every 10ms reapply action again
					}
				},
				},
			}
		},
	)
})

I really miss button I had on previous mouse which was repeatedly spamming any button press previously configured each 100ms until I pressed another button, I want to imitate a fraction of its power.

orlra avatar Oct 18 '23 15:10 orlra