AutoRaise icon indicating copy to clipboard operation
AutoRaise copied to clipboard

More granular choices in delay for focus and raise

Open Zatfer17 opened this issue 3 years ago • 3 comments

Hi, would it be possible to add to the GUI more low ms choices to the delay for focus and raise? Something like 0.1, 0.2, 0.4 ms would be perfect. I find myself ok with 0.5ms but sometimes I would prefer to have something in between. Btw awesome job!

Zatfer17 avatar Aug 12 '22 07:08 Zatfer17

@Zatfer17 It is possible, but comes with a price as AutoRaise checks for mouse activity every 50ms. If we reduce this number, CPU usage goes up. Precious CPU cycles that you probably want to spend on other things ;-) That being said, I think a toggle with some explanation might do the trick, something like:

Poll every: [20 or 50] microseconds
Note: 20 microseconds increases responsiveness, but also increases CPU usage.

Then if the toggle is set to 20ms, all delays could be in 20ms units instead of 50ms units. It might take a while to implement however (not because it is difficult, but because I am very busy at the moment due to a house renovation).

sbmpost avatar Aug 12 '22 15:08 sbmpost

@Zatfer17 It took some time but the option to set the poll interval (thereby increasing granularity) is now part of this branch:

https://github.com/sbmpost/AutoRaise/tree/add-poll-millis-and-ignore-space-changed-options

The UI part of this is still being worked on. Getting this right is not entirely trivial and will take a while. So bear with me ;-)

sbmpost avatar Sep 03 '22 21:09 sbmpost

@Zatfer17 I am about to merge PR#106. It contains an updated UI which allows you to set the polling interval. This in turn should increase granularity.

The new binary can be downloaded via this link: https://github.com/sbmpost/AutoRaise/blob/update-binary-to-3.6.0/AutoRaise.dmg

sbmpost avatar Sep 21 '22 16:09 sbmpost

@Zatfer17 Version 3.7 with updated settings has been released. The ui dmg image was updated accordingly

sbmpost avatar Mar 16 '23 19:03 sbmpost