AltSnap icon indicating copy to clipboard operation
AltSnap copied to clipboard

Suggestion: Scroll to adjust screen brightness

Open adamp4 opened this issue 2 years ago • 13 comments

Hi Ramon, I'm a user of Altdrag and found your introduction from https://github.com/stefansundin/altdrag/discussions/128, just tried and then love it, very impressive improvements & optimization. The SmartAero fixed gap between windows which occured in Altdrag, and the translation files are seperated in folder which is convenient to customize. Thanks a lot to you and Stefan

Best wishes Adam Wu

adamp4 avatar Mar 02 '22 13:03 adamp4

Good idea for a wheel action, I will see on how to implement this properly

RamonUnch avatar Mar 02 '22 16:03 RamonUnch

translation files are seperated in folder which is convenient to customize.

If you have any improvements to make to some translation feel free to contribute here: #35, or submit a PR.

RamonUnch avatar Mar 02 '22 16:03 RamonUnch

Hi Ramon, Any progress of this suggestion? Sorry that i really don't wanna bother you, all the devlopment decision should be decided by yourself, just thought you might fogot... Best wishes Adam

translation files are seperated in folder which is convenient to customize.

If you have any improvements to make to some translation feel free to contribute here: #35, or submit a PR.

adamp4 avatar Nov 04 '23 01:11 adamp4

Among several tools and monitor HW buttons, this software https://github.com/emoacht/Monitorian works the best for me.

ZhichaoHong avatar Nov 16 '23 18:11 ZhichaoHong

Among several tools and monitor HW buttons, this software https://github.com/emoacht/Monitorian works the best for me.

Thanks for ur suggestion, it works fine, but i already knew similar apps like BrightnessSlider or better to use command/shortcut : nircmd.exe changebrightness 1 3. The reason i suggested is mouse wheel seems more convenient and will make Altsnap better^^

adamp4 avatar Nov 18 '23 23:11 adamp4

I have not worked on this much because I do not have software control to change brightness on my monitor (old monitor), so I cannot directly test the feature. I did write something, you can give it a try.

This is a logging version that will display brightness info in the ad.log file. To use you must manually set Scroll=Brightness in the [Input] section of your ini file, using the test version below.

AltSnap1.62test17_x64.zip It is untested, It might even crash, so be careful and report if it works for you, also post the content of ad.log.

RamonUnch avatar Nov 19 '23 09:11 RamonUnch

Thanks Ramon, it doesn't work. ad.log

adamp4 avatar Nov 19 '23 10:11 adamp4

Try again with this hooks.dll (more info to be printed)

hooks1.62test18_x64.zip

RamonUnch avatar Nov 19 '23 11:11 RamonUnch

Try again with this hooks.dll (more info to be printed)

hooks1.62test18_x64.zip

ad.log

adamp4 avatar Nov 19 '23 11:11 adamp4

Strange, maybe I am using the wrong API, try again with this one. delete your ad.log file before testing so I do not have to scroll down too much. hooks1.62test19_x64.zip

RamonUnch avatar Nov 19 '23 15:11 RamonUnch

Are you using a laptop? According to some sources with laptops we should use WmiMonitorBrightnessMethods interface instead of using the usual MCCS/I2C interface.

RamonUnch avatar Nov 19 '23 16:11 RamonUnch

Yes, i'm using a surface pro 3. ad.log

adamp4 avatar Nov 19 '23 22:11 adamp4

I will investigate using the other API then, from the log it seems clear that the protocol is not handled by your monitor. I will inform you of course.

RamonUnch avatar Nov 19 '23 22:11 RamonUnch