Comment 83 for bug 357673

Revision history for this message
bwalex (ahornung) wrote : Re: No notification when sliding audio volume, muting volume, sliding LCD brightness on X31, X32, T60, R50e, T42, R52

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.