The current OpenOffice.org API lacks of Ctrl (Mac OS X) and Windows (other platforms) key support. I enhanced the API to support MOD3 modifier (Ctrl on Mac OS X, Windows a.k.a. Meta on other platforms).
Ctrl key on Mac OS X is introduced as KeyModifier.MOD3 and Windows (Meta) key is introduced as
KeyModifier.MOD3 (all platforms except Mac OS X).
published constants KeyModifier
const short SHIFT = 1;
const short MOD1 = 2;
const short MOD2 = 4;
const short MOD3 = 8;
Added support for MOD3. Constructor and other methods were modified.
Added support to use new modifier along with mouse buttons.