aboutsummaryrefslogtreecommitdiffstats
path: root/test.c
diff options
context:
space:
mode:
authorTeddy Wing2018-10-14 15:59:42 +0200
committerTeddy Wing2018-10-14 15:59:42 +0200
commite7778b010ef5d4221665cc6ad8955efb1ccf9e21 (patch)
tree5380040d61f725c70c53ba084eb5c5ce2c7ab890 /test.c
parent289639a636881d79b76d260b775b7a6cf0b51f7b (diff)
downloaddome_key_event_source_simulator-e7778b010ef5d4221665cc6ad8955efb1ccf9e21.tar.bz2
Add a C test file to test linking and the lib function
Once I got linking working, this confirms that the key simulator function actually works. Beef up the Makefile to enable us to properly link the Objective-C library.
Diffstat (limited to 'test.c')
-rw-r--r--test.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test.c b/test.c
new file mode 100644
index 0000000..17e1451
--- /dev/null
+++ b/test.c
@@ -0,0 +1,7 @@
+#include "dome_key_event_source_simulator/dome_key_event_source_simulator.h"
+
+int main() {
+ dkess_press_key(0, 0);
+
+ return 0;
+}