Skip to content

Commit

Permalink
Long standing bug fixes and comment updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
kwhat committed Mar 23, 2018
1 parent e8758a0 commit 1839189
Show file tree
Hide file tree
Showing 61 changed files with 93 additions and 75 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ The following events are available via their respective listeners.

In addition to global event listners, this library has the ability to post native events back to the native operating
system.

## Licensing
JNativeHook is covered under *both* the [GNU General Public](LESSER.md) *and*
[GNU Lesser General Public](COPYING.LESSER.md) Licenses as the latter is an extension of the former granting you
additional distribution rights. As I understand it, you may use this library in proprietary projects so long as it
remains an external library with the same binary interface. You may modify the source code of this library to fulfill
a propritary need, so long as that source code is made public under the aforementioned terms. Please consult with a
licenced attorney if you have licence compatibility questions or concerns.

## Download
Binary distribution for JNativeHook can be found at the
Expand Down Expand Up @@ -79,7 +87,7 @@ application simply execute the jar file provided. Source code available at
* [Global Keyboard Listener](https://github.com/kwhat/jnativehook/wiki/Keyboard)
* [Global Mouse Listener](https://github.com/kwhat/jnativehook/wiki/Mouse)
* [Global Mouse Wheel Listener](https://github.com/kwhat/jnativehook/wiki/MouseWheel)
* [Working with Swing](https://github.com/kwhat/jnativehook/wiki/Swing)
* [Thread Safety for AWT, Swing and JavaFX](https://github.com/kwhat/jnativehook/wiki/ThreadSafety)
* [Logging and Console Output](https://github.com/kwhat/jnativehook/wiki/ConsoleOutput)
* [Advanced Library Loading](https://github.com/kwhat/jnativehook/wiki/LibraryLoading)
* [Consuming Events (Unsupported)](https://github.com/kwhat/jnativehook/wiki/ConsoleOutput)
Expand Down
16 changes: 8 additions & 8 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<property environment="env" />

<!-- Path Settings -->
<property name="dir.src" value="${basedir}/src" />
<property name="dir.doc" value="${basedir}/doc" />
<property name="dir.dist" value="${basedir}/dist" />
<property name="dir.lib" value="${basedir}/lib" />
<property name="dir.jar" value="${basedir}/jar" />
<property name="dir.bin" value="${basedir}/bin" />
<property name="dir.src" value="${basedir}/src" />
<property name="dir.doc" value="${basedir}/doc" />
<property name="dir.dist" value="${basedir}/dist" />
<property name="dir.lib" value="${basedir}/lib" />
<property name="dir.jar" value="${basedir}/jar" />
<property name="dir.bin" value="${basedir}/bin" />

<!-- Class Path Settings -->
<!-- NOTE Gentoo requires `CLASSPATH="$(java-config -p hamcrest-core-1.3,ant-junit,junit-4)" ant test` -->
Expand Down Expand Up @@ -311,7 +311,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

<!-- Create property file for the descovered values -->
<propertyfile file="build.properties" comment="auto-generated by ant configure">
<entry key="ant.build.debug" value="${ant.build.debug}" />
<entry key="ant.build.debug" value="${ant.build.debug}" />

<entry key="ant.build.javac.compiler" value="${ant.build.javac.compiler}" />
<entry key="ant.build.javac.source" value="${ant.build.javac.source}" />
Expand Down Expand Up @@ -520,7 +520,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

<manifest>
<attribute name="Main-Class" value="org.jnativehook.example.NativeHookDemo" />
<section name="org/jnativehook/">
<section name="org/jnativehook">
<attribute name="Specification-Title" value="${ant.project.name} Library" />
<attribute name="Specification-Version" value="${ant.build.major}.${ant.build.minor}" />
<attribute name="Specification-Vendor" value="${ant.project.vendor}" />
Expand Down
4 changes: 2 additions & 2 deletions cross.build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<echo>Downloading JNITasks source...</echo>
<mkdir dir="${basedir}/jnitasks" />

<get src="https://github.com/kwhat/jnitasks/archive/0.2.zip" dest="jnitasks-0.2.zip" verbose="true" />
<get src="https://github.com/kwhat/jnitasks/archive/0.3.zip" dest="jnitasks-0.3.zip" verbose="true" />

<unzip src="jnitasks-0.2.zip" dest="${basedir}/jnitasks">
<unzip src="jnitasks-0.3.zip" dest="${basedir}/jnitasks">
<mapper type="glob" from="jnitasks-0.2/*" to="*"/>
</unzip>

Expand Down
2 changes: 1 addition & 1 deletion src/java/org/jnativehook/AbstractSwingInputAdapter.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
15 changes: 10 additions & 5 deletions src/java/org/jnativehook/DefaultLibraryLocator.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -127,6 +127,11 @@ public Iterator<File> getLibraries() {
if (libFile.exists()) {
// Add the native library to the list.
libraries.add(libFile);

// Set the library version property.
System.setProperty("jnativehook.lib.version", libNativeVersion);

logger.info("Found existing library: " + libFile.getPath() + " (" + libNativeVersion + ").\n");
}
}

Expand Down Expand Up @@ -171,14 +176,14 @@ public Iterator<File> getLibraries() {
}
}

// Set the library version property.
System.setProperty("jnativehook.lib.version", libNativeVersion);

// Add the native library to the list.
libraries.add(libFile);

// Set the library version property.
System.setProperty("jnativehook.lib.version", libNativeVersion);

// Log the file path and checksum.
logger.info("Library extracted successfully: " + libFile.getPath() + " (0x" + sha1Sum + ").\n");
logger.info("Library extracted successfully: " + libFile.getPath() + " (0X" + sha1Sum + ").\n");
}
catch (IOException e) {
throw new IllegalStateException(e.getMessage(), e);
Expand Down
2 changes: 1 addition & 1 deletion src/java/org/jnativehook/GlobalScreen.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/java/org/jnativehook/NativeHookException.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* http://code.google.com/p/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/java/org/jnativehook/NativeInputEvent.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/java/org/jnativehook/NativeLibraryLocator.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/java/org/jnativehook/NativeMonitorInfo.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/java/org/jnativehook/NativeSystem.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
6 changes: 3 additions & 3 deletions src/java/org/jnativehook/example/NativeHookDemo.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -177,7 +177,7 @@ public NativeHookDemo() {
// Add our custom formatter to a console handler.
ConsoleHandler handler = new ConsoleHandler();
handler.setFormatter(new LogFormatter());
handler.setLevel(Level.WARNING);
handler.setLevel(Level.ALL);
logger.addHandler(handler);

/* Note: JNativeHook does *NOT* operate on the event dispatching thread.
Expand Down Expand Up @@ -449,7 +449,7 @@ public void windowClosed(WindowEvent e) {
public static void main(String[] args) {
StringBuffer copyright = new StringBuffer("\n")
.append("JNativeHook: Global keyboard and mouse hooking for Java.\n")
.append("Copyright (C) 2006-2017 Alexander Barker. All Rights Received.\n")
.append("Copyright (C) 2006-2018 Alexander Barker. All Rights Received.\n")
.append("https://github.com/kwhat/jnativehook/\n")
.append("\n")
.append("JNativeHook is free software: you can redistribute it and/or modify\n")
Expand Down
2 changes: 1 addition & 1 deletion src/java/org/jnativehook/keyboard/NativeKeyAdapter.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/java/org/jnativehook/keyboard/NativeKeyEvent.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/java/org/jnativehook/keyboard/NativeKeyListener.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/java/org/jnativehook/keyboard/SwingKeyAdapter.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/java/org/jnativehook/mouse/NativeMouseAdapter.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/java/org/jnativehook/mouse/NativeMouseEvent.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/java/org/jnativehook/mouse/NativeMouseListener.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/java/org/jnativehook/mouse/NativeMouseWheelEvent.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/java/org/jnativehook/mouse/SwingMouseAdapter.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/java/org/jnativehook/mouse/SwingMouseWheelAdapter.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/jni/include/org_jnativehook_NativeInputEvent.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/jni/include/org_jnativehook_keyboard_NativeKeyEvent.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/jni/include/org_jnativehook_mouse_NativeMouseEvent.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
7 changes: 6 additions & 1 deletion src/jni/jni_Converter.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -117,6 +117,7 @@ jint jni_ConvertToJavaLocation(unsigned short int *nativeKeyCode, jint *javaKeyL

case VC_KP_COMMA:
*nativeKeyCode = VC_COMMA;
/* fall-thru */

case VC_NUM_LOCK:
case VC_KP_SEPARATOR:
Expand Down Expand Up @@ -147,11 +148,15 @@ jint jni_ConvertToJavaLocation(unsigned short int *nativeKeyCode, jint *javaKeyL
case VC_KP_2:
case VC_KP_3:
*nativeKeyCode -= ((VC_KP_1 - VC_1) - (VC_KP_4 - VC_4) ); // 0x4D - 0x46
// FIXME Should this fall though?
/* fall-thru */

case VC_KP_4:
case VC_KP_5:
case VC_KP_6:
*nativeKeyCode -= ((VC_KP_4 - VC_4) - (VC_KP_7 - VC_7) ); // 0x46 - 0x3F
// FIXME Should this fall though?
/* fall-thru */

case VC_KP_7:
case VC_KP_8:
Expand Down
2 changes: 1 addition & 1 deletion src/jni/jni_Converter.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/jni/jni_Errors.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/jni/jni_Errors.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/jni/jni_EventDispatcher.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* JNativeHook: Global keyboard and mouse hooking for Java.
* Copyright (C) 2006-2017 Alexander Barker. All Rights Received.
* Copyright (C) 2006-2018 Alexander Barker. All Rights Received.
* https://github.com/kwhat/jnativehook/
*
* JNativeHook is free software: you can redistribute it and/or modify
Expand Down
Loading

0 comments on commit 1839189

Please sign in to comment.