summaryrefslogtreecommitdiff
path: root/src/device/Driver.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/Driver.java')
-rw-r--r--src/device/Driver.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/device/Driver.java b/src/device/Driver.java
new file mode 100644
index 0000000..25257a7
--- /dev/null
+++ b/src/device/Driver.java
@@ -0,0 +1,22 @@
+package org.manzerbredes.open_klm.device;
+
+
+/**
+ *
+ * Driver to communicate with the keyboard device
+ * using HIDAPI.
+ *
+ * @author Manzerbredes
+ *
+ */
+public class Driver{
+
+ /**
+ * Init driver and HIDAPI library
+ */
+ public Driver(){
+ // Init HIDAPI Library
+ com.codeminders.hidapi.ClassPathLibraryLoader.loadNativeHIDLibrary();
+ }
+
+} \ No newline at end of file