If by button presses you mean keyboard key presses, the answer is yes and no.
There is api to detect specific key presses (mainly the CTRL/ALT/SHIFT modifiers) as well you can detect keybound key combinations.
A generic key capturing solution is not trivial because making a frame that traps keyboard events generally means you lose control of the keyboard.
In any case this is a good starting point to explore possibilities:
Frame:EnableKeyboard() Be sure to read the 'small print'