Skip to content
Snippets Groups Projects
Commit 2fee34d4 authored by NikolaBabic's avatar NikolaBabic
Browse files

Fixed the release argument

parent 81ebd99c
No related branches found
No related tags found
2 merge requests!65Prototype,!51Feature mouse speed
......@@ -17,11 +17,17 @@ public class RunHotkeys implements Runnable {
while (!stop) {
for (Binding binding : list) {
if (OSInterface.getInstance().wasPressed(binding.getID())) {
OSInterface.getInstance().sendKey(binding.getActionCode(), true);
OSInterface.getInstance().sendKey(binding.getActionCode(), false);
}
}
try {
Thread.sleep(10);
} catch (Exception e) {
System.out.println("Problem sleeping.");
}
}
}
public void stop() {
stop = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment