2 Button to 1 PWM output

Hello
Post a real schematic of your project.