Skip to content

Commit

Permalink
Merge branch 'hookupdate'
Browse files Browse the repository at this point in the history
fix issue #163
  • Loading branch information
RoanH committed May 24, 2021
2 parents 6c0db88 + df685ab commit ee53b35
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
6 changes: 4 additions & 2 deletions KeysPerSecond/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,17 @@ repositories{
url "$nexusPublic"
}
}
jcenter()
maven{
url "https://oss.sonatype.org/content/repositories/snapshots"
}
maven{
url "https://jitpack.io"
}
}

dependencies{
implementation 'com.github.RoanH:Util:v1.6'
implementation 'com.1stleg:jnativehook:2.1.0'
implementation 'com.github.kwhat:jnativehook:2.2-20210323.163306-38'
}

application{
Expand Down
2 changes: 1 addition & 1 deletion KeysPerSecond/src/me/roan/kps/CommandKeys.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import javax.swing.JLabel;
import javax.swing.JPanel;

import org.jnativehook.keyboard.NativeKeyEvent;
import com.github.kwhat.jnativehook.keyboard.NativeKeyEvent;

import me.roan.util.Dialog;

Expand Down
2 changes: 1 addition & 1 deletion KeysPerSecond/src/me/roan/kps/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import java.util.Objects;
import java.util.concurrent.TimeUnit;

import org.jnativehook.keyboard.NativeKeyEvent;
import com.github.kwhat.jnativehook.keyboard.NativeKeyEvent;

import me.roan.kps.CommandKeys.CMD;
import me.roan.kps.Main.KeyInformation;
Expand Down
14 changes: 7 additions & 7 deletions KeysPerSecond/src/me/roan/kps/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@
import javax.swing.SwingConstants;
import javax.swing.SwingUtilities;

import org.jnativehook.GlobalScreen;
import org.jnativehook.NativeHookException;
import org.jnativehook.NativeInputEvent;
import org.jnativehook.keyboard.NativeKeyEvent;
import org.jnativehook.keyboard.NativeKeyListener;
import org.jnativehook.mouse.NativeMouseEvent;
import org.jnativehook.mouse.NativeMouseListener;
import com.github.kwhat.jnativehook.GlobalScreen;
import com.github.kwhat.jnativehook.NativeHookException;
import com.github.kwhat.jnativehook.NativeInputEvent;
import com.github.kwhat.jnativehook.keyboard.NativeKeyEvent;
import com.github.kwhat.jnativehook.keyboard.NativeKeyListener;
import com.github.kwhat.jnativehook.mouse.NativeMouseEvent;
import com.github.kwhat.jnativehook.mouse.NativeMouseListener;

import me.roan.kps.CommandKeys.CMD;
import me.roan.kps.layout.GridPanel;
Expand Down
2 changes: 1 addition & 1 deletion KeysPerSecond/src/me/roan/kps/ui/dialog/KeysDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import javax.swing.JTable;
import javax.swing.table.DefaultTableModel;

import org.jnativehook.keyboard.NativeKeyEvent;
import com.github.kwhat.jnativehook.keyboard.NativeKeyEvent;

import me.roan.kps.CommandKeys;
import me.roan.kps.Main;
Expand Down

0 comments on commit ee53b35

Please sign in to comment.