Very difficult to take off on 172

I dont use a gamepad so I’m not going to say what’s best for you. Mine are on my joystick however if I had to use a keyboard I would set elevator/vertical trim buttons vertically (as you look at them) and rudder/horizontal trims across. But that’s just me, you may prefer your own way.