View Single Post
07-26-13, 12:49 AM   #3
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,359
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'

Last edited by Dridzt : 07-26-13 at 12:57 AM.
  Reply With Quote