In the mouseWatcherRegion class, there is the function setKeyboard, which I do not quite understand. The documentation says:

Description: Sets whether the region is interested in global keyboard events. If this is true, then any keyboard button events will be passed to press() and release() regardless of the position of the mouse onscreen; otherwise, these events will only be passed if the mouse is over the region.

However, I cannot get the events from either a regular base.accept(‘key’) or what I have been using: base.accept(‘regionname-key’) (and yes i set the mousewatcher down and up pattern accordingly…)

What is the press() and release() functions, and how do I get at the events being sent to this region?