For the volume you can change the line that reads volume<<3 to volume*7.
notify_notification_set_hint_int32(not, "value", volume<<3);
I normally use shifts wherever possible, but obviously LSL by 3 multiplies by 8, and given a maximum raw volume of 14, that goes a bit above the maximum. Nonetheless multiplying by 7 stays a bit under the minimum. If you happen to have a maximum of 15, choose whatever value you think is suited :P
Same thing for the brightness; find the following line:
show_notify_brightness(brightness*14);
And change it to whatever you want, but remember that we are dealing with integers and not float/double. This applies to both.
For the volume you can change the line that reads volume<<3 to volume*7. notification_ set_hint_ int32(not, "value", volume<<3);
notify_
I normally use shifts wherever possible, but obviously LSL by 3 multiplies by 8, and given a maximum raw volume of 14, that goes a bit above the maximum. Nonetheless multiplying by 7 stays a bit under the minimum. If you happen to have a maximum of 15, choose whatever value you think is suited :P
Same thing for the brightness; find the following line: brightness( brightness* 14);
show_notify_
And change it to whatever you want, but remember that we are dealing with integers and not float/double. This applies to both.