Question:
Is considered Makeh BePatish to snap the brim of a hat up and down for shmoneh esrei on Shabbos?
Answer:
It is not Makeh BePatish to snap the brim of a hat up and down because it is the normal mode pf use. This is similar to a folding chair that is meant to open and close, and it isn't considered fixing or fashioning the chair on Shabbos.
Have a good Shabbos
Sources: