public interface IKeyHook
Modifier and Type | Method and Description |
---|---|
void |
dispose()
You have to call this function when you dispose the instance.
|
void |
hookAll(boolean flag) |
void |
registerHookedKey(int vkey,
int modifier)
Register the vkey on the native key hook utility.
|
void registerHookedKey(int vkey, int modifier)
vkey
- the virtual key code to be hooked.modifier
- the modifier code to be used when the key is hooked.void hookAll(boolean flag)
flag
- if it is true then all of keys are hooked, and it is false
then any keys are not hooked.void dispose()