tulskiy / jkeymaster

A library for registering global hotkeys in java with JNA. The goal is to support X11-based platforms, Windows and MacOSX
GNU Lesser General Public License v3.0
234 stars 45 forks source link

Listen PREENTSCREEN key doesn't work #9

Closed arturgspb closed 12 years ago

arturgspb commented 12 years ago

Platform: win 7 x64

My code:

            Provider provider = WindowsProvider.getCurrentProvider(false);
            provider.register(KeyStroke.getKeyStroke("shift PRINTSCREEN"), new HotKeyListener() {
                @Override
                public void onHotKey(HotKey hotKey) {

                    System.out.println("asdasdssdf");
                }
            });
tulskiy commented 12 years ago

fixed in master