for context, when NUMPAD is off the number 9 becomes pageUp and number 3 becomes pagedown. and I need to differentiate the pagedow from the numpad to the one from the common keyboard.
when i try to do this below it seems like there is no difference as if all pageups come from numpad
GlobalScreen.postNativeEvent(new NativeKeyEvent(2401,0,33,3657,org.jnativehook.keyboard.NativeKeyEvent.CHAR_UNDEFINED, 4));
GlobalScreen.postNativeEvent(new NativeKeyEvent(2401,0,33,3657,org.jnativehook.keyboard.NativeKeyEvent.CHAR_UNDEFINED, 1));
i dont know if KeyLocation is work well
for context, when NUMPAD is off the number 9 becomes pageUp and number 3 becomes pagedown. and I need to differentiate the pagedow from the numpad to the one from the common keyboard.
when i try to do this below it seems like there is no difference as if all pageups come from numpad
GlobalScreen.postNativeEvent(new NativeKeyEvent(2401,0,33,3657,org.jnativehook.keyboard.NativeKeyEvent.CHAR_UNDEFINED, 4)); GlobalScreen.postNativeEvent(new NativeKeyEvent(2401,0,33,3657,org.jnativehook.keyboard.NativeKeyEvent.CHAR_UNDEFINED, 1)); i dont know if KeyLocation is work well