File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# SimpleNativeHooks
2- Java library for input devices ( keyboard & mouse) hooks .
2+ Java library (with simple native components) for global keyboard and mouse listeners .
33
4- # Examples:
5- See usage examples [ here] ( src/org/simplenativehooks/Example.java ) .
4+ # Features:
5+ * Hook for key presses and releases.
6+ * Distinguish between left and right keys (e.g. left control, right shift, left alt, ...).
7+ * Hook for mouse button clicks and releases.
8+ * Hook for mouse movements.
9+ * Support for multiple monitors.
10+
11+
12+ # Requirements
13+ * Java 1.7+
14+ * Apple OSX:
15+ * i586, amd64
16+ * Enable Access for Assistive Devices
17+ * Windows:
18+ * i586, amd64
19+ * .NET framework v4.0+
20+ * Linux:
21+ * i586
22+ * X11 window manager.
23+
24+ # Demo application:
25+ See example [ here] ( src/org/simplenativehooks/Example.java ) .
26+
27+ # Maven dependency:
28+ Include maven dependency by adding the following in your pom file:
29+
30+ ```
31+ <dependencies>
32+ <dependency>
33+ ... (existing dependencies)
34+ </dependency>
35+
36+ <dependency>
37+ <groupId>org.repeats.simplenativehooks</groupId>
38+ <artifactId>simplenativehooks</artifactId>
39+ <version>0.0.1</version>
40+ </dependency>
41+ </dependencies>
42+
43+ <repositories>
44+ <repository>
45+ <id>SimpleNativeHooks-maven-export</id>
46+ <url>https://raw.github.com/repeats/SimpleNativeHooks/maven-export/</url>
47+ <snapshots>
48+ <enabled>true</enabled>
49+ <updatePolicy>always</updatePolicy>
50+ </snapshots>
51+ </repository>
52+ </repositories>
53+ ```
You can’t perform that action at this time.
0 commit comments