Control led brightness using ir remote volume buttons

how can I do this